<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Subhendu Ghosh <sghosh@sghosh.org></b></font>
<p><font size=1 face="sans-serif">24.03.2003 12:46</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> An: holger.justen@aktion-mensch.de</font>
<br><font size=1 face="sans-serif"> Kopie: nagios-users@lists.sourceforge.net</font>
<br><font size=1 face="sans-serif"> Thema: Re: [Nagios-users] Problem with log rotation</font></table>
<br>
<br>
<br><font size=2 face="Courier New">On Mon, 24 Mar 2003 holger.justen@aktion-mensch.de wrote:<br>
<br>
> Hi,<br>
> <br>
> I have some problems with the log rotation option of Nagios. At the <br>
> moment, I'm using weekly log rotation (but the same problem also occured <br>
> with daily rotation). When log rotation takes place two files are created <br>
> in the archive directory:<br>
> <br>
> -rw-rw-r-- 1 nagios nagios 32159 2003-03-22 23:37 <br>
> nagios-03-22-2003-23.log<br>
> -rw-rw-r-- 1 nagios nagios 34 2003-03-22 23:59 <br>
> nagios-03-23-2003-00.log<br>
> <br>
> Most events are included in the nagios-03-22-2003-23.log (e.g. <br>
> nagios-03-23-2003-00.log just contains "[1048373973] LOG ROTATION: <br>
> WEEKLY"). The cgi-scripts (like history.cgi) are looking for archived log <br>
> files ending with -00.log, therefore not all messages are displayed in the <br>
> web interface. What has to be done in order to get Nagios to display all <br>
> messages related to a log period?<br>
> <br>
> Related configuration:<br>
> log_file=/usr/local/nagios/var/nagios.log<br>
> log_archive_path=/usr/local/nagios/var/archives<br>
> log_rotation_method=w<br>
> <br>
> Thanks,<br>
> Holger Justen<br>
<br>
What version of Nagios ??<br>
<br>
<br>
-- <br>
<br>
</font><font size=2 face="sans-serif">I'm using Nagios Version 1.0</font>
<br>