<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE>
<!--
                        
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}

div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=FR vLink=purple link=blue>
<DIV id=idOWAReplyText57177 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> Benoit Barriere<BR><B>Date:</B> ven. 10/10/2008 17:27<BR><B>À:</B> Marc Powell<BR><B>Objet :</B> RE: [Nagios-users] undeterminate data in report<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">I confirm that my sed command has done the job. If I check my nagios-10-07-2008-00.log file </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">All seems correct: </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">[1223244000] CURRENT SERVICE_STATE: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:24.79 MB) –</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">[1223244149] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:24.81 MB) --</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">I have a lot of service alerts before the Oct 7 : for example the Oct 4 log file</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">[1222985058] SERVICE_ALERT: SRV_CS_HCC;PROCESS_cs_kernel.exe;OK;HARD;1;1 cs_kernel.exe Running (Ram:38.82 MB) -- </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt">Any ideas</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">-----Message d'origine-----<BR>De : Marc Powell [mailto:marc@ena.com] <BR>Envoyé : vendredi 10 octobre 2008 17:01<BR>À : Nagios Users<BR>Objet : Re: [Nagios-users] undeterminate data in report</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">On Oct 10, 2008, at 9:02 AM, Benoit Barriere wrote:</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> Hi all,</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> I have a problem about my archives log file.</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> I had to change a description service in all archives logs (deleting  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> a space character) and also in my nagios conf. I have done that by  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> sed command. So all my logs are modified correctly if I see my logs  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> by vi command. But nagios don’t report correctly all datas before my  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> modification. All datas before the modification aren’t shown in the  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">> report ( see screenshot)</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Verify that your sed did what you think it did and that you didn't  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">munge the lines such that nagios can't parse them. It would appear  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">that there are no matches in the log files you've specified until Oct  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">7, 14:53:22.</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Also, is there a SERVICE ALERT entry in the log files between  Oct 3  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">15:59:</SPAN></FONT>45 and  Oct 7 14:53:22 or in the 4 previous archive log files?  </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">If not, nagios will use your 'First assumed service state' of  </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Unspecified/Indeterminate.</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">--</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Marc</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">-------------------------------------------------------------------------</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">This SF.Net email is sponsored by the Moblin Your Move Developer's challenge</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Build the coolest Linux based applications with Moblin SDK & win great prizes</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Grand prize is a trip for two to an Open Source event anywhere in the world</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">http://moblin-contest.org/redirect.php?banner_id=100&url=/</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">_______________________________________________</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Nagios-users mailing list</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">Nagios-users@lists.sourceforge.net</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">https://lists.sourceforge.net/lists/listinfo/nagios-users</SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </SPAN></FONT></P>
<P class=MsoPlainText><FONT face="Courier New" size=2><SPAN style="FONT-SIZE: 10pt">::: Messages without supporting info will risk being sent to /dev/null</SPAN></FONT></P></DIV></DIV></BODY></HTML>