Able to send v2 traps but Issue in sending v3 traps

[email protected]
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I am facing problem sending SNMPv3 traps to the trap listener (snmptrad , AdventNet Trap Listener) from the agent which i have compiled as Master - subagent configuration(Agentx)


Following is the configuration i did in /usr/local/share/snmp/snmpd.conf
================================================================================
com2sec  v3_user    localhost     v3_private
group       v3_group   usm           v3_user
rwuser     v3_user     auth
view        all             included      .1          80
access    v3_group    ""              any       noauth   exact  all    all    none

master  agentx
AgentXSocket	tcp:localhost:706

trapsess -e 0x0102030405 -v 3 -u v3_user -a MD5 -A mysecretpass -l authNoPriv localhost:162
snmpsess -e 0x0102030405 -v 3 -u v3_user -a MD5 -A mysecretpass -l authNoPriv localhost:162
=================================================================================


Following is the configuration for /usr/local/share/snmp/snmptrapd.conf
======================================================
logoption  o
ignoreauthfailure  no
authCommunity log v3_private
======================================================


Following lines were added in /var/net-snmp/snmpd.conf & /var/net-snmp/snmptrapd.conf 
===================================================================
snmpd.conf      ---->      createUser v3_user MD5 mysecretpass DES mypassphrase
snmptrapd.conf ---->      createUser 0x0102030405 v3_user MD5 mysecretpass DES mypassphrase

===================================================================


Problem is that when i run "snmptrapd -Dusm -P" and the run my agent from where i send trap using "send_v2trap()" it gives me following error and no traps are recieved 

USM processing begun...
usm: usm: match on user v3_user
match on user v3_user
usm: no match on engineID (80 00 1F 88 04 53 54 52 49 4E 47 usm: no match on
engineID (80 00 1F 88 04 53 54 52 49 4E 47 )
)
usm: usm: match on user v3_user
match on user v3_user
usm: usm: Verification succeeded.
Verification succeeded.
usm: usm: USM processing completed.
USM processing completed.


Could u help me in this case as when i use "trap2sink localhost v3_private" directive in snmpd.conf then i am able to recieve the traps but these are V2 trap.How to get V3 traps


Thanks
Gaurav

--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.