<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>[Nagios-users] Problem with executing commands...</TITLE>
</HEAD>
<BODY dir=ltr>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Patrick Ouellet 
  [mailto:pouellet@microtecsecurite.com] <BR><B>Sent:</B> Fri 12/12/2003 9:58 AM 
  <BR><B>To:</B> nagios-users@lists.sourceforge.net <BR><B>Cc:</B> 
  <BR><B>Subject:</B> [Nagios-users] Problem with executing 
  commands...<BR></FONT></DIV>
  <DIV><FONT size=2>[snip]</DIV></FONT>
  <P><FONT size=2>Here is the logfile ...</FONT> <BR><FONT size=2>[2003-12-12 
  11:05:43] Warning: Return code of 127 for check of service </FONT><BR><FONT 
  size=2>'Ping DNS' on host 'dns' was out of bounds. Make sure the plugin you're 
  </FONT><BR><FONT size=2>trying to run actually exists.</FONT> </P>
  <P><FONT size=2>Can someone help me understand this error message??</FONT> 
</P>
  <P><marc> -- This indicates that the plugin could not be found.</P>
  <P><FONT size=2>[snip]</FONT></P>
  <P><FONT size=2># 'check-host-alive' command definition</FONT> <BR><FONT 
  size=2>define command{</FONT> <BR><FONT size=2>     
  command_name    check-host-alive</FONT> <BR><FONT 
  size=2>     command_line    
  $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% </FONT><BR><FONT size=2>-c 
  5000.0,100% -p 1</FONT> <BR><FONT size=2>}</FONT> </P><BR>
  <P><FONT size=2>Can someone also tell me what $USER1$ is ?</FONT> </P>
  <P><marc> -- It is a macro that is found in resource.cfg. It should 
  point to the location of your nagios plugins (libexec directory) --</P>
  <P> </P>
  <P># Sets $USER1$ to be the path to the 
  plugins<BR>$USER1$=/usr/local/nagios/libexec</P>
  <P> </P>
  <P>--</P>
  <P>Marc (sorry for the html email. OWA doesn't give me a 
choice).<BR></P></BLOCKQUOTE>

</BODY>
</HTML>