Welcome to docs.opsview.com

NetFlow Collectors

Collectors are servers that will collect data from sources.

Collectors must be an existing Opsview monitoring server, either master or slave.

NetFlow data is saved into /var/opt/opsview/netflow/data.


This view will list the total number of sources related to this collector - click on this link to get to a list view.

You can navigate to NetFlow Settings from this page.



This can be an arbitrary name for the collector.

NetFlow Port

Port to be used for incoming NetFlow packets (default 9995).

sFlow Port

Port to be used for incoming sFlow packets (default 6343).

Monitoring Server

Select the monitoring server to make into a collector. This can be either the Opsview master or a slave system.

This list is based on what your monitoring servers your role is allowed to see.

Note: When you create this new collector, you should add the Application - Opsview NetFlow Common host template to this collector to monitor the NetFlow feature in Opsview.

This field is not editable after initial creation.


Syncing Data Between Nodes

As NetFlow data is stored between multiple nodes in a slave cluster, it is possible that the data is not consistent between different nodes. For instance, this could occur if you have just added a new node to a cluster, or there was a node failure.

To synchronise the NetFlow data, we assume the node with the canonical data is called cnode and the other node is called othernode. Firstly, ensure othernode is running correctly and do an Opsview reload. Then:

othernode$ cd /var/opt/opsview/netflow/data/
# Ensure that the network device is sending NetFlow data and that data is being written and
# check that SOURCEID/YYYY/MM/DD/ has a timestamp for time just passed
cnode$ su - nagios
cnode$ rsync -avz --exclude="nfcapd.current.*" /var/opt/opsview/netflow/data/ othernode:/var/opt/opsview/netflow/data/
cnode$ # Wait for file rotation, ie a new timestamp file appears
cnode$ rsync -avz --exclude="nfcapd.current.*" /var/opt/opsview/netflow/data/ othernode:/var/opt/opsview/netflow/data/

There are two rsyncs, to ensure the last timestamp is synchronised. All time afterwards will be kept the same due to the NetFlow source sending to all nodes.