Correct Syntax??

Jody Noscov jnosc at hotmail.com
Mon Mar 13 06:31:59 CET 2006


While attempting to start nagios I am recieving error similar to this one.



sh: line 1: /check_ping: No such file or directory
Warning: Return code of 127 for check of service 'PING' on host 'localhost' 
was out of bounds. Make sure the plugin you're trying to run actually 
exists.
sh: line 1: /check_disk: No such file or directory

I have done some reading on the forums and changed the location to the 
following so the plugins can be accessed. It doesn't seem to be working 
either. Am I using the correct syntax for these changes?


define command{
        command_name    check-host-alive
        command_line    $USER1$=/usr/local/nagios/libexec check_ping -H 
$HOSTADDRESS$ -w 99,99% -c 100,100% -p 1
       }

Thanx for your help :-)

_________________________________________________________________
Shopping made easy @ tradingpost.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT



-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list