Able to send v2 traps but Issue in sending v3 traps

This is a discussion on Able to send v2 traps but Issue in sending v3 traps within the SNMP Coders forums, part of the Networking and Network Related category; Hello, I am facing problem sending SNMPv3 traps to the trap listener (snmptrad , AdventNet Trap Listener) from the agent which ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2007
gauravmeh2004@indiatimes.com
 
Posts: n/a
Default Able to send v2 traps but Issue in sending v3 traps

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/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0