I am doing the same thing and have found after several days of trial and error that the following works for sending v3 traps in snmpd.conf Instead of using trap2sink you need to use: trapsess -l authPriv -u v3user2 -a MD5 -A abcdefgh -x DES -X abcdefgh 10.11.12.171\n");
And this for sending informs trapsess -Ci -e remoteengineid -l authPriv -u v3user2 -a MD5 -A abcdefgh -x DES -X abcdefgh 10.11.12.171\n"); where v3user2 is defined in the remote station also. Only I see no way to get filtering to work. -----Original Message----- From: Ron Rader [mailto:ron.ra...@cipheroptics.com] Sent: Thursday, May 27, 2010 2:47 PM To: net-snmp-users@lists.sourceforge.net Subject: How to send V3 traps from enterprise MIB modules? Apologies if this is better suited to the coders list, I'm hoping I can accomplish my task with some clever manipulation of snmpd.conf. I maintain an embedded v5.4.1 installation that includes a number of enterprise-specific traps. These are generated using send_v2trap(). V2C traps work just fine. Now I need to know how to send V3 traps. I know I'll have to add appropriate auth user support to snmpd.conf. My experiments thus far have not been fruitful. My agent generates V2C traps but does not appear to attempt any V3 traps. The guides and tutorials I've found suggest generating traps with the "snmptrap" system command and the -v3 option. This isn't useful for my enterprise traps. I feel like I'm missing something obvious. How can I configure my agent to enforce the V3 authentication (and maybe encryption) capabilities on the V2C traps that it currently generates? Thanks, Ron The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you. ------------------------------------------------------------------------ ------ _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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