fritzinfluxdb icon indicating copy to clipboard operation
fritzinfluxdb copied to clipboard

grafana dashboards updated to use with several devices in separate DBs

Open Wuifi opened this issue 3 years ago • 4 comments

As I am monitoring a second fritzbox on a remote site, I am running two instances of fritzinfluxdb. Both are sending the data to a separate influxDB database. I added a variable in each dashboard to choose which device / database shall be used to show the dashboards.

And thanks for the great work! Such a huge improvement since my last try with fritzinfluxdb!

Wuifi avatar Oct 09 '22 20:10 Wuifi

Hi,

I just checked your dashboard changes and I'm a little confused. This functionality is already present. In this case you should use the same database but a different box tag for each box. Then you can select the correct FritzBox in all dashboards.

bb-Ricardo avatar Oct 10 '22 22:10 bb-Ricardo

Yes, you are right, storing the data of two different FritzBoxes in one InfluxDB instance is already in. In my use case, the FritzBoxes, RaspberryPis are on different sites (and the VPN connection between those two locations is not always running, I wouldn't be able to see any events grabbed in the time when there is no VPN available. With the proposed additional variable the dashboard can also cover this scenario.

Wuifi avatar Oct 11 '22 21:10 Wuifi

Let's image you have one influxdb on one of the Raspis and both raspis would write to this one instance. One locally and the other via VPN.

Then the VPN loses connection (FritzBox reconnect) and later resumes connection.

Then the script which writes via VPN would buffer all measurements until the Influxdb is available again via VPN. Currently there is a buffer of 1.000.000 measurements configured.

This is already implemented.

Would this help?

bb-Ricardo avatar Oct 11 '22 22:10 bb-Ricardo

Hey Ricardo I wasn't aware of the buffer feature! This sounds definitely promising and I will give it a try!

Regards Wolfgang

Wuifi avatar Oct 18 '22 06:10 Wuifi

is it ok if I close this PR?

bb-Ricardo avatar Dec 02 '22 00:12 bb-Ricardo

I guess I can lose this.

bb-Ricardo avatar Dec 22 '22 07:12 bb-Ricardo