OK so after changing it around a little, I now get this error

sh: line 1: =/usr/local/nagios/libexec/check_load: Permission denied
Warning: Return code of 126 for check of service 'Current Load' on host 'localhost' was out of bounds. Make sure the plugin you're trying to run actually exists.

Sorry, Obviously this is for the Check_load file and not the one I stated earlier, as I said though I had a few errors, I was just changing the one that occured first to save time.

Is there a command I can run to change the permissions on my libexec folder? Forgive my inexperience with linux.


From: "Jody Noscov" <[EMAIL PROTECTED]>
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Correct Syntax??
Date: Mon, 13 Mar 2006 15:31:59 +1000

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@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

_________________________________________________________________
careerone.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DNWS014%2E19163%2E0%26clk%3D1%26creativeID%3D28927&_t=752722611&_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@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

Reply via email to