Return code of 134 is out of bounds

Guys

I recently upgraded to Nagios 20b2 and I get this error : CRITICAL;SOFT;4;(Return code of 134 is out of bounds) from time to time. It’s very irritating because I get this error for lots of services and I get a log of notifications. Do you know what should I do to get rid of this problem?

Thanks
RooG

what kind of check are you doing?

Luca

This is the command I’m using:
$USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$

It worked fine for a long time but stoped recently

i don’t have that command working so i can’t check it. sorry… try having a look at the command itslef (calling it without parameters) if you get some help out of it.

Luca

You will have better and faster results if you use check_snmp instead of check_ifoperstatus. It is much faster, and just may solve your problem. Just a tip: I’m running over 1000 service checks every 5 mintues. 80% or more are queries to ports on a switch or host to see the ethernet ports status. This would not be possible with check_ifoperstatus, becuase it’s just to slow.

check_snmp!public!.1.3.6.1.2.1.2.2.1.8.9!1!ifOperStatus!RFC1213-MIB

$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -r $ARG3$ -l $ARG4$ -m $ARG5$

I found my problem - I messed something with the elf interpreter and privileges on the files and directories. Will try check_snmp though - thanks for the tip jakkedup.

Would you also give me info on how to assing priviliges on the nagios files and directories to make external commands work again as I messed something there two :wink:

if you completely messed it up i’d say save the config files and remake it up “by the book”. :wink:

Luca

I always go by the book :wink: but it’s faster to chmod if you know how then to rebuild the software

nagios/docs/commandfile.html

Gives a step by step for the command file permissions.

nagios.sourceforge.net/docs/1_0/commandfile.html