Couple questions - when you logged in as nagios, did you accept all the nagios environment settings (IE, su - nagios, instead of su nagios)? When you were logged in as user nagios, were you in the libexec directory when you tried to run the command? If so, move out if it - ie cd /tmp, then /usr/local/nagios/libexec/check_whaterver.....
Doing those two items have often made path or environment errors show up for me... Scott From: [email protected] [mailto:[email protected]] On Behalf Of Doug Small Sent: Wednesday, June 08, 2011 10:21 AM To: Opsview Users Subject: Re: [opsview-users] plugin is there and owned by nagios yet i get the following yes, ran manually as nagios and i got the expected output. On Tue, Jun 7, 2011 at 3:03 PM, Henry78 <[email protected]<mailto:[email protected]>> wrote: You ever tried to run it manually (as user nagios)? Did that give you any error output? -- kind regards, Henry On Di, 2011-06-07 at 14:44 -0600, Doug Small wrote: > all, > > i have copied over a plugin, check_logfiles, and ensured that it is > owned by nagios.nagios, that it is executable and in the right > location. > > the plugin is available from within the service check, plugin drop > down ... so opsview can see it, and if i run it as nagios by hand on > the server > it runs without issue. > > and yet, i get the following error: > > (Return code of 127 is out of bounds - plugin may be missing) > > could Return code of 127 indicate something else? > > thanks > _______________________________________________ > Opsview-users mailing list > [email protected]<mailto:[email protected]> > http://lists.opsview.org/lists/listinfo/opsview-users _______________________________________________ Opsview-users mailing list [email protected]<mailto:[email protected]> http://lists.opsview.org/lists/listinfo/opsview-users ------------------------------------------------------------------------------------ This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center ([email protected]) immediately by email and delete the original message. ------------------------------------------------------------------------------------
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
