Hi Eric, Thanks for the reply. This metric originates from a single machine agent and its one particular process I am trying to get out of the metrics browser in the server view into a dashboard panel for "instances running". This shows a value of 1 (as it should) when its viewed via the Metrics Browser. Here is the path but with the servername hidden.. Application Infrastructure Performance|Root|Individual Nodes|myhiddehservername.domain.tld|Hardware Resources|HA Components|Keepalived|Linux Processes|keepalived|Running Instances Of course then the ProcessMonitor extenstion shows with the server metrics as "HA Components" I want this on a few servers just to monitor HA process instances ( to be sure they are there) My ProcessMonitor config.yml for for reference #metricPrefix: "Server|Component:Keepalived|Custom Metrics|Process Monitor|"
metricPrefix: "Hardware Resources|HA Components|Keepalived"
# 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: "keepalived"
pidFile: "/var/run/keepalived.pid"
# Not necessary to modify
linux:
process: "ps -eo pid,%cpu=CPU%,%mem=Memory%,etime,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"
- etime:
alias: "etime"
# 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
... View more