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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...