Hi, More on the inform issue in v3. I decided to use "snmptrap" and "snmptrapd" both running 5.5 and here are the details. I am not sure whether this is a config issue or there is some issue with inform in v3.
I have snmptrad running on the local host. I sent an inform message to the trap-server with the following command: $ sudo snmptrap -Ci -v 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter localhost 0 linkUp.0 t->local = t->remote = sock = 3 flags = 0x0 local_addr: 0.0.0.0 0.0.0.0 162 snmpinform: Timeout (Sub-id not found: (top) -> linkUp) Since snmptrap did not complain, it did send the message out and did not get response from snmptrapd. At the snmptrapd, with some debugs enabled, I am getting the following errors: snmp_parse: Parsed SNMPv3 message (secName:inter, secLevel:noAuthNoPriv): USM unknown engineID snmp_parse: Parsed SNMPv3 message (secName:inter, secLevel:noAuthNoPriv): USM unknown engineID snmp_parse: Parsed SNMPv3 message (secName:inter, secLevel:noAuthNoPriv): USM unknown security name (no such user exists) Following is my snmptrapd.conf file: " # snmptrapd.conf doNotRetainNotificationLogs yes #authCommunity log,execute,net public authCommunity log,execute public authUser log,execute inter createUser -e 0x80001f888085b94c4882d8bc4b inter traphandle .1.3.6.1.6.3.1.1.5.3 log " Is there anything missing in the config file? I am looking forward to any help on this issue. Thanks, Fatima ---------- Forwarded message ---------- From: Fatima Peter <fatima.pe...@gmail.com> Date: Wed, Apr 7, 2010 at 1:20 PM Subject: Re: Help in getting inform work in v3 To: net-snmp-coders@lists.sourceforge.net I meant: snmpd-trapsess -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter -Ci 10.10.16.118:162 or snmpd-trapsess -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter -n inter -Ci 10.10.16.118:162 Here is my snmptrapd.conf file: " # snmptrapd.conf doNotRetainNotificationLogs yes #authCommunity log,execute,net public authCommunity log,execute public authUser log,execute inter createUser -e 0x80001f888085b94c4882d8bc4b inter traphandle .1.3.6.1.6.3.1.1.5.3 log " I invoke snmptrapd like below to accept informs: sudo /usr/local/sbin/snmptrapd -Dsnmptrapd -C -c /etc/snmptrapd.conf -Lf <filename> Thanks, Fatima On Wed, Apr 7, 2010 at 1:15 PM, Fatima Peter <fatima.pe...@gmail.com> wrote: > Hello, > We are using net-snmp version 5.5. I have v1/v2c/v3 traps working > fine and inform also seems to work well in v2c. We have tested it with > snmptrapd as well as with a 3rd party vendor tool. > > I seem to have problem getting inform work in v3. The informRequest > goes out to snmptrapd which immediately sends a report back. We have > captured this exchange in wireshark. Following is how trap is > configured: > > snmptrap -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u > inter -n inter -Ci <ipaddr>:162 > > > Though the engineID in Inform request matches the authoratative > engineID in the report, from what I can see it seems to fail because > of "unknwon engineID" > reports says: > error-status: noError > error-Index: 0 > > Is there anything wrong in the way we configure the trap? I have tried > without the "-n <name>" also. > > I would really appreciate your help in resolving the issue. > > Thanks in advance, > Fatima > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders