Here's some progress regarding this issue.<br>With LastMonth selected time period avail.cgi is reading archives in /var/log/nagios2/archives/ directory but they doesn't exist.<br>I have the following configuration inside
nagios.cfg<br> log_rotation_method=d<br> log_archive_path=/var/log/nagios2/archives<br clear="all">The problem was that archives directory was owned by root.root, so I guess nagios wasn't able to create archives.
<br>I've changed the owner of archives directory to nagios.nagios, but there's one problem left:<br>nagios.log holds data of more than one month and when log rotation starts to work it will just move it in archives under today's date :-(
<br>Is there some script which will split my nagios.log in archives correctly?<br><br>After that I'll try avail.cgi, maybe that was the problem, at least on this configuration ...<br><br>-- <br>best wishes,<br>Franjo Stipanovic