<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1033" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am using the sched_host_downtime script written by Kelly
Cobean.  I am running it on RedHat Enterprise v3 Linux against Nagios 2.0b2. 
I believe I am correctly scheduling downtime for the hosts listed below between
6:15am and 7:45AM.  However, when these hosts rebooted, we were notified
by Nagios.  The other oddity I noticed is that the downtime, although
listed in the log, never appeared in the downtime.cfg file or in the CGI
interface for “Downtime”.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is my host_downtime.cfg file: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jdets2,6:15:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jdets3,6:30:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jdets6,6:45:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jdets8,7:00:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jgerpctx05,7:15:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jdets7,7:30:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>jgerpctx04,7:45:00,2700,CRONTAB,0123456<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here are the relevant log entries from nagios.log to prove
that the cron script executed at 12:01AM.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jgerpctx04;1109162700;1109165400;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jdets7;1109161800;1109164500;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jgerpctx05;1109160900;1109163600;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jdets8;1109160000;1109162700;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jdets6;1109159100;1109161800;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:11] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jdets3;1109158200;1109160900;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>[02-23-2005 00:01:01] EXTERNAL COMMAND:
SCHEDULE_HOST_DOWNTIME;jdets2;1109157300;1109160000;1;2700;CRONTAB;Scheduled
Maintenance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>TIA for the help!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p style='margin:0in;margin-bottom:.0001pt'><b><font size=2 color=navy
face="Times New Roman"><span style='font-size:10.0pt;color:navy;font-weight:
bold'>Josh Van As<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

<!--[object_id=#jackofallgames.com#]--><P align=left><FONT face=Tahoma><FONT color=#0000ff></FONT></FONT><FONT face=Arial color=#808080 size=1><STRONG>**********************************************************************************************************************************************************************************************************************************</STRONG></FONT></P>
<P align=left><FONT face=Arial color=#808080 size=1><STRONG> The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure.  Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. </STRONG></FONT></P>
<P align=left><FONT size=1><FONT face=Arial color=#808080><STRONG>**********************************************************************************************************************************************************************************************************************************</STRONG></FONT> </FONT></P></html>