> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jody Noscov > Sent: Sunday, March 12, 2006 7:23 PM > To: Nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] Problems with the pre-flight check > > I have commented out the following in minimal.cfg > > #define command{ > # command_name check_local_disk > # command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > # } > > #define command{ > # command_name check-host-alive > # command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c > #100,100% -p 1 > # } > > This is not going to cause any problems later down the track is it?
Probably not. The problem was that you had 2 check_local_disk command definitions and the same for check-host-alive. You can't have two command definitions with the same command_name (nagios wouldn't be able to tell them apart). If the command definitions are identical then it's no big deal to comment one of the duplicates out. If they're different, and you intend to use both versions then you'll need to change the command_name's so that they're unique. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null