Return code of 127 is out of bounds on Host Checks Only

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Return code of 127 is out of bounds on Host Checks Only

Post by mrochelle »

Nagios XI 3.2 64 Bit VM install
CentOS release 6.2

I consistently get the following error when I configure a host check (Return code of 127 is out of bounds - plugin may be missing) but I use the same identical check as a service without a problem. Are the host checks limited to pings only or some strict return codes?

Thanks, Marcus
You do not have the required permissions to view the files attached to this post.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Return code of 127 is out of bounds on Host Checks Only

Post by mrochelle »

Well, after reading the Nagios Plugin development guidelines, I totally re-wrote my plugins I had problems with and this post is resolve. The largest problem I had was resolved by using %ERRORS from utils.pm and exiting with $ERRORS{'OK'} rather than return codes. Although I found a number of other items this guideline allowed me to improve.
Locked