[Nagiosplug-help] check_radius issue after 3.2.1 update

Alex alexd at cal.net
Fri Apr 30 20:10:40 CEST 2010


I had check_radius running perfectly on nagios 3.2.0. I ran 'yum update' on
CentOS and there was a new nagios package available.

Now nagios reports "Auth Error" when checking that service. The weird part
is that it works just fine if I issue the command from CLI, but when nagios
service runs it I can't even see a radius request coming from the nagios
system to the radius server.

 

define command {

command_name    check_radius

command_line    $USER1$/check_radius -H $HOSTADDRESS$ -F
/etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck 

}

 

[root at owl plugins]# ./check_radius.bak -V

check_radius v1994 (nagios-plugins 1.4.13)

 

[root at owl plugins]# ./check_radius -V

check_radius v1.4.14 (nagios-plugins 1.4.14)

 

[root at owl plugins]# /usr/lib/nagios/plugins/check_radius -H zeus2 -F
/etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck

Auth OK 

 

[root at owl plugins]# /usr/lib/nagios/plugins/check_radius.bak -H zeus2 -F
/etc/radiusclient/radiusclient.conf -u nagios -p nagioscheck

Auth OK

 

(On radius server when running check_radius from command line)

[root at zeus2 ~]# tcpdump -i eth0 dst port 1645

tcpdump: listening on eth0

10:13:39.204207 owl.domain.36491 > zeus2.domain.datametrics:  rad-access-req
58 [id 9] Attr[  Service_type{Authenticate Only} User{nagios} Pass [|radius]
(DF)

10:13:46.022804 owl.domain.46966 > zeus2.domain.datametrics:  rad-access-req
58 [id 10] Attr[  Service_type{Authenticate Only} User{nagios} Pass
[|radius] (DF)

 

I don't see any packets coming in when the nagios service is checking for
it.

 

Thanks for any suggestions

 

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100430/c992ea7e/attachment.html>


More information about the Help mailing list