All Downloads are FREE. Search and download functionalities are using the official Maven repository.

opennms-overlay.etc.telemetryd-configuration.xml.j2 Maven / Gradle / Ivy

The newest version!
<?xml version="1.0"?>
<telemetryd-config>
    <listener name="Flow-UDP-50000" class-name="org.opennms.netmgt.telemetry.listeners.UdpListener" enabled="true">
        <parameter key="port" value="50000"/>
        <parameter key="host" value="0.0.0.0"/>

        <parser name="Netflow-5-Parser" class-name="org.opennms.netmgt.telemetry.protocols.netflow.parser.Netflow5UdpParser" queue="Netflow-5" />
        <parser name="Netflow-9-Parser" class-name="org.opennms.netmgt.telemetry.protocols.netflow.parser.Netflow9UdpParser" queue="Netflow-9" />
        <parser name="IPFIX-Parser" class-name="org.opennms.netmgt.telemetry.protocols.netflow.parser.IpfixUdpParser" queue="IPFIX" />
        <parser name="SFlow-Parser" class-name="org.opennms.netmgt.telemetry.protocols.sflow.parser.SFlowUdpParser" queue="SFlow" />
    </listener>

    <listener name="IPFIX-TCP-4730" class-name="org.opennms.netmgt.telemetry.listeners.TcpListener" enabled="true">
        <parameter key="port" value="4730"/>

        <parser name="IPFIX-TCP-Parser" class-name="org.opennms.netmgt.telemetry.protocols.netflow.parser.IpfixTcpParser" queue="IPFIX" />
    </listener>

    <listener name="JTI-UDP-50001" class-name="org.opennms.netmgt.telemetry.listeners.UdpListener" enabled="true">
        <parameter key="port" value="50001"/>

        <parser name="JTI-Parser" class-name="org.opennms.netmgt.telemetry.protocols.common.parser.ForwardParser" queue="JTI" />
    </listener>

    <listener name="NXOS-UDP-50002" class-name="org.opennms.netmgt.telemetry.listeners.UdpListener" enabled="true">
        <parameter key="port" value="50002"/>

        <parser name="NXOS-GPB" class-name="org.opennms.netmgt.telemetry.protocols.common.parser.ForwardParser" queue="NXOS" />
    </listener>

    <listener name="BMP-TCP-11019" class-name="org.opennms.netmgt.telemetry.listeners.TcpListener" enabled="true">
        <parameter key="port" value="11019"/>

        <parser name="BMP-Parser" class-name="org.opennms.netmgt.telemetry.protocols.bmp.parser.BmpParser" queue="BMP" />
    </listener>

    {# Only enable queue processing when Sentinel is not enabled. #}
    {% if model.getSentinels().isEmpty() %}
    <queue name="Netflow-5">
        <adapter name="Netflow-5-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.netflow.adapter.netflow5.Netflow5Adapter" enabled="true">
        </adapter>
    </queue>
    <queue name="Netflow-9">
        <adapter name="Netflow-9-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.netflow.adapter.netflow9.Netflow9Adapter" enabled="true">
        </adapter>
    </queue>
    <queue name="IPFIX">
        <adapter name="IPFIX-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.netflow.adapter.ipfix.IpfixAdapter" enabled="true">
        </adapter>
    </queue>
    <queue name="SFlow">
        <adapter name="SFlow-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.sflow.adapter.SFlowAdapter" enabled="true">
        </adapter>
    </queue>

    <queue name="JTI">
        <adapter name="JTI-GPB" class-name="org.opennms.netmgt.telemetry.protocols.jti.adapter.JtiGpbAdapter" enabled="true">
            <parameter key="script" value="etc/telemetryd-adapters/junos-telemetry-interface.groovy" />

            <package name="JTI-Default">
                <rrd step="300">
                    <rra>RRA:AVERAGE:0.5:1:2016</rra>
                    <rra>RRA:AVERAGE:0.5:12:1488</rra>
                    <rra>RRA:AVERAGE:0.5:288:366</rra>
                    <rra>RRA:MAX:0.5:288:366</rra>
                    <rra>RRA:MIN:0.5:288:366</rra>
                </rrd>
            </package>
        </adapter>
    </queue>

    <queue name="NXOS">
        <adapter name="NXOS-GPB" class-name="org.opennms.netmgt.telemetry.protocols.nxos.adapter.NxosGpbAdapter" enabled="true">
            <parameter key="script" value="etc/telemetryd-adapters/cisco-nxos-telemetry-interface.groovy" />

            <package name="NXOS-Default">
                <rrd step="300">
                    <rra>RRA:AVERAGE:0.5:1:2016</rra>
                    <rra>RRA:AVERAGE:0.5:12:1488</rra>
                    <rra>RRA:AVERAGE:0.5:288:366</rra>
                    <rra>RRA:MAX:0.5:288:366</rra>
                    <rra>RRA:MIN:0.5:288:366</rra>
                </rrd>
            </package>
        </adapter>
    </queue>

    <queue name="BMP">
        <adapter name="BMP-Telemetry-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.bmp.adapter.BmpTelemetryAdapter" enabled="true">

            <package name="BMP-Default">
                <rrd step="300">
                    <rra>RRA:AVERAGE:0.5:1:2016</rra>
                    <rra>RRA:AVERAGE:0.5:12:1488</rra>
                    <rra>RRA:AVERAGE:0.5:288:366</rra>
                    <rra>RRA:MAX:0.5:288:366</rra>
                    <rra>RRA:MIN:0.5:288:366</rra>
                </rrd>
            </package>
        </adapter>
        <adapter name="BMP-PeerStatus-Adapter" class-name="org.opennms.netmgt.telemetry.protocols.bmp.adapter.BmpPeerStatusAdapter" enabled="true">
        </adapter>
    </queue>

    {% else %}
    {# Sentinel is enabled. Define empty queues. Packets we receive won't get processed - tests should be sending these to a Minion instead #}
    <queue name="Netflow-5"/>
    <queue name="Netflow-9"/>
    <queue name="IPFIX"/>
    <queue name="SFlow"/>
    <queue name="JTI"/>
    <queue name="NXOS"/>
    <queue name="BMP"/>
    {% endif %}
</telemetryd-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy