Re: snmptrapd - unable to receive traps

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>>>>> On Tue, 12 Jul 2011 14:15:59 +0000, Joan Landry <[email protected]> said:

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

But there you're adding both the -e and the -Ci option (and based on
your original message, you don't want the -Ci because you want to use traps).

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

But with INFORMs it won't work, because the USM agent will only accept
engineIDs that are it's own when it's authoritative (which it is in the
case of an INFORM).

So, either:

1) remove the -e's and use INFORMs
2) remove the -Ci and use TRAPs

   (note that you don't need the -e on the trapsess line if you use the
   same engineID as the agent, which it'll use by default; you just need
   to tell snmptrapd to create a user with the snmpd agent's engineid).


-- 
Wes Hardaker
SPARTA, Inc.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.