2668 lines
62 KiB
JSON
2668 lines
62 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_UNIFI",
|
|
"label": "Unifi",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "influxdb",
|
|
"pluginName": "InfluxDB"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "6.2.1"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "grafana-piechart-panel",
|
|
"name": "Pie Chart",
|
|
"version": "1.3.3"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "influxdb",
|
|
"name": "InfluxDB",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "natel-discrete-panel",
|
|
"name": "Discrete",
|
|
"version": "0.0.9"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "table",
|
|
"name": "Table",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 1,
|
|
"id": null,
|
|
"iteration": 1559859351362,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "",
|
|
"fontSize": "80%",
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 21,
|
|
"links": [],
|
|
"options": {},
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 1,
|
|
"desc": true
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"link": true,
|
|
"linkTargetBlank": true,
|
|
"linkUrl": "http://sleepers.pro",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"decimals": 2,
|
|
"pattern": "/.*/",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"oui"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"radio"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"ap_mac"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"ip\") AS \"Address\", last(\"note\") AS \"Note\", last(\"network\") AS \"Network\" FROM \"clients\" WHERE (\"is_wired\" = 'false' AND \"ap_mac\" =~ /^$AP$/) AND $timeFilter GROUP BY \"mac\", \"oui\", \"channel\", \"radio\", \"name\", \"ap_mac\"",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"note"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Note"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"network"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Network"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "1h",
|
|
"title": "Wireless Devices",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "",
|
|
"fontSize": "80%",
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 22,
|
|
"links": [],
|
|
"options": {},
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 8,
|
|
"desc": true
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"link": false,
|
|
"linkUrl": "http://$__cell",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"decimals": 2,
|
|
"pattern": "/.*/",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"sw_port"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"oui"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"use_fixedip"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"ip\") AS \"Address\", last(\"note\") AS \"Note\", last(\"network\") AS \"Network\" FROM \"clients\" WHERE (\"is_wired\" != 'false' AND \"name\" =~ /^$Client$/ AND \"site_name\" =~ /$Site$/) AND $timeFilter GROUP BY \"sw_port\", \"mac\", \"oui\", \"use_fixedip\", \"name\"",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"note"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Note"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"network"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Network"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "1h",
|
|
"title": "Wired Devices",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "50%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 13
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 9,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": false,
|
|
"values": true
|
|
},
|
|
"legendType": "Under graph",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"pieType": "pie",
|
|
"strokeWidth": 1,
|
|
"targets": [
|
|
{
|
|
"alias": "Wired",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 10m AND is_wired = 'true' AND \"site_name\" =~ /$Site$/ group by hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Channel $tag_channel",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 10m AND (is_wired != 'true' AND \"site_name\" =~ /$Site$/ AND \"ap_mac\" =~ /^$AP$/ AND \"name\" =~ /^$Client$/) group by channel",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"title": "Wifi Channels",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "25%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 13
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 11,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"percentage": true,
|
|
"show": false,
|
|
"values": false
|
|
},
|
|
"legendType": "Under graph",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"pieType": "pie",
|
|
"strokeWidth": "3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_ap_mac / $tag_radio_proto / $tag_radio / $tag_radio_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"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",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"title": "AP Radio / Clients",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "50%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 13
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 12,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": true,
|
|
"sortDesc": false,
|
|
"values": true
|
|
},
|
|
"legendType": "Right side",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"pieType": "pie",
|
|
"strokeWidth": 1,
|
|
"targets": [
|
|
{
|
|
"alias": "w $tag_oui",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE (time > now() - 60m AND \"name\" =~ /^$Client$/ AND \"ap_mac\" =~ /^$AP$/ and site_name =~ /$Site$/ and \"name\" =~ /^$Client$/) group by oui",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "e $tag_oui",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE (time > now() - 60m AND \"is_wired\" = 'true' and site_name =~ /$Site$/) group by oui",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"title": "Client MAC OUI Breakdown",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "50%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 13
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 14,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": false,
|
|
"values": true
|
|
},
|
|
"legendType": "Right side",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"pieType": "pie",
|
|
"strokeWidth": 1,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_os_class, $tag_os_name, $tag_dev_cat, $tag_dev_family, $tag_dev_id,",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE (time > now() - 10m AND \"ap_mac\" =~ /^$AP$/ AND \"name\" =~ /^$Client$/ AND \"site_name\" =~ /$Site$/) group by os_class, os_name, dev_cat, dev_family, dev_id ",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"title": "OS/Dev Class/ID Breakdown",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Bandwidth usage per wireless devices as reported by the UAPs. Does not include amazon devices.",
|
|
"fill": 1,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 21
|
|
},
|
|
"id": 3,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "avg",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"30s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "!~",
|
|
"value": "/^(amazon-)/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "UAP Bandwidth / Wireless Devices",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Cameras TX / RX bytes per second (calculated in 1 minute buckets).",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 21
|
|
},
|
|
"id": 15,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"1m"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^camera/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Switch Bandwidth / Cameras",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Amazon Devices TX / RX bytes per second (calculated in 30 second buckets).",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 28
|
|
},
|
|
"id": 23,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "w $tag_name $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"30s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^amazon-(.*)/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "e $tag_name $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"30s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^amazon-(.*)/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Switch Bandwidth / Echos & FireTVs",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Wired TX / RX bytes per second (calculated in 30 second buckets). Does not include amazon and camera devices. Unaffected by the AP setting.",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 28
|
|
},
|
|
"id": 2,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"30s"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "!~",
|
|
"value": "/^(supermic-bmc|amazon-|camera-)/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Switch Bandwidth / Wired Devices",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"backgroundColor": "rgba(128,128,128,0.1)",
|
|
"colorMaps": [
|
|
{
|
|
"color": "#70dbed",
|
|
"text": "Upper 1"
|
|
},
|
|
{
|
|
"color": "#806eb7",
|
|
"text": "Lower 2"
|
|
},
|
|
{
|
|
"color": "#806eb7",
|
|
"text": "Lower 1"
|
|
},
|
|
{
|
|
"color": "#64b0c8",
|
|
"text": "Upper 2"
|
|
}
|
|
],
|
|
"crosshairColor": "#8F070C",
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Shows which wireless radio a client is connected to. Setting AP does not change this.",
|
|
"display": "timeline",
|
|
"expandFromQueryS": 0,
|
|
"extendLastValue": true,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 37
|
|
},
|
|
"highlightOnMouseover": false,
|
|
"id": 17,
|
|
"legendSortBy": "-ms",
|
|
"lineColor": "rgba(0,0,0,0.1)",
|
|
"links": [],
|
|
"metricNameColor": "#000000",
|
|
"options": {},
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"rowHeight": 25,
|
|
"showLegend": false,
|
|
"showLegendNames": true,
|
|
"showLegendPercent": true,
|
|
"showLegendValues": true,
|
|
"showTimeAxis": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"bssid"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"textSize": 12,
|
|
"textSizeTime": 9,
|
|
"timeOptions": [
|
|
{
|
|
"name": "Years",
|
|
"value": "years"
|
|
},
|
|
{
|
|
"name": "Months",
|
|
"value": "months"
|
|
},
|
|
{
|
|
"name": "Weeks",
|
|
"value": "weeks"
|
|
},
|
|
{
|
|
"name": "Days",
|
|
"value": "days"
|
|
},
|
|
{
|
|
"name": "Hours",
|
|
"value": "hours"
|
|
},
|
|
{
|
|
"name": "Minutes",
|
|
"value": "minutes"
|
|
},
|
|
{
|
|
"name": "Seconds",
|
|
"value": "seconds"
|
|
},
|
|
{
|
|
"name": "Milliseconds",
|
|
"value": "milliseconds"
|
|
}
|
|
],
|
|
"timePrecision": {
|
|
"name": "Minutes",
|
|
"value": "minutes"
|
|
},
|
|
"timeTextColor": "#d8d9da",
|
|
"title": "Wifi Client / AP",
|
|
"type": "natel-discrete-panel",
|
|
"units": "short",
|
|
"useTimePrecision": false,
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "Upper 1",
|
|
"value": "80:2a:a8:12:ae:0c"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Lower 2",
|
|
"value": "80:2a:a8:11:ae:87"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Lower 1",
|
|
"value": "80:2a:a8:12:ae:87"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Upper 2",
|
|
"value": "80:2a:a8:11:ae:0c"
|
|
}
|
|
],
|
|
"valueTextColor": "#000000",
|
|
"writeAllValues": true,
|
|
"writeLastValue": false,
|
|
"writeMetricNames": true
|
|
},
|
|
{
|
|
"backgroundColor": "rgba(128,128,128,0.1)",
|
|
"colorMaps": [
|
|
{
|
|
"color": "#CCC",
|
|
"text": "N/A"
|
|
}
|
|
],
|
|
"crosshairColor": "#8F070C",
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "Shows IPs assigned to non-static clients.",
|
|
"display": "timeline",
|
|
"expandFromQueryS": 0,
|
|
"extendLastValue": true,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 37
|
|
},
|
|
"highlightOnMouseover": false,
|
|
"id": 18,
|
|
"legendSortBy": "-ms",
|
|
"lineColor": "rgba(0,0,0,0.1)",
|
|
"links": [],
|
|
"metricNameColor": "#000000",
|
|
"options": {},
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"rowHeight": 24,
|
|
"showDistinctCount": false,
|
|
"showLegend": false,
|
|
"showLegendNames": true,
|
|
"showLegendPercent": true,
|
|
"showLegendValues": true,
|
|
"showTimeAxis": false,
|
|
"showTransitionCount": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "use_fixedip",
|
|
"operator": "!=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"textSize": 12,
|
|
"textSizeTime": 9,
|
|
"timeOptions": [
|
|
{
|
|
"name": "Years",
|
|
"value": "years"
|
|
},
|
|
{
|
|
"name": "Months",
|
|
"value": "months"
|
|
},
|
|
{
|
|
"name": "Weeks",
|
|
"value": "weeks"
|
|
},
|
|
{
|
|
"name": "Days",
|
|
"value": "days"
|
|
},
|
|
{
|
|
"name": "Hours",
|
|
"value": "hours"
|
|
},
|
|
{
|
|
"name": "Minutes",
|
|
"value": "minutes"
|
|
},
|
|
{
|
|
"name": "Seconds",
|
|
"value": "seconds"
|
|
},
|
|
{
|
|
"name": "Milliseconds",
|
|
"value": "milliseconds"
|
|
}
|
|
],
|
|
"timePrecision": {
|
|
"name": "Minutes",
|
|
"value": "minutes"
|
|
},
|
|
"timeTextColor": "#d8d9da",
|
|
"title": "Client / IP",
|
|
"type": "natel-discrete-panel",
|
|
"units": "short",
|
|
"useTimePrecision": false,
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueTextColor": "#000000",
|
|
"writeAllValues": false,
|
|
"writeLastValue": false,
|
|
"writeMetricNames": true
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 46
|
|
},
|
|
"id": 7,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "min",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"rssi"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Received Signal Strength Indicator",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"label": "RSSI Quality",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 46
|
|
},
|
|
"id": 10,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"signal"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Wireless Signal",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "dBm",
|
|
"label": "Signal Power",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 55
|
|
},
|
|
"id": 6,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"noise"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "UAP Client Stats / Noise",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 1,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "short",
|
|
"label": "Noise",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI}",
|
|
"description": "",
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 55
|
|
},
|
|
"id": 19,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_name",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(first(\"wired-rx_bytes\"), 1s) FROM \"clients\" WHERE (\"hostname\" = 'dns-rtn') AND $timeFilter GROUP BY time(10s) fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_power"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Client$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_mac",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "TX Power",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "none",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"refresh": "30s",
|
|
"schemaVersion": 18,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI}",
|
|
"definition": "show tag values from \"clients\" with key=\"site_name\"",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Site",
|
|
"options": [],
|
|
"query": "show tag values from \"clients\" with key=\"site_name\"",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI}",
|
|
"definition": "show tag values from \"clients\" with key=\"ap_mac\" where site_name =~ /$Site$/",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "AP",
|
|
"options": [],
|
|
"query": "show tag values from \"clients\" with key=\"ap_mac\" where site_name =~ /$Site$/",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI}",
|
|
"definition": "show tag values from \"clients\" with key=\"name\" where site_name =~ /$Site$/",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Client",
|
|
"options": [],
|
|
"query": "show tag values from \"clients\" with key=\"name\" where site_name =~ /$Site$/",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-3h",
|
|
"to": "now-20s"
|
|
},
|
|
"timepicker": {
|
|
"nowDelay": "20s",
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
]
|
|
},
|
|
"timezone": "",
|
|
"title": "Unifi Client Insights",
|
|
"uid": "YVR23BZiz",
|
|
"version": 48
|
|
} |