SNMP support for radius problem

satish patel linuxtrap at yahoo.co.in
Wed Mar 28 14:17:00 CEST 2007


Dear 


              I have useing freeradius since long time and it is working fine for me but i have some issue thats why i want support for SNMP. means i want to monitor my remote freeradius server through SNMP but it is not work i have read many document FAQ  but i didn't get satisfectory ans... 

My configuration 

I have compile freeradius with snmp support ( --with-snmp )

$ cat /etc/raddb/snmp.conf

smux_password = verysecret
snmp_write_access = no



$ cat /etc/snmpd/snmpd.conf   <---add this line

smuxpeer .1.3.6.1.4.1.3317.1.3.1 verysecret

restart snmpd daemon 

$radiusd -X          <--- debug mode 

 main: smux_password = "verysecret"
 main: snmp_write_access = no
SMUX connect try 1
SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
SMUX open progname: radiusd
SMUX open password: verysecret
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
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
SMUX read start
SMUX read len: 12
SMUX message received type: 67 rest len: 4
SMUX_RRSP
SMUX_RRSP value: 0 errstat: 0
--- Walking the entire request list ---
Nothing to do.  Sleeping until we see a request.

Now i have run snmpwalk but i didnt get any output from radius

$snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.67.1.1.1.1
End of MIB

also i have try many veriasion with MIB but i didntget ans  and i m confusing about snmp community

when i try with   this community  verysecret   i got Time out 

so what is the difference between verysecret  and public  ???  which comunity i use to qurey with my freeradius and how can i check my radius comiple successfuly with SNMP support ???











$ cat ~/satish/url.txt

System administrator ( Data Center )

please visit this site

http://linux.tulipit.com   
 				
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070328/fabb17e2/attachment.html>


More information about the Freeradius-Users mailing list