I have Nagios XI running on 64-bit Centos 5.6. I used the RADIUS config wizard to setup a new monitor for a RADIUS host. However I'm getting this error on all service checks for this monitor:
Return code of 126 is out of bounds - plugin may not be executable
The command associated with the service is:
check_radius_server_adv!-u "adv-radius-svc" -p "*********" -s "************"
However this command doesn't exist in /usr/local/nagios/libexec. (There is a script named check_radius_adv). The current version of the RADIUS config wizard is version 1.3 (latest).
Any ideas on how I can resolve this?
Thanks
-Jericho
RADIUS monitor Return code of 126 is out of bounds
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: RADIUS monitor Return code of 126 is out of bounds
What are the permissions on that radius plugin?
Code: Select all
ll //usr/local/nagios/libexec/check_radius_advNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: RADIUS monitor Return code of 126 is out of bounds
-rwxr-xr-x. 1 root root 23327 Dec 3 2012 /usr/local/nagios/libexec/check_radius_adv
Re: RADIUS monitor Return code of 126 is out of bounds
Run the following command:
and see if this is going to fix your issue.
Code: Select all
chown nagios:nagios /usr/local/nagios/libexec/check_radius_advBe sure to check out our Knowledgebase for helpful articles and solutions!