hai, I tried to find out the way but was not able to do so. Any help would be greatly appreciated. Sorry for resending. bye.
On Wed, 20 Oct 2004, madanagopal wrote: > 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
