Return code of 127

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Fearl3$$
Posts: 1
Joined: Wed May 25, 2011 9:24 am

Return code of 127

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Return code of 127

Post by tonyyarusso »

$USER1$ is the path to the plugin executables, not your config files.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked