Hi,

With the following snmpd.conf with default context I can perform
snmpwalk -v 3 -u public -a MD5 -A public123 -l authNoPriv
localhost:1161 UCD-SNMP-MIB::dskEntry
(it works)

agentaddress 1161
## SNMPv3 config
## Comment out the following lines if you don't want SNMPv3 configuration
##
# engineID in hex 0x80001f88043130783878323378313538
engineID 10x8x23x158

createUser public MD5 public123

rwuser public
com2sec public  default public
#com2sec public  default public
group   mygroup  v1      public
group   mygroup  v2c     public
group   mygroup  usm     public
view    all     included        .1.3.6.1.4.1.2021
access  mygroup ""      any     noauth  exact   all     none    none

disk /

I have a binary that is collecting stats from this agent on port 1161
and another running on port 161. I figured this may be because both
the agents use default context, so to the agent with the above config
I tried adding context based on an earlier e-mail thread as below.


agentaddress 1161
## SNMPv3 config
## Comment out the following lines if you don't want SNMPv3 configuration
##
# engineID in hex 0x80001f88043130783878323378313538
engineID 10x8x23x158

createUser public MD5 public123

rwuser public
com2sec –Cn ucd public  default public
#com2sec public  default public
group   mygroup  v1      public
group   mygroup  v2c     public
group   mygroup  usm     public
view    all     included        .1.3.6.1.4.1.2021
access  mygroup ucd     any     noauth  exact   all     none    none

disk /

After the above change

snmpwalk -v 3 -u public -a MD5 -A public123 -l authNoPriv
localhost:1161 UCD-SNMP-MIB::dskEntry
works, but
snmpwalk -v 3 -u public –n ucd -a MD5 -A public123 -l authNoPriv
localhost:1161 UCD-SNMP-MIB::dskEntry
( I get a timeout )


Greatly appreciate any help in understanding and resolving this issue.

Thanks
Aravind

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to