avail.cgi timerperiods patch

Ethan Galstad nagios at nagios.org
Mon Oct 25 07:34:37 CEST 2004


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: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl




More information about the Developers mailing list