Is it possible to using NCPA agent to monitor a window servers process's memory and cpu usage and also specify the warning and critical thresholds of its cpu and memory usage by given process name?
I used the API endpoint processes, but it only give me the process count and the thresholds apply to the process count, not the process's cpu or memory usage threshold.
Any help is greatly appreciated!
Thanks
Joseph
NCPA agent monitor a window process's memory and cpu usage
Re: NCPA agent monitor a window process's memory and cpu usa
You can add filters to the check so that it only includes processes that exceed certain memory or cpu usage. For example, I'm applying filters to return the number of processes that match test.exe and have a memory usage of 80% or more:
Code: Select all
./check_ncpa.py -H IP -t '<your token>' -M 'processes' -q 'mem_percent=80,exe=test.exe'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.