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"
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"