avail.cgi timerperiods patch
Williams, P. Lane
Lane.Williams at jhuapl.edu
Mon Oct 25 19:08:17 CEST 2004
If someone would send me the patched code...I will take a crack
at it. I am already familiar with avail.c and have made my own changes
to include time of day.....Is the patched code in the CVS?
Lane
-----Original Message-----
From: nagios-devel-admin at lists.sourceforge.net
[mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Michael
Medin
Sent: Monday, October 25, 2004 10:02 AM
To: sandromergvaz at uol.com.br
Cc: nagios-devel at lists.sourceforge.net
Subject: RE: [Nagios-devel] avail.cgi timerperiods patch
If there is an interest I could probably look into back
porting it.
But I'm going away for vacation in 5 minutes and wont be
back for another 2 weeks so I wont have time to look into that until
after I get back...
// Michael Medin
________________________________
From: nagios-devel-admin at lists.sourceforge.net
[mailto:nagios-devel-admin at lists.sourceforge.net] On Behalf Of Sandro
Vaz - UOL
Sent: den 25 oktober 2004 14:46
To: Ethan Galstad
Cc: nagios-devel at lists.sourceforge.net
Subject: Re: [Nagios-devel] avail.cgi timerperiods patch
Will this patch be available to 1.2 branch too?
TIA,
SMV
Ethan Galstad wrote:
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
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041025/99467ee2/attachment.html>
More information about the Developers
mailing list