mirror of
https://github.com/netsampler/goflow2.git
synced 2024-05-06 15:54:52 +00:00
1.0 KiB
1.0 KiB
Agents
There are various agents that can send samples to a flow collector.
Hardware
Juniper
In the latest versions, Juniper supports sFlow and IPFIX protocols.
Sample configuration:
set protocols sflow collector 10.0.0.1
set protocols sflow collector udp-port 6343
set protocols sflow interface ge-0/0/0
set protocols sflow sample-rate 2048
Software
hsflowd
Sample packets using pcap, iptables nflog and many more. Uses sFlow.
Sample configuration:
sflow {
collector { ip = 10.0.0.1 udpport = 6343 }
pcap { dev = eth0 }
}
Run with
$ hsflowd -d -f hsflowd.conf
nProbe
Sample packets using pcap, iptables nflog and many more. Uses NetFlow v9 or IPFIX.
Run with
$ nprobe -i eth0 -n 10.0.0.1:2055 -V 10