<div style="direction: ltr;">The problem you encountered was probably having checkcommands.cfg uncommented<br>in the nagios.cfg file as well as minimal.cfg (they have duplicate commands).<br><br>I encountered the same thing myself when I set things up.
<br></div><div style="direction: ltr;"><span class="sg"><br>Tom</span></div><br>PS: Sorry Marc for having posted just to you. Mis-clicked on the button<br><br><br><div><span class="gmail_quote">On 3/13/06, <b class="gmail_sendername">
Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>
> -----Original Message-----<br>> From: <a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:admin@lists.sourceforge.net">
admin@lists.sourceforge.net</a>] On Behalf Of Jody Noscov<br>> Sent: Sunday, March 12, 2006 7:23 PM<br>> To: <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> Subject: RE: [Nagios-users] Problems with the pre-flight check
<br>><br>> I have commented out the following in minimal.cfg<br>><br>> #define command{<br>> # command_name check_local_disk<br>> # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
<br>> # }<br>><br>> #define command{<br>> # command_name check-host-alive<br>> # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99%<br>-c<br>> #100,100% -p 1<br>> # }
<br>><br>> This is not going to cause any problems later down the track is it?<br><br>Probably not. The problem was that you had 2 check_local_disk command<br>definitions and the same for check-host-alive. You can't have two
<br>command definitions with the same command_name (nagios wouldn't be able<br>to tell them apart). If the command definitions are identical then it's<br>no big deal to comment one of the duplicates out. If they're different,
<br>and you intend to use both versions then you'll need to change the<br>command_name's so that they're unique.<br><br>--<br>Marc<br><br><br>-------------------------------------------------------<br>This SF.Net email is sponsored by xPML, a groundbreaking scripting language
<br>that extends applications into web and mobile media. Attend the live webcast<br>and join the prime developer group breaking into this new coding territory!<br><a href="http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642">
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>