IPFIX

The IP Flow Information Export (IPFIX) protocol is a vendor-neutral standard for transmitting traffic flow information. See Flow Support for details on flow support in Meridian.

IPFIX UDP Parser

The IPFIX UDP parser accepts packets received by a UDP listener and must forward them to an IPFIX adapter.

The IPFIX UDP parser supports protocol detection.

Facts

Class Name

org.opennms.netmgt.telemetry.protocols.netflow.parser.IpfixUdpParser

Parameters

Table 1. Parameters for the IPFIX UDP Parser
Parameter Description Required Default value

templateTimeout

Templates must be redeclared in the given duration or they will be dropped.

no

30 minutes

maxClockSkew

The maximum delta in seconds between exporter and Minion timestamps.

no

0

clockSkewEventRate

Used to rate-limit clock skew events in seconds.

no

3600

dnsLookupsEnabled

Used to enable or disable DNS resolution for flows.

no

true

sequenceNumberPatience

A value > 1 enables checking for seuqence number completeness. The value gives the size of the history buffer allowing flows to be processed out of order.

no

32

IPFIX TCP Parser

The IPFIX TCP Parser accepts packets received by a TCP Listener and must forward them to a IPFIX Adapter.

Facts

Class Name

org.opennms.netmgt.telemetry.protocols.netflow.parser.IpfixTcpParser

Parameters

This parser does not currently have any configurable parameters.

Configure IPFIX Listener on a Minion

To enable and configure a TCP Listener for IPFIX on Minion, connect to the Karaf Console and set the following properties:

$ ssh -p 8201 admin@localhost
...
admin@minion()> config:edit --alias tcp-50000 --factory org.opennms.features.telemetry.listeners
admin@minion()> config:property-set name IPFIX
admin@minion()> config:property-set class-name org.opennms.netmgt.telemetry.listeners.TcpListener
admin@minion()> config:property-set parameters.port 50000
admin@minion()> config:property-set parsers.0.name IPFIX
admin@minion()> config:property-set parsers.0.class-name org.opennms.netmgt.telemetry.protocols.netflow.parser.IpfixParser
admin@minion()> config:update
The protocol must also be enabled on Meridian for the messages to be processed. If you do not specify the queue name, the fallback is the name of the parser.

IPFIX Adapter

The IPFIX Adapter handles IPFIX telemetry data received and parsed by either of the IPFIX UDP parser or IPFIX TCP parser. Received flows are decoded from the messages into the canonical flow format and published to the flow repository.

Facts

Class Name

org.opennms.netmgt.telemetry.protocols.netflow.adapter.ipfix.IpfixAdapter

Parameters

Table 2. Parameters for the IPFIX TCP Parser
Parameter Description Required Default value

templateTimeout

Templates must be redeclared in the given duration or they will be dropped.

no

30 minutes

maxClockSkew

The maximum delta in seconds between exporter and Minion time stamps.

no

0

clockSkewEventRate

Rate-limit clock skew events in seconds.

no

3600

dnsLookupsEnabled

Enable or disable DNS resolution for flows.

no

true

The parameter maxClockSkew in your parser definition enables clock skew detection for exporters. It specifies the maximum delta in seconds between exporter and Minion timestamps. If exceeded, an alarm will be generated for the exporting device. The default value is 0, so clock skew detection is disabled. Furthermore, you can use a parameter clockSkewEventRate to rate limit clock skew events. The default is 3600 seconds, so every hour an event will be sent.