(Return code of 255 is out of bounds)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lucas.fradusco
Posts: 1
Joined: Fri Dec 02, 2016 10:16 am

(Return code of 255 is out of bounds)

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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).
Locked