<!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.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=701205112-24052005><FONT face=Arial 
color=#0000ff size=4>Are these external commands only for 2 or do they apply for 
1.2 as well? Also, can anybody point me to a list of all available external 
commands because the list here <A 
href="http://nagios.sourceforge.net/docs/1_0/extcommands.html">http://nagios.sourceforge.net/docs/1_0/extcommands.html</A> is 
definitely not all of them. I am using at least twenty or more in Naguios 1.2 
that aren't listed here.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Larry Wayne Naves, Jr. "Jay"<BR>Systems Analyst<BR>Computer 
Sciences Corporation /<BR>Alabama Supercomputer Authority </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net 
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>François 
Laupretre<BR><B>Sent:</B> Tuesday, May 24, 2005 3:46 AM<BR><B>To:</B> 'Sxan'; 
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE : [Nagios-users] 
Scheduling downtime<BR></FONT><BR></DIV>
<DIV></DIV>
<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><BR>
<P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by AVG 
Anti-Virus.<BR>Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 
5/22/2005<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BODY></HTML>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005<BR>
</FONT> </P>