Page 1 of 1

RADIUS monitor Return code of 126 is out of bounds

Posted: Tue Oct 29, 2013 3:56 pm
by jericho_g
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

Re: RADIUS monitor Return code of 126 is out of bounds

Posted: Tue Oct 29, 2013 4:17 pm
by sreinhardt
What are the permissions on that radius plugin?

Code: Select all

ll //usr/local/nagios/libexec/check_radius_adv

Re: RADIUS monitor Return code of 126 is out of bounds

Posted: Tue Oct 29, 2013 5:15 pm
by jericho_g
-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

Posted: Wed Oct 30, 2013 10:31 am
by lmiltchev
Run the following command:

Code: Select all

chown nagios:nagios /usr/local/nagios/libexec/check_radius_adv
and see if this is going to fix your issue.