bb-Ricardo / fritzinfluxdb

Writes data from fritzbox to influxdb
MIT License
140 stars 35 forks source link

Dashboard issues with System Information - Latest OS for FRITZ!Box 6591 Cable #124

Closed Ashcora closed 3 weeks ago

Ashcora commented 3 weeks ago

The versions before it was shown properly. Having the latest version installed for FRITZ!Box 6591 Cable, the dashboard still shows data (like traffic overviews or log file entries) but the system status is throwing an error:

2024-07-10_20h22_44 2024-07-10_20h24_18

The data is written correctly to InfluxDB:

image

Extract from InfluxDB:

from(bucket: v.defaultBucket) |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "${measurement}" and r["_field"] == "cpu_temp" and r.box == "${boxtag}") |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false) |> keep(columns: ["_value"])

Grafana is using this statement:

from(bucket: v.defaultBucket) |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r["_measurement"] == "${measurement}" and r["_field"] == "cpu_temp" and r.box == "${boxtag}") |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false) |> keep(columns: ["_value"])

--> In short: Identical statements.

It might be in best case somehow linked to the issue reported by @Aldjinn, see https://github.com/bb-Ricardo/fritzinfluxdb/issues/123 and/or the Grafana issue https://github.com/grafana/grafana/issues/88983 as mentioned by @joos2k

Currently using:

bb-Ricardo commented 3 weeks ago

Hi,

What happens if you downgrade to Grafana 10?

Ashcora commented 3 weeks ago

Hi,

downgrading to e.g. Grafana v10.3.6 (186c34152a) makes no difference. The same charts are not loading :(

bb-Ricardo commented 3 weeks ago

ok. And deleting and reimporting the dashboard? Does this help in the downgraded version?

bb-Ricardo commented 3 weeks ago

Would close this one in favour of #123 as duplicate