Hi List, I am currently facing the following problem. Either I was unable to correctly use the perl interface to SNMP for sending SNMP traps using SNMPv3 or there is perhaps a bug?
Some points about my environment, and what I did so far: On my machines there is snmp-5.5 installed. I set up a trap receiver using snmptrapd. I am able to successfully send traps to snmptrapd using perl via SNMPv2. I am able to successfully send (SNMPv2 and SNMPv3) traps to snmptrapd using the CLI tool snmptrap. snmptrap -e 0x0102030405 -v 3 -u username -a MD5 -A authpassphrase -l authPriv -x DES -X privpassphrase 10.0.4.121 42 coldStart.0 Unfortunately I cannot send SNMPv3 Traps using perl. Here is a code snipplet to show up how I am trying to acchieve this. my $session = SNMP::TrapSession->new( RemotePort => 162, DestHost => "10.0.4.121", Version => 3, SecLevel => "authPriv", SecName => "username", AuthProto => "MD5", AuthPass => "authpassphrase", PrivProto => "DES", PrivPass => "privpassphrase", ErrorStr => $error, ); Then I send the trap via $session->trap(...). I used tshark on the reciever to see if there is anything coming in. What I can see is, that the secEngineId is negotiated between sender and reciever, but no trap is sent. Do you have any idea what is happening and what to do for getting this to work? Many thanks in advance! Florian ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ 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