<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Attached is the patch like you ask.<br>
<br>
[]s.<br>
<br>
Andreas Ericsson wrote:
<blockquote cite="mid43F19EF3.8020301@op5.se" type="cite">Alessandro
Ren wrote:
<br>
<blockquote type="cite"><br>
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.
<br>
All changes are done in the function compute_subject_downtime_times
in cgi/avail.c code.
<br>
Any feedbacks on the patch are aprechiated. It is working for me so
far.
<br>
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.
<br>
<br>
</blockquote>
<br>
Could you resend this patch in unified diff format, please?
<br>
Just recreate it with your current directory structure and the command:
<br>
<br>
diff -urN nagios-2.0 nagios-2.0-patched > sched-downtime.diff
<br>
<br>
and send sched-downtime.diff to the list.
<br>
<br>
Thanks
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>OpSign</title>
<font color="#3366ff">__________________________________________________</font><br>
<table border="0" cellpadding="0" cellspacing="0" width="350">
<tbody>
<tr>
<td valign="top" width="130"> <font color="#000080"
face="Helvetica, Arial, sans-serif" size="-1"><b>Alessandro Ren</b></font><br>
</td>
<td valign="top" width="220"> <font color="#000080"
face="Helvetica, Arial, sans-serif" size="-1"><i><b>OpServices</b></i></font><br>
<font color="#808080" face="Helvetica, Arial, sans-serif"
size="-1"><i><b>Luciana de Abreu, 471 - Sala 403</b></i></font><br>
<font color="#808080" face="Helvetica, Arial, sans-serif"
size="-1"><i><b>Porto Alegre, RS - CEP 90570-060</b></i></font><br>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="350">
<tbody>
<tr>
<td valign="middle" width="180"> <font color="#000000"
face="Wingdings" size="-3"><b>(</b></font><font color="#999999"
face="Helvetica, Arial, sans-serif" size="-3"> phone 55(51)3061-3588</font><br>
<font color="#000000" face="Wingdings" size="-3"><b>4</b></font><font
color="#999999" face="Helvetica, Arial, sans-serif" size="-3"> fax 55(51)3061-3588</font><br>
</td>
<td valign="middle" width="200"> <font color="#000000"
face="Wingdings" size="-3"><b>Q</b></font><font color="#999999"
face="Helvetica, Arial, sans-serif" size="-3"> mobile 55(51)8151-8212</font><br>
<font color="#000000" face="Wingdings" size="-3"><b>:</b></font><font
color="#999999" face="Helvetica, Arial, sans-serif" size="-3"> email <a
href="mailto:%22alessandro.ren@opservices.com.br%22">alessandro.ren@opservices.com.br</a></font><br>
</td>
</tr>
</tbody>
</table>
<font color="#3366ff">__________________________________________________</font><br>
</div>
</body>
</html>