Creating snmpv3 user in snmptrapd is nothing but  adding below line to
/etc/snmp/snmptrapd.conf . Am I correct?
I did added following lines to snmptrapd.conf file and restarted it
----------------------------------------------------------------------------------------------------------------------
createUser -e 0x8000xxxx0300b0ad000001 traptest1 SHA mypassword AES
authUser log traptest1
----------------------------------------------------------------------------------------------------------------------

Result: I can see traps but there is error and following is 'snmptrapd'
log

usm: usm: USM processing begun...
USM processing begun...
usm: usm: match on user traptest1
match on user traptest1
*usm: no match on engineID* (80 00 xx xx 03 00 B0 AD 00 00 01 usm: no match
on engineID (80 00 xx xx 03 00 B0 AD 00 00 01 )
)
usm: usm: match on user traptest1
match on user traptest1
usm: usm: Verification succeeded.
Verification succeeded.
usm: usm: USM processing completed.
USM processing completed.
2014-12-23 13:08:42 192.168.103.162 [UDP:
[192.168.103.162]:51192->[192.168.103.131]]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (69) 0:00:00.69
SNMPv2-MIB::snmpTrapOID.0 = OID:
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification
NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger = INTEGER: 11
2014-12-23 13:08:42 192.168.103.162 [UDP:
[192.168.103.162]:51192->[192.168.103.131]]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (69) 0:00:00.69
SNMPv2-MIB::snmpTrapOID.0 = OID:
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification
NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger = INTEGER: 11


Kindly let me know if I am not configuring snmpv3 user in snmptrapd
properly.



On Tue, Dec 23, 2014 at 12:06 PM, Wes Hardaker <
harda...@users.sourceforge.net> wrote:

> Pushpa Thimmaiah <pushpa.thimma...@gmail.com> writes:
>
> > I am implementing traps and  have changed 1-4th octet of engineID
> > (0x8000xxxx0300b0ad000001) with my company's enterprise oid and added
> > the same engineID (0x8000xxxx0300b0ad000001) in snmptrapd.conf. But
> > trapreceiver 'snmptrapd' shows usm: no match on engineID .
>
> It's likely that the snmpv3 users you created in the snmptrapd were not
> created with the right engineId.
>
> So, yes you're allowed to change them, and in fact there are configure
> script options to help you, but you need to make sure the users are
> created with the right engineId too.
> --
> Wes Hardaker
> Parsons
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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