Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2005 17:26:02 +0530
From:      Akhthar <akhthar@carmatec.com>
To:        freebsd-questions@freebsd.org
Subject:   nagios + chkservd
Message-ID:  <200507231726.02952.akhthar@carmatec.com>

next in thread | raw e-mail | index | archive | help
Hi,

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 
(perl)

/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'???
-- 
Regards,
Akhthar
--
UNIX is basically a simple operating system, but you have to be a genius to 
understand the simplicity



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507231726.02952.akhthar>