Thanks for quick reply!<br>Seems like Custom Period doesn't work here at all :-(<br>I just tried on some other services any period in past that's not including yesterday's date and it fails.<br><br><div><span class="gmail_quote">
On 03/09/07, <b class="gmail_sendername">Andreas Ericsson</b> <<a href="mailto:ae@op5.se">ae@op5.se</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Hello,<br>> seems like there's a bug in avail.c. I'm trying to get availability report<br>> with 'LastMonth' as time period, but it fails, I get all undetermined or<br>> UP/ok if I choose assume state.
<br>> All other time periods are working. Custom time period also doesn't work,<br>> but it works if I set to day before today. 2 days before today also failes.<br>> I'm guessing this works only when today's (or yesterday) date is included.
<br>><br>> I'm using Nagios 2.6, I haven't seen a patch in CVS for this bug (nor bug<br>> report).<br>><br>> What do you recommend?<br>><br><br>Hunting down the bug and submitting a patch ;-)<br>
<br>We've seen this problem too, although only under "complex circumstances", such<br>as multiple scheduled downtimes mixed with host-up, host-down and outages<br>alerts. I have no solution at the moment, and debugging 
avail.c is far from a<br>simple matter since determining that the bug is solved once a probable fix is<br>in place is difficult and enormously timeconsuming.<br><br>--<br>Andreas Ericsson                   <a href="mailto:andreas.ericsson@op5.se">
andreas.ericsson@op5.se</a><br>OP5 AB                             <a href="http://www.op5.se">www.op5.se</a><br>Tel: +46 8-230225                  Fax: +46 8-230231<br><br>-------------------------------------------------------------------------
<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >>  
<a href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-devel mailing list<br><a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br>best wishes,<br>Franjo Stipanovic