Unfortunately I am not able to get this to work.

In the sending unit I have snmpd.conf
trapsess -r 3 -t 1500 -Ci  -e 0x80000523010a0b0cab -l authPriv -u jlnewuser -a M
D5 -A abcdefgh -x DES -X abcdefgh 10.11.12.32

I send a trap via send   send_v2trap(var_list);

In the trap receiver (snmptrapd) in snmptrapd.conf I have 
createUser -e 0x80000523010a0b0cab jlnewuser MD5 abcdefgh DES abcdefgh


when the trap is received the authoritative engine id is the engine id of the 
unit where the trap is being sent from which is not the engineid specified in 
the trapsess cmd.
dumph_recv:     msgAuthoritativeEngineID
dumpx_recv:      04 0B 80 00 1F 0E 03 00 07 C1 50 03 AF
usm: no match on engineID (80 00 1F 0E 03 00 07 C1 50 03 AF )

So the receiver does not accept it unless I specify the correct engine id of 
the sending unit.

Am I doing something wrong - based on your response it sounds like I should be 
able to get this to work.
Thanks

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Dave Shield
Sent: Tuesday, July 12, 2011 4:15 AM
To: Joan Landry
Cc: [email protected]
Subject: Re: snmptrapd - unable to receive traps

On 11 July 2011 18:50, Joan Landry <[email protected]> wrote:
> I would like to use v3 traps instead of informs
> How do I get the snmptrapd to discover the engine id of the trap sender?

You can't - there's no concept of engine discovery in this scenario.


>  I do not want to specify the engine id of each station that is
> sending traps to my trap receiver in my snmptrapd.conf file.

This is where the -e option comes into play.
Rather than configuring your trap receiver with the engineID of
every single trap sender - you can simply lie.
  Configure the trap receiver with a single, fixed engine ID,
and then specify this engine ID as part of the "trapsess" entry
in each snmpd.conf file.

That way everyone is agreed on the engineID to use - even if
it's not strictly the "correct" one.

Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to