[Nagios-devel] Patch for schedule downtime reports in avail.cgi.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Patch for schedule downtime reports in avail.cgi.

Post by Guest »

This is a multi-part message in MIME format.
--------------070103000304070500060105
Content-Type: multipart/alternative;
boundary="------------060407050508080405020402"


--------------060407050508080405020402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


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 [email protected]


__________________________________________________

--------------060407050508080405020402
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit








    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.

--
OpSign
__________________________________________________



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 [email protected]




__________________________________________________




--------------060407050508080405020402--

--------------070103000304070500060105
Content-

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked