Return Code 126 Out of Bounds

Marc Powell marc at ena.com
Wed Aug 15 15:53:39 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Robert Wolfe
> Sent: Wednesday, August 15, 2007 5:17 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Return Code 126 Out of Bounds
> 
> Greetings all, this is my first posting to the mailing list so please
bear
> with me :)
> 
> We use a modified version of Nagios here at work and I wrote a small
> program that is a plugin for Nagios.
> 
> Unfortunately, if I run the check manually it works fine, however,
when
> Nagios goes to run it it gives a message showing that return code of
126
> is out of bounds. The check is written in Pascal and I tried to
conform to
> the Nagios coding standards as best I could.
> 
> If anyone could shed a little light on this, it would be greatly
> appreciated.

http://209.85.165.104/search?q=cache:ucTlUXKIkLsJ:www.nagios.org/faqs/vi
ewfaq.php%3Ffaq_id%3D17+return+code+of+126+is+out+of+bounds&hl=en&ct=cln
k&cd=1&gl=us&client=firefox-a

Also verify that you're using full paths for any files/programs you
reference from within the script.

Also verify that you're testing it as the nagios user.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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