Hi, I am trying to get nagios to monitor my switch through snmp, I have followed the nagios manual to setit all up but I get Critical under Status and under status information I get this (Return code of 127 is out of bounds - plugin may be missing). Anyone have any ideas what this is?
hi!
the error “Return code of 127 is out of bounds - plugin may be missing” means that nagios can’t find your plug in; check your paths and rights
The paths are correct, what rights do I to set the files to?
Just found out that I actually do have the plugins missing. Does anyone have these files they can send me or link me:
check_hpjd
check_snmp
They come with the nagios-plugins but won’t install unless the pre-requisites are met, so you need to fix that and recompile them
from the REQUIREMENTS readme file:
check_hpjd:
- Requires the NET-SNMP package available from
http://net-snmp.sourceforge.net/
The snmpget binary is all that is required.
...
check_snmp:
- Requires the NET-SNMP package available from
http://net-snmp.sourceforge.net/
Better install net-snmp I reckon
HTH
/S
Please,
post the syntax command that you use.
Tnx
Thanks for the help, as soon as I installed net-snmp I recompiled the nagios plugin and it work straight away