opennms snmpv3 traps and informs

前端 未结 1 1550
挽巷
挽巷 2021-01-24 18:56

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:<

相关标签:
1条回答
  • 2021-01-24 19:49

    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?

    0 讨论(0)
提交回复
热议问题