<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.60">
<TITLE>RE : RE : [Nagios-users] Scheduling downtime</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>> From: Marc Powell [<A HREF="mailto:marc@ena.com">mailto:marc@ena.com</A>] </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > You don't have to create the file 'downtime.dat'. It is </FONT>
<BR><FONT SIZE=2>> managed by the </FONT>
<BR><FONT SIZE=2>> > nagios daemon. And the information you are missing is that </FONT>
<BR><FONT SIZE=2>> a scheduled </FONT>
<BR><FONT SIZE=2>> > downtime must be set from the outside via some undocumented </FONT>
<BR><FONT SIZE=2>> external </FONT>
<BR><FONT SIZE=2>> > commands :</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Huh? I schedule downtime through the web interface all the </FONT>
<BR><FONT SIZE=2>> time...</FONT>
<BR><FONT SIZE=2>> The </FONT>
<BR><FONT SIZE=2>> OP made no mention of wanting to do it outside the Nagios GUI </FONT>
<BR><FONT SIZE=2>> and indicated that it would be done by a 'user' intimating </FONT>
<BR><FONT SIZE=2>> the use of the GUI.</FONT>
</P>

<P><FONT SIZE=2>Maybe I'm wrong but, as the question told about 'user permissions' to be able to submit downtimes, I thought that he wanted to do it from an external program. Of course, if it is a real 'human' user, with an account to  access the CGI interface, this should be the preferred way.</FONT></P>

<P><FONT SIZE=2>If the action should be done from the outside (unattended), you can use the 'automated downtime schedulers addons' of nagiosexchange as examples because they all use these commands to submit recurring downtimes every day.</FONT></P>

</BODY>
</HTML>