<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=532203608-24052005>You
don't have to create the file 'downtime.dat'. It is managed by the nagios
daemon. And the information you are missing is that a scheduled
downtime must be set from the outside via some undocumented external
commands :</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_SVC_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_HOSTGROUP_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_HOSTGROUP_SVC_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_SERVICEGROUP_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>SCHEDULE_SERVICEGROUP_SVC_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=532203608-24052005>And,
to delete a scheduled downtime, you use :</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>DEL_HOST_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005>DEL_SVC_DOWNTIME</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=532203608-24052005>The
permissions are the same as for any external command.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=532203608-24052005>As
these commands are undocumented, you will have to look in the 'cgi/cmd.c' source
file to find their arguments.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=532203608-24052005></SPAN></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2><B>From:</B> Sxan [mailto:sxanrr@yahoo.com] <BR></FONT></DIV>
<DIV>The docs mentioned something about </DIV>
<DIV>a line like </DIV>
<DIV>
<TABLE class=Default border=0>
<TBODY>
<TR>
<TD>
<P><FONT face="arial black"
size=2>downtime_file=/usr/local/nagios/var/downtime.dat</FONT></P></TD></TR></TBODY></TABLE></DIV>
<DIV>Or will this file create itself from the Nagios
program? </DIV></BLOCKQUOTE></BODY></HTML>