I\'ve deployed OpenNMS through the docker images and have SNMPv3 polling working but haven\'t been able to get SNMPv3 traps or informs working.
trapd-configuration.xml:<
Can you please try the following:
open the $OPENNMS_HOME/etc/service-configuration.xml
and start the Trapd daemon after the AsteriskGatway
service. To do this locate the following XML block:
<service enabled="true">
<name>OpenNMS:Name=Trapd</name>
<class-name>org.opennms.netmgt.trapd.jmx.Trapd</class-name>
<invoke method="init" pass="0" at="start"/>
<invoke method="start" pass="1" at="start"/>
<invoke method="status" pass="0" at="status"/>
<invoke method="stop" pass="0" at="stop"/>
</service>
By default Trapd is started after the Correlator
. Cut & Paste the whole service definition block after the AsteriskGateway
service:
<service enabled="false">
<name>OpenNMS:Name=AsteriskGateway</name>
<class-name>org.opennms.netmgt.asterisk.agi.jmx.AsteriskGateway</class-name>
<invoke method="init" pass="0" at="start"/>
<invoke method="start" pass="1" at="start"/>
<invoke method="status" pass="0" at="status"/>
<invoke method="stop" pass="0" at="stop"/>
</service>
Can you try to get SNMPv3 Traps processed now?