nagios + chkservd

Akhthar akhthar at
Sat Jul 23 11:55:31 GMT 2005


I have configured nagios to check cron and chkservd service, but nagios is 
giving warning message eventhough the process is running. It's showing ok for
crond. Please look into the following.

ps -awux|grep chkservd
root     60435  0.0  0.1  3372 2920  p0  I     7:43AM   0:00.02 chkservd 

/usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd
PROCS CRITICAL: 0 processes with command name 'chkservd'

As you can see below, there is no problem with cron.
ps -awux|grep cron
root       172  0.0  0.0  1040  700  ??  Ss   Fri01AM   0:02.79 /usr/sbin/cron

/usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C cron
PROCS OK: 1 process with command name 'cron'

Any idea why it's saying 0 processes with command 'chkservd'???
UNIX is basically a simple operating system, but you have to be a genius to 
understand the simplicity

More information about the freebsd-questions mailing list