SNMP v3 trapd

Moacir Ferreira <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <HE1P190MB01883880128FCF19A3AFDD34C8220@HE1P190MB0188.EURP190.PROD.OUTLOOK.COM>
I am trying to setup opennms to receive snmp v3 traps and trigger a "new-suspect-on-trap". Based on the docs and some research on the Internet I have configured opennms as below. Now, when I run the command for testing my setup I get a log: "2017-11-20 22:01:55,801 DEBUG [DefaultUDPTransportMapping_0.0.0.0/162] o.s.s.USM: RFC3414 §3.2.4 Unknown security name: 74:65:73:74:55:73:65:72". However, if I run the command for testing as soon as the trapd service starts, it works. So, in somehow after all opennms services are running the system can not process v3 traps anymore.


My test command is: snmptrap -v 3 -u testUser -a MD5 -A VerySecret -l authPriv -x DES -X VerySecret localhost 42 coldStart.0


My snmp and trapd configurations are:


#cat snmp-config.xml
<snmp-config
  xmlns="http://xmlns.opennms.org/xsd/config/snmp"
  auth-passphrase="VerySecret"
  auth-protocol="MD5"
  privacy-passphrase="VerySecret"
  privacy-protocol="DES"
  security-name="testUser"
  version="v3"
/>

#cat trapd-configuration.xml
<trapd-configuration
  xmlns="http://xmlns.opennms.org/xsd/config/trapd"
  snmp-trap-address="*"
  snmp-trap-port="162"
  new-suspect-on-trap="true"
  include-raw-message="false"
  threads="0"
  queue-size="10000"
  batch-size="1000"
  batch-interval="500">
  <snmpv3-user
        security-name="testUser"
        security-level="3"
        auth-passphrase="VerySecret"
        auth-protocol="MD5"
        privacy-passphrase="VerySecret"
        privacy-protocol="DES"
  />
</trapd-configuration>


What am I missing? Any hint?


Thanks,

Moacir

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
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.