Patch for schedule downtime reports in avail.cgi.

Andreas Ericsson ae at op5.se
Tue Feb 14 10:12:19 CET 2006


Alessandro Ren wrote:
> 
>    Attached is a patch for nagios-2.0 final that fixes the problem in 
> avail.cgi that does't show the schedule downtimes in the reports.
>    All changes are done in the function compute_subject_downtime_times 
> in cgi/avail.c code.
>    Any feedbacks on the patch are aprechiated. It is working for me so far.
>    The fixed function can also be appllied to earlier versions, I have 
> also tested in 1.x nagios version and it has worked fine and so in the 
> 2.0 beta versions.
> 

Could you resend this patch in unified diff format, please?
Just recreate it with your current directory structure and the command:

	diff -urN nagios-2.0 nagios-2.0-patched > sched-downtime.diff

and send sched-downtime.diff to the list.

Thanks

-- 
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. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642




More information about the Developers mailing list