Files
OPNsense-NetFlow-export/README.md

23 lines
573 B
Markdown
Raw Normal View History

# NetFlowV5 collector and InfluxDB and Grafana
2025-12-20 22:10:15 +00:00
Here I'll try integrating both NetFlow and sFlow into my python code so that either can be choosen.
It works.
## Python script
Install required modules with
```
pip install -r requirements.txt
```
Then change InfluxDB variables.
### INFLUXDB.py vs INFLUXDBmthrd.py
First one runs on one thread and should work when there isn't much data on the network.
Second is when there are a ton of flows that need to be collected. More flows aka more data.
## sysctl.d
Place it in /etc/sysctl.d/ and apply with ```sysctl -p```
2025-05-08 09:50:44 +02:00