hai, I want to send a v3 trap using snmptrap utility and from agent. I added the following line in /var/net-snmp/snmptrapd.conf:
createUser -e 0x1234567890 testuser MD5 testpasswd and started snmptrapd and issued the following command: snmptrap -e 0x1234567890 -v3 -u testuser -a MD5 -l authNoPriv -A testpasswd 192.168.9.32 '' .1.3.6.1.4.1.1000 snmptrapd is now able to receive the trap. Now i want to send the trap from agent. I created varbinds and generated the trap using send_v2trap(). I added the following line in /usr/local/share/snmp/snmpd.conf: trapsess -e 0x1234567890 -v3 -u testuser -a MD5 -l authNoPriv -A testpasswd 192.168.9.32 But snmptrapd is not able to receive the trap. In the snmpd.log i get the following: snmp_parse: Parsed SNMPv3 message (secName:testuser, secLevel:authNoPriv): USM unknown engineID Using trapsess -v2c -c public 192.168.9.32 works. How to send a v3 trap from agent? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
