Page 1 of 1

Return code of 127

Posted: Thu Jun 02, 2011 3:19 am
by Fearl3$$
Hi There,
Ok so I am completely new to this product. Thus a Complete NOOB to Nagios :D.

I did the Install on as the Documentation Provided Told me to.. But.. It seems I did something somewhere wrong(allthough I followed Instructions step by step, not missing a thing.)

But I have the following error Status Error on the Nagios install box aswhell as the few other devices I also setup to monitor. : (Return code of 127 is out of bounds - plugin may be missing)

From the info I could gather sovar is that the path of the Plugins in the Resource.cfg file must be changed..
The default that it was set to was :
# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/libexec

I changed it to
# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/local/nagios/etc/objects

Coz that is where the Config settings are stored for the few Items I am monitoring..

OS it is Running on is Ubuntu 11.4

Could Someone please advise me, on where I am going wrong(Well I think I am totally lost.. hehe) , and how to fix this issue :-D

Re: Return code of 127

Posted: Thu Jun 02, 2011 9:44 am
by tonyyarusso
$USER1$ is the path to the plugin executables, not your config files.