[Pkg-nagios-devel] Bug#339366: After update, Nagios runs, but no status

Daniel Pocock daniel at readytechnology.co.uk
Tue Nov 15 21:03:02 UTC 2005


Package: nagios-text
Version: 2:1.3-cvs.20050402-2.sarge.1



I updated my host with apt-cache update ; apt-get dist-upgrade

I reviewed the NEWS file and manually corrected the paths in 
/etc/nagios/nagios.cfg:

command_file=/var/run/nagios/nagios.cmd
status_file=/var/cache/nagios/status.log
temp_file=/var/cache/nagios/nagios.tmp
state_retention_file=/var/cache/nagios/status.sav
log_file=/var/log/nagios/nagios.log
comment_file=/var/log/nagios/comment.log
downtime_file=/var/log/nagios/downtime.log
lock_file=/var/log/nagios/nagios.lock
log_archive_path=/var/log/nagios/archives

My Nagios process starts (no warnings in config files):

/etc/nagios# ps ax | grep nagios
 6771 ?        SNs    0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg

However, I get this in the host and service detail page:

"There doesn't appear to be any host status information in the status log...

Make sure that Nagios is running and that you have specified the 
location of you status log correctly in the configuration files."

I looked and found that /var/cache/nagios/status.log exists but is empty.

I then click `Process Info' in the web interface, and I get this info:

agios problem: located 3 processes, status log updated 1132088447 
seconds ago

However, that time interval seems very wrong after I check the file time 
by hand:

/etc/nagios# date
Tue Nov 15 21:01:44 GMT 2005
/etc/nagios# ls -l /var/cache/nagios/status.log
-rw-rw-r--  1 nagios nagios 0 Nov 15 21:01 /var/cache/nagios/status.log

I can see that Nagios is performing the checks, but I can't see the 
status.  Does anybody know what is wrong?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3214 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20051115/875cf5cb/smime.bin


More information about the Pkg-nagios-devel mailing list