Return code of 9 is out of bounds???

Gary Danko gdanko at gmail.com
Tue Jul 18 17:31:02 CEST 2006


Hi all,
I have the check_megaraid plugin working from the command line. I can
run it as either root, www-data, or nagios and it works. The syntax is
simple, you enter a host address and a community string.

www-data at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C xxxxx
megaraid OK

nagios at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C xxxxx
megaraid OK

root at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C xxxxx
megaraid OK

But when nagios runs this command via the web console I see a CRITICAL
error "(Return code of 9 is out of bounds)"

www-data is the user that runs the nagios web page and all commands
are run as the nagios user. I opened the check_megaraid plugin in VI
and didn't see anything that was obviously exiting with code 9. Any
idea what this could mean?

OS: Debian 3.1
Nagios version 2.0
check_megaraid version 0.8.2 (http://www.ibiblio.org/john/megaraid/)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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