Logfile reset after 24 hours


I’ve upgraded to the latest Nagios 3.2.0_1 but just found out after 24 hours the logging history gets reset. When i check the files in /var/spool/nagios/archives/ you just see the normal current state information. But all notifications and alerts from the day before are gone. Anyone here with the same problem and hopefully a solution?


Perhaps logrotate is active, and processing the logs on a daily basis?


Nope, there is no server log rotation active. Nagios still writes the logfiles to /var/spool/nagios/archives but removes all the notifications. I’ve changed the Nagios log rotation to ‘none’ maybe this helps.