Patch for schedule downtime reports in avail.cgi.

Andreas Ericsson ae at op5.se
Tue Feb 14 10:35:27 CET 2006


Andreas Ericsson wrote:
> 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.
> 

Ah. No worries. I've got it applied in my git repo now. Thanks again, 
and good catch.

-- 
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