Log Rotation
Andreas Ericsson
ae at op5.se
Mon Mar 29 01:00:35 CEST 2004
Russell Scibetti wrote:
> For some reason, starting 10 days ago, the logs that are written to the
> archives directory are practically empty. The just contain the normal first
> "LOG ROTATION: DAILY" line, and then nothing else.
>
Nagios only logs state __changes__, so if the network state has been
stable during the day, the log will be empty.
> Some additional information:
> - For every log this has happened to (the last 10), the file system time
> stamp and the timestamp in the log are at midnight, 00:00
> - For the logs before this problem started, the timestamp in the log is
> 00:00, but the filesystem timestamps are either 23:49, 23:46, or
> 23:56-23:58.
>
If you have several NTP servers and the nagios server frequently changes
server (and updates the time), this sort of thing could theoretically
happen. In that case you've got some time sync problem on the network if
it differs more than a second or two.
> NTP is running on the machine, but the only problem I know that NTP caused
> was multiple archive logs.
>
> Anyone have any ideas why this is happening? Thanks in advance.
>
> Russell
>
>
--
Mvh
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list