1
0
mirror of https://github.com/netsampler/goflow2.git synced 2024-05-06 15:54:52 +00:00
2021-05-25 17:33:26 -07:00

51 lines
1.0 KiB
Markdown

# 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.
[Documentation](https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/topic-map/sflow-monitoring-technology.html).
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
[Documentation](https://sflow.net/host-sflow-linux-config.php).
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
```bash
$ hsflowd -d -f hsflowd.conf
```
### nProbe
[Documentation](https://www.ntop.org/guides/nprobe/)
Sample packets using pcap, iptables nflog and many more. Uses NetFlow v9 or IPFIX.
Run with
```bash
$ nprobe -i eth0 -n 10.0.0.1:2055 -V 10
```