Nagios - check_procs Plugin
Sabir Alvi
SAlvi at gomoxie.com
Thu Sep 29 09:06:58 CEST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20160929/69007e2b/attachment.html>
More information about the Help
mailing list