avail.cgi bug report

Franjo Stipanovic fritzfs at gmail.com
Mon Sep 3 16:09:54 CEST 2007


Thanks for quick reply!
Seems like Custom Period doesn't work here at all :-(
I just tried on some other services any period in past that's not including
yesterday's date and it fails.

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



-- 
best wishes,
Franjo Stipanovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070903/d4e78ab2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list