radius checks

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Wed Mar 4 16:35:47 CET 2009


Fairly busy at the moment, but getting check_radius to work is a bit
tedious.  This plugin actually checks to see if it gets a valid response
from the radius daemon against an actual user, not just if the port is
open.  So, you've got to setup the clients and users files correctly on the
radius server.  You've also got to install a radius client on the nagios
server and configure its conf file as well.  The actual check command looks
something like:

define command {
  command_name check_radius
  command_line $USER1$/check_radius -H $HOSTADDRESS$ -F
/etc/radiusclient/radiusclient.conf -u <valid user in users file> -p
<password> -P 1812
}


James Moseley




                                                                           
             Jason Frisvold                                                
             <frisvolj at lafayet                                             
             te.edu>                                                    To 
                                       nagios-users at lists.sourceforge.net  
             03/04/2009 09:09                                           cc 
             AM                                                            
                                                                   Subject 
                                       [Nagios-users] radius checks        
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

             I'm at wits end here trying to figure out how to monitor
radius with
nagios.  I have tried multiple plugins, but all to no avail.

             I tried the check_radius plugin that ships with
nagios-plugins, but I
kept getting "Auth failed" and no packets were ever sent to my radius
server.

             I tried radauth from NagiosExchange (both the original and the
updated
radauth.c) and they failed with error in radius about malformed packets.

             I moved on to radius_check_adv and radius_check_ih, both from
NagiosExchange, and they both fail with errors about the secrets not
being correct, though I have checked them multiple times and even tried
configuring them as testing123 and test and nagios and more.  radtest
(from freeradius) can authenticate with no problem using the same secrets.

             What am I missing?  Is there some super-secret config switch I
need to
set or something?

Thanks!

- --
- ---------------------------
Jason Frisvold
Network Engineer
frisvolj at lafayette.edu
- ---------------------------
"What I cannot create, I do not understand"
   - Richard Feynman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFJrpmqO80o6DJ8UvkRAi44AKCIyVxPa8uObJE2hyxB+5UsMd6DKgCfbbfO
SJnLNpdBeqlGDs8NwiTjuAA=
=r8Fh
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list