Log-rotation and availability-report
Re: Log-rotation and availability-report
That behavior doesn't sound quite right. There should be more than 24 states per day. If you're the code-savvy type of guy, you can find the Nagios Core 3.5.1 source code here: https://github.com/NagiosEnterprises/na ... ee/nagios3. I've also linked this thread to our core developer to take a look at and see if he can weigh in.
Former Nagios Employee.
me.
me.
-
jfrickson
Re: Log-rotation and availability-report
The state may be saved hourly (or daily or whatever interval you specify) but since the report reads the log files, how many state files you have doesn't matter. Each check and each status change is recorded in the current nagios.log, and in the archives.
Since log rotation wasn't working because of the directory permissions, there probably aren't any archives, so nothing to search back for status.
Since log rotation wasn't working because of the directory permissions, there probably aren't any archives, so nothing to search back for status.