I’ve tried checking CPU load using the below command:
check_procs -m CPU -w 90 -c 95
(is the above command correct)
In order to differentiate it from the default check_procs command,I’ve defined this as a new command name check_procs_cpu and used the command I’ve listed above inside it. (is this the correct of doing it)
I’ve defined the same above command in the host nrpe.cfg
However, I get the error:
check_procs: Warning Process Count must be an integer!
What’s the correct way of passing the arguments here?
/usr/local/nagios/libexec/check_procs --help
Checks all processes and generates WARNING or CRITICAL states if the specified
metric is outside the required threshold ranges. The metric defaults to number
of processes. Search filters can be applied to limit the processes to check.
**
/usr/local/nagios/libexec/check_load --help
This plugin tests the current system load average.
**