rkosegi / netflow-collector

Simple Netflow V5 exporter for prometheus
Apache License 2.0
9 stars 3 forks source link

Inconsistent results with NetFlow #9

Closed vaygr closed 7 months ago

vaygr commented 1 year ago

I'm trying to come up with a dashboard for internal hosts' traffic monitoring using NetFlow data.

I have OPNsense sending NetFlow V5 to netflow-collector which exports metrics to Prometheus. At the same time I have ntopng installed and sending metrics to InfluxDB.

Somehow I have inconsistent results with NetFlow, so I'm wondering if I'm missing something here. With my bandwidth tests I get consistently 200-400 MBps down/up (down usually lower).

With InfluxDB this is the graph with already calculated speed (in mbps):

shot-2022-10-20_155348

But NetFlow metrics are very inconsistent and all over the place (sometimes there are no spikes for up like on this graph):

shot-2022-10-20_155611

This graph has raw values in bytes returned from Prometheus as they were sent by netflow-collector.

FWIW my scrape and evaluation intervals are 15 in Prometheus and flush interval is 120s in netflow-collector.

Is there a missing link here?

github-actions[bot] commented 8 months ago

This issue has been marked 'stale' due to lack of activity. The issue will be closed in another 30 days.

github-actions[bot] commented 7 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.