I am confusing between to community key one which is store in cat /etc/raddb/snmp.cong

smux_password = verysecret

and second which is located in /etc/snmp/snmpd.conf

smuxpeer .1.3.6.1.4.1.3317.1.3.1 verysecret
rocommunity public 


so which one i use to query to freeradius ??

verysecret ???
public ????

can any one explain me which one i use with snmpwalk command public or verysecret  ???

when i use public i it give me system information not radius
and when i use verysecret it give me nothing timeout ???




Kevin Bonner <keb@pa.net> wrote:
On Wednesday 28 March 2007 08:17:00 satish patel wrote:
> 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.

This looks good. It successfully registered with the local SNMP daemon, which
means FreeRADIUS is built with SNMP support and is properly configured.

> 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

This looks correct as well. Make sure the public community has permission to
view that OID tree. I did test my local SNMP config and receive the same
results when I restrict the public community from accessing that OID.

Kevin Bonner
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



$ 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