Package: nagios-text Version: 2:1.3-cvs.20050402-2.sarge.1
Looking at /usr/share/doc/nagios-common/NEWS.Debian.gz: nagios (2:1.2-3.6) unstable; urgency=medium Some of the files was changed from /var/log/nagios to /var/cache/nagios directory. The following settings have to be updated in /etc/nagios/nagios.cfg file: temp_file=/var/cache/nagios/nagios.tmp status_file=/var/cache/nagios/status.log command_file=/var/cache/nagios/rw/nagios.cmd state_retention_file=/var/cache/nagios/status.sav -- Piotr Roszatycki <[EMAIL PROTECTED]> Mon, 27 Sep 2004 14:09:38 +0200However, looking at /etc/init.d/nagios, I find this (notice /var/log instead of /var/cache):
elif [ -f /usr/lib/nagios/plugins/check_nagios ]; then
if ! /usr/lib/nagios/plugins/check_nagios -e 15 -F
/var/log/nagios/status.log -C '/usr/sbin/nagios' > /dev/null; then
return 1 # isn't started
Perhaps the init script should attempt to do the following:
CHECK_NAGIOS=`grep '^nagios_check_command=' /etc/nagios/cgi.cfg | cut -b22-`
if ! ${CHECK_NAGIOS} ........
or alternatively:
STATUS_LOG=`grep '^nagios_check_command=' /etc/nagios/cgi.cfg | cut -d'
' -f2`
if ! /usr/lib/nagios/plugins/check_nagios -e 15 -F ${STATUS_LOG} -C
'/usr/sbin/nagios' > /dev/null; then
smime.p7s
Description: S/MIME Cryptographic Signature

