Page 1 of 1

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

Posted: Tue Feb 14, 2006 3:58 am
by Guest
This is a multi-part message in MIME format.
--------------060502090503010805010606
Content-Type: multipart/alternative;
boundary="------------030103010908040509060403"


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


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


__________________________________________________

--------------030103010908040509060403
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit








    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




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

...[email truncated]...


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