Page 1 of 1

Missing notifications for one day

Posted: Wed Mar 23, 2011 2:10 pm
by niebais
Centos: 5.5
Nagios XI 2009R1.4B

We had a massive day of problems happen and I had to turn off Nagios for a short time while the business implemented a ton of changes. Now we had a strange issue happen - the notification logs don't show for that day:

Tue Mar 22 00:00:00 MDT 2011
to
Wed Mar 23 00:00:00 MDT 2011 Current Log
Current Log

File: /usr/local/nagios/var/archives/nagios-03-23-2011-00.log

Notification detail level for all contacts:
Older Entries First:


Host Service Type Time Contact Notification Command Information

No notifications have been recorded in this archived log file


Any ideas how I can get nagios to pull this data up?

Re: Missing notifications for one day

Posted: Wed Mar 23, 2011 3:53 pm
by mguthrie
I'm not sure Nagios would write to the log if the service was turned off, unless you're meaning that you just disabled notifications.

There's a logrotate daemon that rotates the log files. Check the /usr/local/nagios/var/archives file to see if it has what you need.

Re: Missing notifications for one day

Posted: Thu Mar 24, 2011 12:06 pm
by niebais
Next time we have a massive network change like we did I'll just change enable_notifications in the nagios.cfg file to 0 and then restart it. Thanks!

Re: Missing notifications for one day

Posted: Thu Mar 24, 2011 12:50 pm
by rdedon
niebais wrote:Next time we have a massive network change like we did I'll just change enable_notifications in the nagios.cfg file to 0 and then restart it. Thanks!
Simple and perfect solution, thanks! :-)