unpoller / dashboards

UniFi Poller Grafana Dashboards
https://unifipoller.com
MIT License
26 stars 12 forks source link

Fix $Site parameter in Influx dashboards for newer versions of Grafana #27

Closed platinummonkey closed 9 months ago

platinummonkey commented 9 months ago

replace all $Site with ${Site:regex} from https://github.com/unpoller/dashboards/issues/25\#issuecomment-1920382559

NOTE: this is untested against older versions of grafana, but it seems many users are now working around this. Thanks to @vidia for the find

davidnewhall commented 9 months ago

I updated more variables and tested all 6 influx dashboards. They work. A side affect of the find/replace is that we end up with things like Home \(default\) in panel titles. That's because we're forcing regex escaping. I'm okay with that. I'll work on fixing these correctly for the next PR. Fixed that too.

davidnewhall commented 9 months ago

We're only updating the 6 influx dashes. Prometheus seems to work fine. The dashes in the 1.6.3 folder are historic and do not need updates.