cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

How to use Process Monitoring Extension to monitor any agents running on the server

How to use Process Monitoring Extension to monitor any agents running on the server

Hi,

I need to monitor the processes and agents running on linux server, for that i have installed process monitor extensions and now i want to monitor any agent running on server and get its details in controller metrics browser. How would i achieve it? Below are the contents from config.yml

#metricPrefix: "Server|Component:<Component-ID>|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: ".* machineagent.jar"

- displayName: "ssh"
pid: "1056"

# - displayName: "mysql"
pidFile: "/opt/mysql/db/mysql.pid"


# Not necessary to modify
linux:
process: "ps -eo pid,%cpu=CPU%,%mem=Memory%,rss=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"

 

Can i append linux command under below line like ps -ef | grep netbackup

# Not necessary to modify
linux:
process: "ps -eo pid,%cpu=CPU%,%mem=Memory%,rss=RSS,args"

 

 

 

Tags (3)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
How to use Process Monitoring Extension to monitor any agents running on the server
0 REPLIES 0