(Return code of 255 is out of bounds)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jabi27
Posts: 34
Joined: Thu Jan 19, 2017 4:30 pm

(Return code of 255 is out of bounds)

Post by jabi27 »

Hi,

I have made a fresh install of linux-nrpe-agent on a Red Hat Enterprise Linux Server release 7.2 (Maipo). From the nagios web I only see "(Return code of 255 is out of bounds)"

A local test seems to be OK:

/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p / /ekstradisk
DISK OK - free space: / 3721 MB (41,84% inode=-); /ekstradisk 140824 MB (73,65% inode=99%);| /=5173MB;8765;9252;0;9739 /ekstradisk=50376MB;181310;191383;0;201456

Any ideas?

Best
/Jan
User avatar
gwakem
Posts: 238
Joined: Mon Jan 23, 2012 2:02 pm
Location: Asheville, NC

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

Post by gwakem »

Check the /etc/nagios/nrpe.cfg and verify that the server's IP that is querying the nrpe service is listed in the allowed_hosts= line. It already has 127.0.0.1 so local querying of the nrpe service would be allowed.
--
Griffin Wakem
jabi27
Posts: 34
Joined: Thu Jan 19, 2017 4:30 pm

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

Post by jabi27 »

Thanks,

That did it :-)


/Jan
kyang

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

Post by kyang »

Thanks @gwakem!

@jabi27, Are we okay to close this thread? Or do you have more questions?
Locked