Splunk AppDynamics

Process Monitoring Extension

Mohammad_Shahid
Explorer

Hi Team,

I want to Monitor my Chrome Process count and Memory utilized by individuals chrome process.

Below is the Process Monitoring extension configured. @Nina.Wolinsky @Aditya.Jagtiani @Bhuvnesh.Kumar @Claudia.Landivar 


metricPrefix: "Server|Component:Test1|Custom Metrics|Process Monitor|"
# metricPrefix: "Custom Metrics|Process Monitor|"

# displayName: required - Metrics to be reported under this name in Controller's Metric Browser
# regex/pid/pidFile - process is fetched using this field
instances:
- displayName: "machine agent"
regex: ".*java.exe -jar machineagent.jar"

- displayName: "Chrome Monitoring"
regex: ".* chrome.exe"


# Not necessary to modify

linux:
process: "ps -eo pid,%cpu=CPU%,%mem=Memory%,rsz=RSS,args"

solaris:
process: "ps -eo pid,pcpu=CPU%, -o pmem=Memory%, -o rss=RSS -o args"

aix:
process: "ps -eo pid,pcpu=CPU%,pmem=Memory%,rss=RSS,args"


metrics:
- CPU%:
multiplier: 1
- Memory%:
alias: "Memory%"
- RSS:
alias: "Resident Set Size"
- Running Instances:
alias: "Running Instances"


# number of concurrent tasks
numberOfThreads: 2

# This is to run this in scheduled mode. In this case, the extension will fetch the data every 300 seconds
# and caches the data. The cached data will be reported to controller every min. This way there is no metric drop.
# Can be used when the data rarely changes or to reduce the load while fetching metrics every minute.
#taskSchedule:
# numberOfThreads: 1
# taskDelaySeconds: 300

Labels (1)
0 Karma
1 Solution

Mohammad_Shahid
Explorer

Created a custom extension for Chrome Monitoring. Process Monitoring extension didn't work as per expectation.

Thanks,

Shahid

View solution in original post

Aditya_Jagtiani
Engager

Hi Mohammad, 

Please file a support ticket with your questions regarding the Process Monitoring Extension. 

Thanks,

Aditya 

Mohammad_Shahid
Explorer

220151 Support ticket already there. @Aditya.Jagtiani 

iamryan
Community Manager
Community Manager

Hi @Mohammad Shahid.Raza,

It would be great if you were able to share any learnings from your exchange with support back on your post. This helps keep knowledge sharing alive in the community. 

0 Karma

Mohammad_Shahid
Explorer

Created a custom extension for Chrome Monitoring. Process Monitoring extension didn't work as per expectation.

Thanks,

Shahid

Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...