Custom plugin failing: Return code out of bounds
Gabriel Law
glaw at storbase.com
Mon Aug 16 19:57:37 CEST 2004
Agh. I hate outlook. Sorry all for the previous html mail. Here is my
message in text.
-----Original Message-----
From: Gabriel Law
Sent: Monday, August 16, 2004 1:38 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: Custom plugin failing: Return code out of bounds
Hi all,
So I tried writing my own custom plugin in perl, which works fine from
command line, but fails when I try to run it as a nagios service check.
In the status information line it reads "(Return code of 13 is out of
bounds)". Under the FAQ the only possibility could be that the script
is returning an improper return code, but I've changed the script to
just return 0 upon exit ("exit(0);"). The other possibilities, improper
path, plugin not executable, libraries not able to be found, they all
have different return codes (127, 126, 137). Has anyone else out there
come across this problem before? I'm verily stumped!
Any help would be very much appreciated!!
Thanks,
Gabe
Gabriel Law
Storbase Communications
*: glaw at storbase.com
(: 877-693-5800 x222
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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