Hi Team,
We have configured some linux/aix servers for monitoring and getting the status message as - Return code of 255 is out of bounds. we have done some quick checks and found that the ports on the monitored servers are not open. now, our ques is the status of each of these services is blank (not warning/critical or unknown) and when I go to the service summary dashlet its tough to identify that some of these services are not working as dont come under warning/critical/unknown and are missed out from the problems column. Please suggest if there is a workaround for this or if we have done anything incorrectly.
No status for the error -Return code of 255 is out of bounds
Re: No status for the error -Return code of 255 is out of bo
Are these run through nrpe, check_by_ssh, or some type of other agent?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: No status for the error -Return code of 255 is out of bo
they are run through NRPE
Re: No status for the error -Return code of 255 is out of bo
Well, port 5666 has to be open for the nrpe checks to work . Have you checked the iptables rules and made sure the nrpe/xinetd service is running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: No status for the error -Return code of 255 is out of bo
Yes, the port was open and server was pingable, however the services were showing the status message as 'Return code of 255 is out of bounds' and the status is blank shown in the figure.
Upon some investigation we found that when the nrpe service is stopped or not responding we are getting this status. What bothers is that when this error is comes up, the service ends up without any status (none of OK/Warning/Critical/Unknown) and no email is sent out for the service being down/unknown nor is it shown in the stats of service status summary. Please help.
Upon some investigation we found that when the nrpe service is stopped or not responding we are getting this status. What bothers is that when this error is comes up, the service ends up without any status (none of OK/Warning/Critical/Unknown) and no email is sent out for the service being down/unknown nor is it shown in the stats of service status summary. Please help.
Re: No status for the error -Return code of 255 is out of bo
You should actually get a "connection refused" it the service is stopped and the port not active. Out of bounds errors are usually due to a plugin not exiting with an exit code. Can you run the check from the cli and then check the exit code?
Code: Select all
./check_nrpe -H <host> -c <command>
echo $?Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: No status for the error -Return code of 255 is out of bo
When you run the check from the CLI, and get "255 is out of bounds" message, what is the exit status code?
Code: Select all
echo $?Be sure to check out our Knowledgebase for helpful articles and solutions!
-
litsupport.box
- Posts: 80
- Joined: Wed Apr 02, 2014 7:24 am
Re: No status for the error -Return code of 255 is out of bo
If you get this error on only one or two hosts you could remove them from nagios / remove services -> remove host / and then add it back and see what happens. I got this message when checking with vmware_api plugin with a mod gearman worker. When testing the check it works, but for some reason it gave me false/positives.. anyway you could try.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
Re: No status for the error -Return code of 255 is out of bo
MSPk, any updates?
Be sure to check out our Knowledgebase for helpful articles and solutions!