Plugin missing even though it is there


Hi to all,

I installed check_radius_adv succesfully. I manually run it using the username,password,etc of the radius server and it works. The problems is when I configure nagios, it doesn’t work. Mostly, it shows “(Return code of 127 is out of bounds - plugin may be missing)” but sometimes it shows “ACCEPT” to some servers meaning it is working. I renamed check_radius_adv to check_rad.

Here is the checkcommands.cfg

define command{
command_name check_rad
command_line $USER1$/check_rad -H $HOSTADDRESS$ -r $ARG1$ -u radius
-p radpassword -s Zito73 -c 1645

Here is the bigger.cfg

define service{
use generic-service
host_name radius1
service_description RAD-AUTH
check_command check_rad!X.X.X.X

Is there anything wrong in the config files? How come it shows “plugins missing” when it is there? Why is it sometimes plugins is successful but mostly return an error “plugins missing”?