Return Code of 127 is out of bounds
Return Code of 127 is out of bounds
The host status and HTTP service status for every website I am monitoring is returning an error of "Return code of 127 is out of bounds. Check if plugin exists". I checked and the Check_http plugin is in the correct directory
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return Code of 127 is out of bounds
Can you please provide the command definition that you checks are using and the command configuration for that command from the CCM.
Thanks
Thanks
Re: Return Code of 127 is out of bounds
There is the commands that the host and services are using. And there is the check_http command config
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return Code of 127 is out of bounds
And what is the output of the following
Code: Select all
grep USER1 /usr/local/nagios/etc/resources.cfg
ls -al /usr/local/nagios/libexec/check_httpRe: Return Code of 127 is out of bounds
There is the output
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return Code of 127 is out of bounds
sorry I typo'd
also run the following because these permissions are not correct
Code: Select all
grep USER1 /usr/local/nagios/etc/resource.cfgCode: Select all
chmod u-s /usr/local/nagios/libexec/check_http
chmod ug+wx /usr/local/nagios/libexec/check_httpRe: Return Code of 127 is out of bounds
No worries. Here is the output
You do not have the required permissions to view the files attached to this post.
Re: Return Code of 127 is out of bounds
Hey Scott do you have any further suggestions.?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Return Code of 127 is out of bounds
That should do it, unless there are further permissions errors, If it is not resolved then send the output of these
Code: Select all
ls -ld /usr/local/nagios/libexec
ls -ld /usr/local/nagiosRe: Return Code of 127 is out of bounds
No its still broke. Heres the output
You do not have the required permissions to view the files attached to this post.