Docker setup for running nfsen-ng (NetFlow visualizer) and nfdump (NetFlow/SFlow/IPFIX collector) together with support for mutiple sources.
- git pull
https://github.com/deanvry/nfsen-ng-docker.git
- edit source.conf
- a csv style file with format:
device;port;proto
- where:
device
is a display name likemy-awesome-router
port
is a unique value in-between 9000-9099 (depends on your setup)proto
is sflow or nflow (depends on your device capabilities)
- a csv style file with format:
- bring service up using
docker-compose up -d
- browse to
http://server_ip:8080
If you want to enable flow data compression, do the following steps:
- Append
nfdump -z
option (this enable LZO1X-1 compression) innfdump/entrypoint.sh
. - Recreate nfdump service using
docker-compose --build -d nfsen-ng-docker-nfdump-1
, if you have multiple nfdump service specify them. - New nfdump image should be rebuild and container restarted.
There is some major changes from nfdump v1.6.22 to v1.7.1. I'm suggesting you to read manual pages.
- MikroTik RouterOS v6.48.6 long-term