Page 1 of 1

Return code of 255 is out of bounds

Posted: Thu May 08, 2014 1:49 pm
by ovaisalam
Hi,

i have install nagios 4.0 on a server and its working fine for localhost after that i have setup a linux host to monitor
when i added to nagios and went to see from web interface, its showing me following error for every service .

CPU Load
CRITICAL 05-08-2014 11:43:03 0d 1h 37m 29s 3/3 (Return code of 255 is out of bounds)
Current Users
CRITICAL 05-08-2014 11:44:21 0d 1h 36m 12s 3/3 (Return code of 255 is out of bounds)
FTP Monitoring
CRITICAL 05-08-2014 11:46:00 0d 1h 34m 33s 3/3 (Return code of 255 is out of bounds)
SSH Monitoring
CRITICAL 05-08-2014 11:43:25 0d 1h 35m 54s 3/3 (Return code of 255 is out of bounds)
Total Processes
CRITICAL 05-08-2014 11:45:33 0d 1h 35m 0s 3/3 (Return code of 255 is out of bounds)


while i am running the command on linux host to check the services its fine and providing expected results.

but not working from nagios server.

can u please help me to figure out and resolve this issue.

Thanks
Ovais alam

Re: Return code of 255 is out of bounds

Posted: Thu May 08, 2014 2:48 pm
by sreinhardt
What are the permissions on those files, on the remote system? Also are you using an agent or check_by_ssh to check that system remotely?

Re: Return code of 255 is out of bounds

Posted: Fri May 09, 2014 12:17 pm
by ovaisalam
its resolved.

issue was with the nrpe

i added the server ip in remote hosts's nrpe.cfg file. its works now.

Re: Return code of 255 is out of bounds

Posted: Fri May 09, 2014 12:24 pm
by tmcdonald
Good to hear. I'll close this up now.