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?
Missing notifications for one day
Re: Missing notifications for one day
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.
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
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
Simple and perfect solution, thanks!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!