[Nagiosplug-help] check_procs

Martinus Nel martinus.nel at scarceskills.com
Thu Oct 7 02:46:23 CEST 2004


Dear all,

I am having a minor issue with check_procs:


[root at mars nagios]# ps -efl | grep ntp
5 S ntp       1076     1  0  75   0    -   598 schedu 10:14 ?        00:00:00
[ntpd]

[root at mars nagios]# /usr/lib/nagios/plugins/check_procs -c 1:1 -s RSZDT -a ntp
CRITICAL - 0 processes running with STATE = RSZDT, args ntp

[root at mars nagios]# /usr/lib/nagios/plugins/check_procs -c 1:1 -a ntp
OK - 1 processes running with args ntp


Why is it that when I leave out RSZDT check_procs finds ntp, but when I use
RSZDT (just for testing, I want it to be RS) check_procs does not find ntp ?

Martinus.





More information about the Help mailing list