From 547103be9fe90c3414c7c4da5b3d035cdd8c7960 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Tue, 18 Jun 2019 21:09:27 -0700 Subject: [PATCH] Minor Client dash update. --- examples/unifi-clients-grafana-dash.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/unifi-clients-grafana-dash.json b/examples/unifi-clients-grafana-dash.json index 9b9aa693..85f3c7c6 100644 --- a/examples/unifi-clients-grafana-dash.json +++ b/examples/unifi-clients-grafana-dash.json @@ -20,7 +20,7 @@ "type": "panel", "id": "grafana-piechart-panel", "name": "Pie Chart", - "version": "1.3.3" + "version": "1.3.6" }, { "type": "panel", @@ -64,7 +64,7 @@ "gnetId": null, "graphTooltip": 1, "id": null, - "iteration": 1559898655544, + "iteration": 1560917275243, "links": [ { "icon": "external link", @@ -784,7 +784,7 @@ "strokeWidth": "3", "targets": [ { - "alias": "$tag_ap_mac / $tag_radio_proto / $tag_radio / $tag_radio_name", + "alias": "$tag_radio_proto", "groupBy": [ { "params": [ @@ -796,7 +796,7 @@ "measurement": "clients", "orderByTime": "ASC", "policy": "default", - "query": "select count(distinct(hostname)) FROM \"clients\" WHERE (time > now() - 10m AND ap_mac =~ /$AP$/ AND \"site_name\" =~ /$Site$/ and \"name\" =~ /^$Client$/) group by radio_proto, radio, radio_name, ap_mac", + "query": "SELECT count(distinct(\"hostname\")) FROM \"clients\" WHERE \"is_wired\" != 'true' AND $timeFilter AND \"site_name\" =~ /$Site$/ AND \"name\" =~ /^$Client$/ GROUP BY radio_proto", "rawQuery": true, "refId": "A", "resultFormat": "time_series", @@ -817,14 +817,14 @@ "tags": [ { "key": "is_wired", - "operator": "=", - "value": "false" + "operator": "!=", + "value": "true" } ] } ], "timeFrom": null, - "title": "AP Radio / Clients", + "title": "Clients / AP Radio", "transparent": true, "type": "grafana-piechart-panel", "valueName": "current" @@ -2903,5 +2903,5 @@ "timezone": "", "title": "UniFi Client Insights", "uid": "YVR23BZiz", - "version": 54 + "version": 8 } \ No newline at end of file