FreeBSD+nagios+check_procs

Hello,

I have configured nagios to check chkservd service using the plugin check_procs. But it's giving the incorrect information in one of my FreeBSD servers.

root@server1 [~]# ps -awux|grep chkservd
root 76784 0.0 0.0 3364 1740 p1- I 7:03AM 0:01.02 chkservd (perl)
root@server1 [~]# /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd
PROCS CRITICAL: 0 processes with command name 'chkservd'

But it's working perfectly fine in my another server.

root@server2 [~]# ps -awux|grep chkservd
root 82878 0.0 0.1 3468 2984 ?? I 12:55AM 0:01.72 chkservd (perl)
root@server2 [~]# /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd
PROCS OK: 1 process with command name 'chkservd'

Any help is much appreciated.

 

 

 

 

Top