<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>Monitoring log files.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Does any one have any experience and advice for monitoring envirnonments with a lot of log files. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">So far i have tried the standard check_log that comes with nagios. from my understanding this creates a copy of the log file, this is not really viable for me as it would need too much disk space.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I also have tried check_log2.pl from the contrib directory. this works by creating a counter to remember what line it was on for the next check. this works fine untill the log rotates, then when a new log file is created, im presuming the log_check2.pl will not know to start from the beggining of the log.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Has anyone solved these problems of rotating log files, the only solution i can think of it to write a cron that changes check_log2.pl's counter to 0 when the logs rotate, but this wil prove a complicated setup.</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">help or ideas appreciated</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Stuart</FONT>
</P>

</BODY>
</HTML>