Re: $(data \format\)-01.log files
Posted: Tue Nov 04, 2014 10:42 am
I found the reason that nagi tries to find 01 indexed file. That is a bug.
This index indicates hour when logrotation was made.
Some proof:
And 26.10.2014
I live in Moscow and we had to change timezone (was GMT+4 now GMT+3). And that was made exactly 26.10.2014. And from this date till the beginning nagios thinks that log rotation was made at 01:00 AM that's why I have this index on all log files from 26 date.
Is there a solution?
This index indicates hour when logrotation was made.
Some proof:
Code: Select all
Log File Navigation
Sun Oct 26 01:00:00 MSK 2014
to
Mon Oct 27 [color=#FF0000]00[/color]:00:00 MSK 2014
File: /var/log/nagios3/archives/nagios-10-27-2014-[color=#FF0000]00[/color].log
No history information was found for this host in this archived log fileCode: Select all
Log File Navigation
Sat Oct 25 01:00:00 MSK 2014
to
Sun Oct 26 [color=#FF0000]01[/color]:00:00 MSK 2014
File: /var/log/nagios3/archives/nagios-10-26-2014-[color=#FF0000]01[/color].log
Error: Cannot open log file '/var/log/nagios3/archives/nagios-10-26-2014-01.log' for reading!Is there a solution?