<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV>Marc,</DIV>
<DIV> </DIV>
<DIV>Thanks for the reply.</DIV>
<DIV> </DIV>
<DIV>Please find my response embedded.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Saiprasad</DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR><FONT size=2 face=Tahoma>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<HR SIZE=1>
</DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Marc Powell <marc@ena.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Nagios Plugin Help List <nagiosplug-help@lists.sourceforge.net><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, 26 August, 2009 5:50:17 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Nagiosplug-help] Regarding Reports in Nagios<BR></FONT><BR><BR>On Aug 26, 2009, at 6:49 AM, Saiprasad @ Yahoo wrote:<BR><BR>> I am generating an Availability report in Nagios but the output is  <BR>> something weired wherein the Event Duration does not give the data  <BR>> of all 24 hrs. I think the attached JPG will make my question more  <BR>> clear.<BR><BR>The event duration is simply the time between log entries related to  <BR>that host/service.<BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT color=#0000ff>So does this mean that the hours that are shown in Event Duration are the only entries for a particular host and is it that only for that many hours I get the data ?</FONT></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR>> Can someone please throw some light on this, as this is very serious  <BR>> for me and does not give me an accurate data.<BR><BR>The summary data above this section is 'accurate'. The entries you  <BR>note are points at which you are restarting nagios I expect and you  <BR>have log_initial_states enabled in nagios.cfg.<BR><BR>When generating this list, nagios looks through nagios.log (or the  <BR>archives) for any entries matching the host/service, calculates the  <BR>times between them and displays them. The state does not factor into  <BR>this particular calculation. There are features of nagios where that  <BR>wouldn't be desired (state stalking, for example).<BR><BR>Nagios does not normally log OK states unless it is a recovery from an  <BR>outage so under 'normal' circumstances, the breakout list would be  <BR>more like
 what you are expecting. Turn off 'log_initial_states' to do  <BR>that..<BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT color=#0000ff>I am not too sure with your above comments. The only thing that I need to furnish to my manager is to let him know the exact Availability of a particular service or host for a particular month, etc. Is this possible and if yes how ? I am using Nagios Version 3.0.3 on Linux.</FONT><BR>--<BR>Marc<BR><BR>p.s. This question is more relevant on nagios-users than here...<BR><FONT color=#0000ff>I have posted the same now on nagios-users.</FONT></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT color=#0000ff></FONT><BR>------------------------------------------------------------------------------<BR>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <BR>trial. Simplify your report design, integration and deployment - and focus on <BR>what you do best, core application coding. Discover what's new with <BR>Crystal Reports now.  <A href="http://p.sf.net/sfu/bobj-july" target=_blank>http://p.sf.net/sfu/bobj-july</A><BR>_______________________________________________<BR>Nagiosplug-help mailing list<BR><A href="mailto:Nagiosplug-help@lists.sourceforge.net" ymailto="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target=_blank>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</A><BR>::: Please include plugins version (-v)
 and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null<BR></DIV></DIV></div><br>
      <!--1--><hr size=1></hr> Love Cricket? Check out live scores, photos, video highlights and more. <a href="http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com" target="_blank"> Click here</a>.</body></html>