Hi, I have a requirement to monitor freeradius with snmp. According to the freeradius web site and other sources I've done the following... 1. compiled freeradius with the '--with-snmp' option 2. modified the freeradius snmp.conf file to include smux_password = verysecret 2. modified the radiusd.conf file with snmp = yes $INCLUDE ${confdir}/snmp.conf 3. modified the net-snmp snmpd.conf file to include smuxpeer .1.3.6.1.4.1.3317.1.3.1 verysecret 4. started the radiusd and snmpd daemons. When I do an 'snmpwalk -v1 -c public localhost system' I get the 'system' info from the MIB (as expected). When I walk enterprises.3317 I get nothing. I didn't actually expect to get much as I have a huge gap in my knowledge which is the smux. I'm not sure how it works or how I implement it successfully. Has anyone implemented an smux or monitoring freeradius with snmp. If you have, It would be great if you would impart with any knowledge you may have so I can sort this out. Thanks for your time Regards Andy -- perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=<D+ ^" This e-mail is private and may be confidential and is for the intended recipient only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed. If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it. We use reasonable endeavours to virus scan all e-mails leaving the Company but no warranty is given that this e-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor e-mail communications through our network is reserved by us.
Andy Ford <andy.ford@telindus.co.uk> wrote:
1. compiled freeradius with the '--with-snmp' option
Did the "configure" process find the SNMP information it needed? Does src/include/autoconf.h have a line like: #define WITH_SNMP 1 ?
2. modified the radiusd.conf file with
snmp = yes $INCLUDE ${confdir}/snmp.conf
When the server starts, does it say anything about connecting to SMUX peer? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
On Friday 04 August 2006 09:59, Andy Ford wrote:
4. started the radiusd and snmpd daemons.
Sounds good so far. When you run in debug mode, does the SMUX registration work properly? You should see something similar to this: SMUX connect try 1 SMUX open oid: 1.3.6.1.4.1.3317.1.3.1 SMUX open progname: radiusd SMUX open password: somesecretpass SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1 SMUX register priority: -1 SMUX register operation: 1 SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1 SMUX register priority: -1 SMUX register operation: 1
When I walk enterprises.3317 I get nothing.
The mibs directory has loadable files so that you can use pretty names (radiusAuthServIdent) instead of OIDs in your queries. If you're just looking for confirmation that FR+SNMP is working, you can run: $ snmpwalk -v1 -c public localhost mib-2.67.1.1.1.1.1.0 RADIUS-AUTH-SERVER-MIB::radiusAuthServIdent.0 = STRING: FreeRADIUS Version 1.1.2, for host , built on Jul 6 2006 at 12:59:53 Kevin Bonner
participants (3)
-
Alan DeKok -
Andy Ford -
Kevin Bonner