Page 1 of 1

(Return code of 255 is out of bounds)

Posted: Fri Dec 02, 2016 10:31 am
by lucas.fradusco
Hello,
I'm getting the "(Return code of 255 is out of bounds)" error, I've reading, but I'm not able to find any solutions.
I monitor a few Linux servers using NRPE tool. Yesterday I added a new one, but I'not able to monitor any services due to this error.
If I run the

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 192.0.2.11 
in my nagios server, I get the correct answer, but the web interface, show the "255 is out of bounds" error.
If I run any check_nrpe command in my Nagios Server the host responds correctly, but the web interface shows the error. It even works with custom commands.

Code: Select all

root@nagios:~# /usr/local/nagios/libexec/check_nrpe -H 192.0.2.11 -c check_base
DISK OK - free space: / 16511 MB (90% inode=94%);| /=1797MB;19268;19278;0;19288
any ideas?

sorry for my bad english.

Re: (Return code of 255 is out of bounds)

Posted: Fri Dec 02, 2016 10:44 am
by dwhitfield
Are you using the only_from directive? Details at https://support.nagios.com/forum/viewto ... =6&t=34113

Can you post the output of tail -50 /var/log/messages?

Also, if we aren't able to get a resolution today, you might want to take a look at https://assets.nagios.com/downloads/nag ... utions.pdf over the weekend (or Monday morning depend on our time zone offset).