Patch for schedule downtime reports in avail.cgi.

Alessandro Ren alessandro.ren at opservices.com.br
Tue Feb 14 13:58:03 CET 2006


    Attached is the patch like you ask.

    []s.

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

-- 
__________________________________________________
*Alessandro Ren*
	/*OpServices*/
/*Luciana de Abreu, 471 - Sala 403*/
/*Porto Alegre, RS - CEP 90570-060*/

*(*   phone 55(51)3061-3588
*4*    fax 55(51)3061-3588
	*Q*   mobile 55(51)8151-8212
*:*   email alessandro.ren at opservices.com.br 
<mailto:%22alessandro.ren at opservices.com.br%22>

__________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060214/cc4f6a77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched-downtime.diff.tar.gz
Type: application/gzip
Size: 1925 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060214/cc4f6a77/attachment.bin>


More information about the Developers mailing list