OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: thowe on July 01, 2023, 09:35:23 pm

Title: [SOLVED] Telegraf/Grafana: Large negative values for network rates after update
Post by: thowe on July 01, 2023, 09:35:23 pm
After updating to OPNsense 23.1.11-amd64, the values for the current network rates are displayed incorrectly and with a minus sign in my Grafana OPNsense Dashboard for all network interfaces: Ex: -206Mb/s instead of approx. 1.2Mb/s.

I export the values with Telegraf and then display them in a Grafana Dashboard. I haven't touched Influx/Grafana for several years and before updating to the latest version of OPNsense, the values were still correct.

I'm a bit lost and don't quite know where to start troubleshooting. Any ideas are welcome.

Thanks & greetings
Tom
Title: Re: Telegraf/Grafana: Large negative values for network rates after update to 23.1.1
Post by: thowe on July 01, 2023, 09:45:20 pm
Postscript:

The raw data seems to arrive correctly in Grafana - so not a problem of OPNsense. The value is only displayed incorrectly if the data range is set to 1h. If I select 5 minutes in the dashboard, the same value is also displayed as the raw data shows.

I do not know why. But I assume that after an hour of waiting, the range of 1h will also be displayed without an impossible negative value.

I.e. the problem (in Grafana) should be solved with time. Maybe someone can even explain why this must be so....