Custom plugin failing: Return code out of bounds

Gabriel Law glaw at storbase.com
Mon Aug 16 19:37:45 CEST 2004


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 <mailto:glaw at storbase.com>  
*: 877-693-5800 x222
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040816/bc917d8f/attachment.html>


More information about the Users mailing list