Page 1 of 1

Return code of 4 is out of bounds

Posted: Mon Feb 26, 2018 6:41 am
by orani
I get this critical error "Return code of 4 is out of bounds" sometimes at some checks.

Any ideas?

Re: Return code of 4 is out of bounds

Posted: Mon Feb 26, 2018 9:11 am
by mcapra
We need a bit more context.

What plugin(s) are being used for these checks that are sometimes failing? I'm assuming check_nrpe on the Nagios Core side of things? If so, what plugins is check_nrpe calling on the remote machine?

What operating system is Nagios Core installed on? What steps did you use to install Nagios Core?

Re: Return code of 4 is out of bounds

Posted: Mon Feb 26, 2018 2:37 pm
by scottwilkerson
orani wrote:I get this critical error "Return code of 4 is out of bounds" sometimes at some checks.

Any ideas?
If the plugin you are running is returning an exit code above 3 it is out of bounds.

Here is the section of the plugin development guidelines which is relevant
http://nagios-plugins.org/doc/guidelines.html#AEN78