[Nagiosplug-help] I can't figure out check_radius

Kevin Hanser kevin at mica.net
Wed Aug 10 12:26:14 CEST 2005


Ok, nevermind, I'm officially an idiot.

Tried the same command as root, and now it works fine... d'oh!

k

On Wed, 2005-08-10 at 15:07 -0400, Kevin Hanser wrote:
> I can't seem to get check_radius to work for me.  I'm running on Gentoo
> linux, and I have the radiusclient libraries installed and it made the
> check_radius binary during the build of the plugins, so I think I got
> that part ok.
> 
> I can't figure out what I'm doing wrong, because whenever I try testing
> from the command line, all I get is "Auth Error".  The thing is, it
> doesn't even look like it's hitting my radius server (it's a different
> machine), because the radius logs don't show a failed login like they
> would if someone had tried to connect and failed.
> 
> I've modified /etc/radiusclient/radiusclient.conf:
> 
> authserver	my.radius.server.com
> acctserver	my.radius.server.com
> 
> and I added a shared key in /etc/radiusclient/servers:
> 
> my.radius.server.com		soopasecretkey
> 
> On my radius server, I added an entry for my nagios machine in
> clients.conf:
> 
> client xxx.xxx.xxx.xxx {
> 	secret		= soopasecretkey
> 	shortname	= nagiosserver
> 	nastype		= other
> }
> 
> And I've added a user for nagios in the raddb/users file as well.
> 
> But when I run check_radius, all I get is "Auth Error":
> 
> $ ./check_radius -H xxx.xxx.xxx.xxx
> -F /etc/radiusclient/radiusclient.conf -u nagios at mydomain.com -p
> mypassword -P 1812
> Auth Error
> 
> Yet the logs on the radius server show no activity... no failed login,
> nothing...
> 
> Anyone know what I'm missing?
> 
> thx
> 
> k
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list