Missing notifications for one day

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Missing notifications for one day

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Missing notifications for one day

Post 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.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Missing notifications for one day

Post 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!
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Missing notifications for one day

Post 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! :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked