Page 1 of 1

Re: [Nagios-devel] avail.cgi timerperiods patch

Posted: Sun Oct 24, 2004 9:33 pm
by Guest
Thanks - kudos for cracking this problem. The availability CGI code
is not that easy to understand.

On 21 Oct 2004 at 10:35, Michael Medin wrote:

> Hi,
>
> This is a simple patch that allows (or so I hope) availability reports
> to be made based on a time period. What this means is that I can
> generate reports for other timeframes then 24x7.
>
> We use this internally to generate availability reports for some of
> our systems that have an 8x5 SLA. How this works and is implemented is
> that on the last page of the availability report you can select a
> predefined timeperiod and then only time during that period is counted
> towards the avalibility report.
>
> This means that for our SLA which is 9-5 mon-fri I can generate
> avalibility reports for that timeframe but still monitor 24x7.
>
> As I stated before I don't know that much about nagios development so
> if this is implemented badly, have bugs or plain out doesn't work
> please let me know :)
>
> BTW; the "patch" has been generated with tortouise so it might
> possibly not follow whatever standard patches should but I could apply
> it to my Linux box sp hopefully it will work.
>
> // Michael Medin
>
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]