Configuring Net-SNMP 5.3.1 to send/receive SNMPv3 traps

thee.johnatron <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I recently downloaded and installed Net-SNMP 5.4.1 on my RHEL4 development
box at work.  I configured snmpd to send SNMPv3 traps to localhost, and
snmptrapd successfully received them.  I also wrote an agentX subagent that
was able to send traps via the API.

The target platform for my project uses RHEL5.  Therefore, it would be ideal
to use Net-SNMP 5.3.1 because that is the version offered by the Red Hat
rpm.  However, I am not able to successfully configure Net-SNMP to
send/receive SNMPv3 traps for version 5.3.1.

I have successfully configured 5.3.1 to send and receive SNMPv2c traps.
Evidence of this is the receipt of a coldStart trap by snmptrapd, sent from
snmpd.  Additionally, my agentX subagent works correctly, so I know I am
using compatible API calls.

After many hours of combing through the mailing lists, trying different
configurations, reading RFCs and analyzing packets with WireShark,  I am
unable to successfully configure v3 traps for 5.3.1, and I still do not have
a definitive answer to my question:

***
Is it possible to configure Net-SNMP 5.3.1 to successfully send and receive
SNMPv3 traps?  If so, how?
***

Below I have included the files that successfully configured v3 traps for
Net-SNMP 5.4.1 but have failed for 5.3.1.  Note, I have tried numerous
configurations with the –e and –E flags with no luck.  I have also
successfully sent/received SNMPv3 traps via the command line app snmptrap.

*** /etc/snmp/snmpd.conf ***

engineIDType 3

rouser myUser priv

trapsess –v 3 –u myUser –a SHA –A myAuthKey –x AES –X myPrivKey –l authPriv
localhost

master agentx

agentXSocket /var/agentx/master

*** /var/net-snmp/snmpd.conf ***

createUser myUser SHA myAuthKey AES myPrivKey

*** /etc/snmp/snmptrapd.conf ***

authUser log,execute,net myUser priv

*** /var/net-snmp/snmptrapd.conf ***

createUser –e 0x<engineID> myUser SHA myAuthKey AES myPrivKey

Any help is greatly appreciated.

Cheers

Johnny

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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