I just needed to rub my eyes in disbelief. I have nagios3 running ob Debian for 7 years without any problems!
Today, SUDDENLY without doing anything, nagios shows only 2 hosts and its services.
The others are visible when I select "View Host Status Detail For All Host Groups" and then every item has "No matching services".
I did one minor change in the configuration today (changed a timeout) but to make sure, I grabbed the completed /etc/nagios3 from last weeks backup and restored it completely. Still!
It is SO UNBELIEVABLE!!
Above all, I can't find any difference between the two hosts that work and the rest which used to work.
The log does not state anything useful:
Code: Select all
[1392802961] Nagios 3.4.1 starting... (PID=24677)
[1392802961] Local time is Wed Feb 19 10:42:41 CET 2014
[1392802961] LOG VERSION: 2.0
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/server.cfg', line 8)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/intern.cfg', line 10)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/web.cfg', line 17)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/ns.cfg', line 17)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/mail.cfg', line 17)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/mail.cfg', line 30)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/core.cfg', line 10)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/gate.cfg', line 17)
[1392802961] Warning: Ignoring lame service dependency (config file '/etc/nagios3/conf.d/private/gate.cfg', line 30)
[1392802961] Warning: Host 'ap' has no services associated with it!
[1392802961] Warning: Host 'attx' has no services associated with it!
[1392802961] Warning: Host 'pwsw01' has no services associated with it!
[1392802961] Warning: Host 'pwsw02' has no services associated with it!
[1392802961] Warning: Host 'modem' has no services associated with it!
[1392802961] Warning: Host 'office-switch' has no services associated with it!
[1392802961] Warning: Host 'pi' has no services associated with it!
[1392802961] Finished daemonizing... (New PID=24678)
[1392802961] SERVICE FLAPPING ALERT: wireless;Softwareupdates;STARTED; Service appears to have started flapping (25.6% change >= 20.0% threshold)
[1392802961] SERVICE FLAPPING ALERT: intern;Softwareupdates;STARTED; Service appears to have started flapping (24.8% change >= 20.0% threshold)
[1392802961] SERVICE FLAPPING ALERT: server;Softwareupdates;STARTED; Service appears to have started flapping (20.7% change >= 20.0% threshold)
Any ideas?
Thanks
EDIT: I tried removing /var/cache/nagios3, /var/lib/nagios3 -> no change! Also the hint from the FAQ that multiple instances are running is wrong. Only one instance is (and was) running at a time.