Patch for schedule downtime reports in avail.cgi.

Alessandro Ren alessandro.ren at opservices.com.br
Mon Feb 13 18:27:59 CET 2006


    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.

    []s.

-- 
__________________________________________________
*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/20060213/fd35bb10/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.tar.bz2
Type: application/octet-stream
Size: 2152 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060213/fd35bb10/attachment.obj>


More information about the Developers mailing list