avail.cgi bug report

Franjo Stipanovic fritzfs at gmail.com
Tue Sep 4 16:26:02 CEST 2007


Here's some progress regarding this issue.
With LastMonth selected time period avail.cgi is reading archives in
/var/log/nagios2/archives/ directory but they doesn't exist.
I have the following configuration inside nagios.cfg
    log_rotation_method=d
    log_archive_path=/var/log/nagios2/archives
The problem was that archives directory was owned by root.root, so I guess
nagios wasn't able to create archives.
I've changed the owner of archives directory to nagios.nagios, but there's
one problem left:
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 :-(
Is there some script which will split my nagios.log in archives correctly?

After that I'll try avail.cgi, maybe that was the problem, at least on this
configuration ...

-- 
best wishes,
Franjo Stipanovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070904/4264f481/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list