RE: snmptrapd can't log V3 traps

"Ron Rader" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6BA04340F278EB47AB42AAF2EED9CBBA03BC13BA@dellserver.cipheroptics.local>
  In the "answer your own questions" department, I was able to get V3
traps working between my 5.4.1 snmpd agent and 5.5 snmptrapd receiver.

  I had a host of problems related to manipulating both ends
simultaneously.  Once I focused on convincing snmptrapd to log local V3
traps with help from the tutorial:

http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_rece
ive_SNMPv3_notifications

things became somewhat easier.  The hardest (and most crucial part) was
determining the agent's automatically generated Engine ID.  I noticed
that the Engine ID gets written to the agent's persistent store in
/var/net-snmp/snmpd.conf and ended up copying that to the recipient's
configuration.

  Anyway, here are my more or less working configuration files:

[snmptrapd.conf]

logOption f C:/log/snmptrapd.log
createUser -e 0x80001F88803ff10c834c0569cc testtrap MD5 testpassword
authUser log testtrap

[snmpd.conf]

trapcommunity public
authtrapenable 1

createUser testtrap
rouser testtrap
trapsess -v 3 -u testtrap -l authNoPriv -a MD5 -A ceppassword
192.168.1.129

  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
[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.