Hi,

I came across the link  - The check_procs Plugin 
(https://www.monitoring-plugins.org/doc/man/check_procs.html) as I was looking 
to monitor specific process count. Which works just fine.
However Nagios reports as Critical if no process is found which is not right in 
our scenario.

OK - If processes are 0-3
Warning - 4
Critical - 5

$USER1$/check_nrpe -H $HOSTADDRESS$ -c checkProcState -a ShowAll MaxWarnCount=4 
MaxCritCount=5 "javaws.exe"

Above is the command that works fine with processes running, however need help 
in adjusting OK for 0 processes.

Thank You,
Sabir Alvi
Moxie Cloud Services

Reply via email to