4572 lines
108 KiB
JSON
4572 lines
108 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_UNIFI_POLLER",
|
|
"label": "UniFi Poller",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "influxdb",
|
|
"pluginName": "InfluxDB"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "7.0.3"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "grafana-piechart-panel",
|
|
"name": "Pie Chart",
|
|
"version": "1.5.0"
|
|
},
|
|
{
|
|
"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-old",
|
|
"name": "Table (old)",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"description": "UniFi Poller v2.0.1 Displays detailed information for clients in a UniFi network.",
|
|
"editable": true,
|
|
"gnetId": 10418,
|
|
"graphTooltip": 1,
|
|
"id": null,
|
|
"iteration": 1592125484258,
|
|
"links": [
|
|
{
|
|
"asDropdown": true,
|
|
"icon": "external link",
|
|
"includeVars": false,
|
|
"keepTime": true,
|
|
"tags": [
|
|
"unifi-poller"
|
|
],
|
|
"title": "UniFi Poller",
|
|
"type": "dashboards"
|
|
},
|
|
{
|
|
"icon": "question",
|
|
"tags": [],
|
|
"title": "Help",
|
|
"type": "link",
|
|
"url": "https://golift.io/unifi-poller/issues"
|
|
},
|
|
{
|
|
"icon": "doc",
|
|
"tags": [],
|
|
"title": "Wiki",
|
|
"type": "link",
|
|
"url": "https://golift.io/unifi-poller/wiki"
|
|
},
|
|
{
|
|
"icon": "bolt",
|
|
"tags": [],
|
|
"title": "Discord",
|
|
"type": "link",
|
|
"url": "https://discord.gg/KnyKYt2"
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "80%",
|
|
"gridPos": {
|
|
"h": 12,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 21,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 1,
|
|
"desc": true
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"align": "auto",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"link": true,
|
|
"linkTargetBlank": true,
|
|
"linkUrl": "http://sleepers.pro",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 1,
|
|
"mappingType": 1,
|
|
"pattern": "/^Bytes/",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "decbytes"
|
|
},
|
|
{
|
|
"alias": "Name",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "name",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Device MAC",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "mac",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Controller",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "source",
|
|
"thresholds": [],
|
|
"type": "hidden",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "AP",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "ap_name",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Chan",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "channel",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "OUI",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "oui",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Radio",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "radio_name",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Proto",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "radio_proto",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Uptime",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "s"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"source"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"radio_name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"radio_proto"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"ap_name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"site_name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"oui"
|
|
],
|
|
"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": [
|
|
"essid"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"ESSID"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"uptime"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Uptime"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "5m",
|
|
"title": "Wireless Devices",
|
|
"transform": "table",
|
|
"type": "table-old"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "80%",
|
|
"gridPos": {
|
|
"h": 12,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 12
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 22,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 8,
|
|
"desc": true
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"align": "auto",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"link": false,
|
|
"linkUrl": "http://$__cell",
|
|
"pattern": "Time",
|
|
"type": "hidden"
|
|
},
|
|
{
|
|
"alias": "Sw Port",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"decimals": 0,
|
|
"pattern": "sw_port",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Name",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "name",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Device MAC",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"link": false,
|
|
"mappingType": 1,
|
|
"pattern": "mac",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 1,
|
|
"mappingType": 1,
|
|
"pattern": "/^Bytes/",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "decbytes"
|
|
},
|
|
{
|
|
"alias": "Controller",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "source",
|
|
"thresholds": [],
|
|
"type": "hidden",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Uptime",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "s"
|
|
},
|
|
{
|
|
"alias": "OUI",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "oui",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "Site",
|
|
"align": "auto",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "site_name",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"sw_port"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"source"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"oui"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"site_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": false,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Address"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Bytes Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"uptime"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
{
|
|
"params": [
|
|
"Uptime"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wired$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sw_name",
|
|
"operator": "=~",
|
|
"value": "/^$Switch$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "5m",
|
|
"title": "Wired Devices",
|
|
"transform": "table",
|
|
"type": "table-old"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "50%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"decimals": 0,
|
|
"description": "Visualize wireless channel usage w/ wired client counts.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 24
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 9,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": false,
|
|
"values": true
|
|
},
|
|
"legendType": "Under graph",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"pieType": "pie",
|
|
"pluginVersion": "6.5.1",
|
|
"strokeWidth": 1,
|
|
"targets": [
|
|
{
|
|
"alias": "Wired",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 5m AND (\"site_name\" =~ /$Site$/ AND \"name\" =~ /^$Wired$/ AND sw_name =~ /$Switch$/ ) GROUP BY \"hostname\"",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "count"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
},
|
|
{
|
|
"alias": "Channel $tag_channel",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 5m AND (\"site_name\" =~ /$Site$/ AND \"name\" =~ /^$Wireless$/ AND ap_name =~ /$AP$/ ) GROUP BY \"channel\"",
|
|
"rawQuery": true,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": "5m",
|
|
"timeShift": null,
|
|
"title": "Clients / Channel",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "25%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"decimals": 0,
|
|
"description": "Visualize how many clients are connected to which radios/APs.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 24
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 11,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"percentage": true,
|
|
"show": false,
|
|
"values": false
|
|
},
|
|
"legendType": "Under graph",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"pieType": "pie",
|
|
"strokeWidth": "3",
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_radio_proto",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT count(distinct(\"hostname\")) FROM \"clients\" WHERE $timeFilter AND \"ap_name\" =~ /$AP$/ AND \"site_name\" =~ /$Site$/ AND \"name\" =~ /^$Wireless$/ GROUP BY radio_proto",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"hostname"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "distinct"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "is_wired",
|
|
"operator": "!=",
|
|
"value": "true"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "5m",
|
|
"title": "Clients / AP Radio",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"breakPoint": "50%",
|
|
"cacheTimeout": null,
|
|
"combine": {
|
|
"label": "Others",
|
|
"threshold": 0
|
|
},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"decimals": 0,
|
|
"description": "This shows an OUI breakdown from Unifi's perspective. e = wired, w = wireless",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 24
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 12,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": true,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"values": true
|
|
},
|
|
"legendType": "Right side",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"pieType": "pie",
|
|
"strokeWidth": 1,
|
|
"targets": [
|
|
{
|
|
"alias": "$tag_oui",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"channel"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "select count(distinct(hostname)) FROM \"clients\" WHERE time > now() - 5m AND site_name =~ /$Site$/ AND ((\"name\" =~ /^$Wireless$/ AND \"ap_name\" =~ /^$AP$/) OR (\"name\" =~ /^$Wired$/ AND \"sw_name\" =~ /$Switch$/ )) 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"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": "5m",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"description": "No real idea what these numbers are, but Unifi provides them, so I made a cool pie chart out of them. What's your pie chart look like?",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fontSize": "70%",
|
|
"format": "short",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 24
|
|
},
|
|
"hideTimeOverride": false,
|
|
"id": 14,
|
|
"interval": null,
|
|
"legend": {
|
|
"header": "",
|
|
"show": false,
|
|
"values": true
|
|
},
|
|
"legendType": "Right side",
|
|
"links": [],
|
|
"maxDataPoints": 3,
|
|
"nullPointMode": "connected",
|
|
"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() - 5m AND site_name =~ /$Site$/ AND ((\"name\" =~ /^$Wireless$/ AND \"ap_name\" =~ /^$AP$/) OR (\"name\" =~ /^$Wired$/ AND \"sw_name\" =~ /$Switch$/ )) 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": "5m",
|
|
"title": "OS/Dev Class/ID Breakdown",
|
|
"transparent": true,
|
|
"type": "grafana-piechart-panel",
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"description": "Wired TX / RX bytes per second (calculated in 30 second buckets). Rx is on the negative axis. Does not include amazon and camera devices. Unaffected by the AP setting.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 15,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 32
|
|
},
|
|
"hiddenSeries": false,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:4978",
|
|
"alias": "/Rx$/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]] $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT derivative(sum(\"wired-rx_bytes\"), 1s) AS \"Rx\", derivative(sum(\"wired-tx_bytes\"), 1s) AS \"Tx\" FROM \"clients\" WHERE (\"name\" !~ /^amazon-|camera|cam$/ AND \"name\" =~ /^$Wired$/ AND \"site_name\" =~ /^$Site$/ AND \"sw_name\" =~ /^$Switch$/) AND $timeFilter GROUP BY time($__interval),\"name\",\"mac\"fill(none)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "!~",
|
|
"value": "/^amazon-|camera|cam$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wired$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sw_name",
|
|
"operator": "=~",
|
|
"value": "/^$Switch$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"$$hashKey": "object:227",
|
|
"format": "Bps",
|
|
"label": "bytes / sec",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:228",
|
|
"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_POLLER}",
|
|
"description": "Bandwidth usage per wireless devices as reported by the UAPs. Rx is on the negative axis. Does not include amazon devices.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 16,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 47
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 3,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:5499",
|
|
"alias": "/Rx$/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]] $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "!~",
|
|
"value": "/^amazon-|camera|cam$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"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": "bytes / sec",
|
|
"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 N"
|
|
},
|
|
{
|
|
"color": "#806eb7",
|
|
"text": "Lower G"
|
|
},
|
|
{
|
|
"color": "#806eb7",
|
|
"text": "Lower N"
|
|
},
|
|
{
|
|
"color": "#64b0c8",
|
|
"text": "Upper G"
|
|
}
|
|
],
|
|
"crosshairColor": "#8F070C",
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"description": "Shows which wireless radio a client is connected to. Setting AP does not change this.",
|
|
"display": "timeline",
|
|
"expandFromQueryS": 0,
|
|
"extendLastValue": true,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 16,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 63
|
|
},
|
|
"highlightOnMouseover": true,
|
|
"id": 17,
|
|
"legendSortBy": "-ms",
|
|
"lineColor": "rgba(0,0,0,0.1)",
|
|
"links": [],
|
|
"metricNameColor": "#000000",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"rowHeight": 28,
|
|
"showDistinctCount": false,
|
|
"showLegend": true,
|
|
"showLegendNames": false,
|
|
"showLegendPercent": true,
|
|
"showLegendValues": true,
|
|
"showTimeAxis": true,
|
|
"showTransitionCount": true,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"radio_desc"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"textSize": 16,
|
|
"textSizeTime": 14,
|
|
"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 G",
|
|
"value": "80:2a:a8:12:ae:0c"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Lower G",
|
|
"value": "80:2a:a8:11:ae:87"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Lower N",
|
|
"value": "80:2a:a8:12:ae:87"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Upper N",
|
|
"value": "80:2a:a8:11:ae:0c"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "NAME",
|
|
"value": "MAC"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "YOUR OWN!",
|
|
"value": "ADD"
|
|
}
|
|
],
|
|
"valueTextColor": "#000000",
|
|
"writeAllValues": false,
|
|
"writeLastValue": false,
|
|
"writeMetricNames": true
|
|
},
|
|
{
|
|
"backgroundColor": "rgba(128,128,128,0.1)",
|
|
"colorMaps": [
|
|
{
|
|
"color": "#CCC",
|
|
"text": "N/A"
|
|
}
|
|
],
|
|
"crosshairColor": "#8F070C",
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"description": "Shows IPs assigned to non-static clients. Clients with many changes may indicate misconfiguration or two clients sharing the same name.",
|
|
"display": "timeline",
|
|
"expandFromQueryS": 0,
|
|
"extendLastValue": true,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 16,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 63
|
|
},
|
|
"highlightOnMouseover": true,
|
|
"id": 18,
|
|
"legendSortBy": "-ms",
|
|
"lineColor": "rgba(0,0,0,0.1)",
|
|
"links": [],
|
|
"metricNameColor": "#000000",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}
|
|
],
|
|
"rowHeight": 28,
|
|
"showDistinctCount": false,
|
|
"showLegend": false,
|
|
"showLegendNames": false,
|
|
"showLegendPercent": true,
|
|
"showLegendValues": true,
|
|
"showTimeAxis": true,
|
|
"showTransitionCount": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT \"ip\" FROM \"clients\" WHERE \"use_fixedip\" != 'true' AND \"name\" =~ /^$Client$/ AND (\"ap_name\" =~ /^$AP$/ OR \"sw_name\" =~ /$Switch$/) AND \"site_name\" =~ /^$Site$/ AND $timeFilter GROUP BY \"name\"",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT \"ip\" FROM \"clients\" WHERE \"use_fixedip\" != 'true' AND \"name\" =~ /^$Client$/ AND (\"ap_name\" =~ /^$AP$/ OR \"sw_name\" =~ /$Switch$/) AND \"site_name\" =~ /^$Site$/ AND $timeFilter GROUP BY \"name\"",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"ip"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wired$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sw_name",
|
|
"operator": "=~",
|
|
"value": "/^$Switch$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"textSize": 16,
|
|
"textSizeTime": 14,
|
|
"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_POLLER}",
|
|
"description": "Amazon Devices TX / RX bytes per second (calculated in 30 second buckets). Rx is on the native axis. My home network has a ton of Amazon devices, so I broke them out separately. If you don't have Amazon devices, don't fret, just don't include this graph in the new dashboards you're building. :)",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 79
|
|
},
|
|
"hiddenSeries": false,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:7363",
|
|
"alias": "/Rx$/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "e [[Identifier]] $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^amazon-/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wired$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sw_name",
|
|
"operator": "=~",
|
|
"value": "/^$Switch$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "w [[Identifier]] $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"none"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"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": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^amazon-/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Switch Bandwidth / Echos & FireTVs",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": "bytes / sec",
|
|
"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_POLLER}",
|
|
"description": "Cameras TX / RX bytes per second. Rx is on the negative axis. Cameras probably don't do much Tx. If you don't have cameras, don't include this graph on your dashboards. This graph shows any device with the word \"camera\" in its name and has nothing to do with UniFi Protect.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 79
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 15,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:7497",
|
|
"alias": "/Rx$/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]] $col",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$__interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
}
|
|
],
|
|
"measurement": "clients",
|
|
"orderByTime": "ASC",
|
|
"policy": "default",
|
|
"query": "SELECT non_negative_derivative(sum(\"wired-rx_bytes\"), 1s) AS \"Rx\", non_negative_derivative(sum(\"wired-tx_bytes\"), 1s) AS \"Tx\" FROM \"clients\" WHERE \"name\" =~ /camera|cam$/ AND \"site_name\" =~ /^$Site$/ AND (\"sw_name\" =~ /^$Switch$/ OR \"ap_name\" =~ /^$AP$/) AND $timeFilter GROUP BY time($__interval), \"name\", \"mac\"",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-rx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Rx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"params": [
|
|
"wired-tx_bytes"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
},
|
|
{
|
|
"params": [
|
|
"Tx"
|
|
],
|
|
"type": "alias"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/camera|cam$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "sw_name",
|
|
"operator": "=~",
|
|
"value": "/^$Switch$/"
|
|
},
|
|
{
|
|
"condition": "OR",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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": "bytes / sec",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 88
|
|
},
|
|
"hiddenSeries": false,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"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": [
|
|
{
|
|
"decimals": 0,
|
|
"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_POLLER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 88
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 10,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"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_POLLER}",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 97
|
|
},
|
|
"hiddenSeries": false,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"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_POLLER}",
|
|
"description": "Client reported transmit rate.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 97
|
|
},
|
|
"hiddenSeries": false,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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_rate"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "TX Rate",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Kbits",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 105
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 24,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"wifi_tx_attempts"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Wifi Tx Attempts",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 1,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "short",
|
|
"label": "Attempts / Second",
|
|
"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_POLLER}",
|
|
"description": "Client reported receive rate.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 105
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 26,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"rx_rate"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "RX Rate",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Kbits",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 113
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 27,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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_retries"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
"1s"
|
|
],
|
|
"type": "non_negative_derivative"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Transmit Retries",
|
|
"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": "Attempts / Second",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 113
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 31,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Transmit Power",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 122
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 25,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"anomalies"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Anomalies",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "short",
|
|
"label": "Anomalies",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 122
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 30,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"satisfaction"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Satisafaction",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "percent",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 129
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 28,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sort": "max",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"roam_count"
|
|
],
|
|
"type": "field"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Roam Count",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "short",
|
|
"label": "Anomalies",
|
|
"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_POLLER}",
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 129
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 29,
|
|
"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": {
|
|
"dataLinks": []
|
|
},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "[[Identifier]]",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"name"
|
|
],
|
|
"type": "tag"
|
|
},
|
|
{
|
|
"params": [
|
|
"mac"
|
|
],
|
|
"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": [
|
|
"ccq"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [
|
|
" / 10"
|
|
],
|
|
"type": "math"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "name",
|
|
"operator": "=~",
|
|
"value": "/^$Wireless$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "ap_name",
|
|
"operator": "=~",
|
|
"value": "/^$AP$/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "site_name",
|
|
"operator": "=~",
|
|
"value": "/^$Site$/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Client Connection Quality",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"decimals": 0,
|
|
"format": "percent",
|
|
"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": false,
|
|
"schemaVersion": 25,
|
|
"style": "dark",
|
|
"tags": [
|
|
"unifi",
|
|
"unifi-poller"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"allValue": ".*",
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"source\" ",
|
|
"hide": 2,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Controller",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"source\" ",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"site_name\" WHERE source =~ /^$Controller$/ ",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Site",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"site_name\" WHERE source =~ /^$Controller$/ ",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"ap_name\" WHERE site_name =~ /^$Site$/ ",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "AP",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"ap_name\" WHERE site_name =~ /^$Site$/ ",
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"sw_name\" WHERE site_name =~ /^$Site$/ ",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Switch",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"sw_name\" WHERE site_name =~ /^$Site$/ ",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": ".*",
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"name\" WHERE site_name =~ /^$Site$/ AND ap_name =~ /^$AP$/ AND is_wired=false",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Wireless",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"name\" WHERE site_name =~ /^$Site$/ AND ap_name =~ /^$AP$/ AND is_wired=false",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": ".*",
|
|
"current": {},
|
|
"datasource": "${DS_UNIFI_POLLER}",
|
|
"definition": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"name\" WHERE site_name =~ /^$Site$/ AND sw_name =~ /^$Switch$/ AND is_wired=true",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": null,
|
|
"multi": true,
|
|
"name": "Wired",
|
|
"options": [],
|
|
"query": "SHOW TAG VALUES FROM \"clients\" WITH KEY = \"name\" WHERE site_name =~ /^$Site$/ AND sw_name =~ /^$Switch$/ AND is_wired=true",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {
|
|
"selected": true,
|
|
"text": "$tag_name",
|
|
"value": "$tag_name"
|
|
},
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "Identifier",
|
|
"options": [
|
|
{
|
|
"selected": true,
|
|
"text": "$tag_name",
|
|
"value": "$tag_name"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "$tag_name $tag_mac",
|
|
"value": "$tag_name $tag_mac"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "$tag_mac",
|
|
"value": "$tag_mac"
|
|
}
|
|
],
|
|
"query": "$tag_name, $tag_name $tag_mac, $tag_mac",
|
|
"queryValue": "",
|
|
"skipUrlSync": false,
|
|
"type": "custom"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-3h",
|
|
"to": "now-5s"
|
|
},
|
|
"timepicker": {
|
|
"nowDelay": "5s",
|
|
"refresh_intervals": [
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
]
|
|
},
|
|
"timezone": "browser",
|
|
"title": "UniFi-Poller: Client Insights - InfluxDB",
|
|
"uid": "YVR23BZiz",
|
|
"version": 16
|
|
} |