Re: access to agent extension problem
姜宇 (Anthony Jiang) <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2011/3/4 姜宇 (Anthony Jiang) <[email protected]> > Hi, > I developed an agent extension using dlmod method and added a > read/write user, but cannot get any output when using SNMPv3. > > The situation is like this: > snmpget -v2c -c public localhost sysDescr.0 #This works fine > snmpget -v2c -c public localhost customMIB.1.1.0 #This works fine > snmpget -v3 -l authPriv -u user_name -a SHA -A authPhrase -x AES -X > privPhrase localhost sysDescr.0 #This works fine > > but when using SNMPv3 to access customMIB.1.1.0, snmpd received the packet, > but does not reponse. > snmpget -v3 -l authPriv -u user_name -a SHA -A authPhrase -x AES -X > privPhrase localhost customMIB.1.1.0 #No reponse > > Could any one tell me what this problem could be? > > > -- > I tried to solve this problem for a while, and found out that shouldn't put the blame on access control or usm configuration. It seems that SNMPv3 has some issue on multiprocessing problem. I forked a child to write something into a fifo( child sleeps for 2 seconds), and read from the parent process. It works fine with SNMPv2, but fails when using SNMPv3. -- Best Wishes, 姜 宇 <[email protected]> Anthony Jiang <[email protected]> ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users