New 2.0.1 dashboards

This commit is contained in:
davidnewhall2 2020-06-14 02:28:26 -07:00
parent 2128164173
commit 273883149c
7 changed files with 13778 additions and 9958 deletions

File diff suppressed because it is too large Load Diff

View File

@ -14,13 +14,13 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
"version": "7.0.3"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.3.9"
"version": "1.5.0"
},
{
"type": "panel",
@ -42,8 +42,8 @@
},
{
"type": "panel",
"id": "table",
"name": "Table",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
@ -60,12 +60,12 @@
}
]
},
"description": "UniFi Poller v2.0 Displays detailed information for clients in a UniFi network.",
"description": "UniFi Poller v2.0.1 Displays detailed information for clients in a UniFi network.",
"editable": true,
"gnetId": 10418,
"graphTooltip": 1,
"id": null,
"iteration": 1580615238375,
"iteration": 1592125484258,
"links": [
{
"asDropdown": true,
@ -105,6 +105,12 @@
"columns": [],
"datasource": "${DS_UNIFI_POLLER}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"gridPos": {
"h": 12,
@ -114,7 +120,6 @@
},
"id": 21,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -479,12 +484,18 @@
"timeFrom": "5m",
"title": "Wireless Devices",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"columns": [],
"datasource": "${DS_UNIFI_POLLER}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"gridPos": {
"h": 12,
@ -495,7 +506,6 @@
"hideTimeOverride": false,
"id": 22,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -794,7 +804,7 @@
"timeFrom": "5m",
"title": "Wired Devices",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"aliasColors": {},
@ -807,6 +817,12 @@
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"description": "Visualize wireless channel usage w/ wired client counts.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -827,7 +843,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"pluginVersion": "6.5.1",
"strokeWidth": 1,
@ -928,6 +943,12 @@
"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": {
@ -949,7 +970,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": "3",
"targets": [
@ -1010,6 +1030,12 @@
"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": {
@ -1032,7 +1058,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": 1,
"targets": [
@ -1093,6 +1118,12 @@
"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": {
@ -1113,7 +1144,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": 1,
"targets": [
@ -1170,6 +1200,12 @@
"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": {
@ -1206,6 +1242,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:4978",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1215,7 +1252,7 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"alias": "[[Identifier]] $col",
"groupBy": [
{
"params": [
@ -1229,6 +1266,12 @@
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"none"
@ -1239,7 +1282,7 @@
"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)",
"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",
@ -1341,6 +1384,7 @@
},
"yaxes": [
{
"$$hashKey": "object:227",
"format": "Bps",
"label": "bytes / sec",
"logBase": 1,
@ -1349,6 +1393,7 @@
"show": true
},
{
"$$hashKey": "object:228",
"format": "short",
"label": null,
"logBase": 1,
@ -1369,6 +1414,12 @@
"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": {
@ -1405,6 +1456,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:5499",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1414,7 +1466,7 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"alias": "[[Identifier]] $col",
"groupBy": [
{
"params": [
@ -1428,6 +1480,12 @@
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"none"
@ -1586,6 +1644,12 @@
"display": "timeline",
"expandFromQueryS": 0,
"extendLastValue": true,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 16,
"w": 12,
@ -1598,7 +1662,6 @@
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#000000",
"options": {},
"rangeMaps": [
{
"from": "null",
@ -1616,13 +1679,19 @@
"showTransitionCount": true,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -1757,6 +1826,12 @@
"display": "timeline",
"expandFromQueryS": 0,
"extendLastValue": true,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 16,
"w": 12,
@ -1769,7 +1844,6 @@
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#000000",
"options": {},
"rangeMaps": [
{
"from": "null",
@ -1787,13 +1861,19 @@
"showTransitionCount": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"hide": false,
@ -1835,13 +1915,19 @@
]
},
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"hide": false,
@ -1947,6 +2033,12 @@
"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": {
@ -1983,6 +2075,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:7363",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1992,7 +2085,7 @@
"steppedLine": false,
"targets": [
{
"alias": "e $tag_name $col",
"alias": "e [[Identifier]] $col",
"groupBy": [
{
"params": [
@ -2006,6 +2099,12 @@
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"none"
@ -2097,7 +2196,7 @@
]
},
{
"alias": "w $tag_name $col",
"alias": "w [[Identifier]] $col",
"groupBy": [
{
"params": [
@ -2111,6 +2210,12 @@
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"none"
@ -2251,6 +2356,12 @@
"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": {
@ -2287,6 +2398,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:7497",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -2296,7 +2408,7 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"alias": "[[Identifier]] $col",
"groupBy": [
{
"params": [
@ -2314,7 +2426,7 @@
"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\"",
"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",
@ -2443,6 +2555,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2485,13 +2603,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -2581,6 +2705,12 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2623,13 +2753,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -2718,6 +2854,12 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2760,13 +2902,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -2856,6 +3004,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"description": "Client reported transmit rate.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2896,13 +3050,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -2991,6 +3151,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3033,13 +3199,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3136,6 +3308,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"description": "Client reported receive rate.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3176,13 +3354,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3272,6 +3456,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3314,13 +3504,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3416,6 +3612,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3458,13 +3660,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3553,6 +3761,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -3595,13 +3809,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3693,6 +3913,12 @@
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3733,13 +3959,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3830,6 +4062,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3872,13 +4110,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -3969,6 +4213,12 @@
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -4009,13 +4259,19 @@
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"alias": "[[Identifier]]",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "clients",
@ -4106,7 +4362,7 @@
}
],
"refresh": false,
"schemaVersion": 22,
"schemaVersion": 25,
"style": "dark",
"tags": [
"unifi",
@ -4245,6 +4501,40 @@
"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"
}
]
},
@ -4278,5 +4568,5 @@
"timezone": "browser",
"title": "UniFi-Poller: Client Insights - InfluxDB",
"uid": "YVR23BZiz",
"version": 12
"version": 16
}

View File

@ -14,13 +14,13 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
"version": "7.0.3"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.3.9"
"version": "1.5.0"
},
{
"type": "panel",
@ -36,8 +36,8 @@
},
{
"type": "panel",
"id": "table",
"name": "Table",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
@ -54,12 +54,12 @@
}
]
},
"description": "UniFi Poller v2.0 Displays detailed information for clients in a UniFi network using Prometheus.",
"description": "UniFi Poller v2.0.1 Displays detailed information for clients in a UniFi network using Prometheus.",
"editable": true,
"gnetId": 11315,
"graphTooltip": 1,
"id": null,
"iteration": 1580615170679,
"iteration": 1592125485014,
"links": [
{
"asDropdown": true,
@ -99,6 +99,12 @@
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"description": "This table represents current (latest) data.\nBytes columns are lifetime totals.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"gridPos": {
"h": 13,
@ -108,7 +114,6 @@
},
"id": 21,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -623,12 +628,18 @@
"timeFrom": null,
"title": "Wireless Devices",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"description": "This table represents current (latest) data.\nBytes columns are lifetime totals.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "80%",
"gridPos": {
"h": 12,
@ -639,7 +650,6 @@
"hideTimeOverride": false,
"id": 22,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -1025,7 +1035,7 @@
"timeFrom": null,
"title": "Wired Devices",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"aliasColors": {},
@ -1038,6 +1048,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "Visualize wireless channel usage w/ wired client counts.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -1059,7 +1075,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": "2",
"targets": [
@ -1094,6 +1109,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "Visualize how many clients are connected to which radios/APs.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -1115,7 +1136,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": "3",
"targets": [
@ -1144,6 +1164,12 @@
"datasource": "${DS_PROMETHEUS}",
"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": {
@ -1168,7 +1194,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": 1,
"targets": [
@ -1202,6 +1227,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"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": 0,
"fillGradient": 0,
"gridPos": {
@ -1240,6 +1271,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:323",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1249,17 +1281,17 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"instant": false,
"interval": "$Smooth",
"legendFormat": "{{name}} Tx",
"legendFormat": "{{name}} {{mac}} Tx",
"refId": "B"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"instant": false,
"interval": "$Smooth",
"legendFormat": "{{name}} Rx",
"legendFormat": "{{name}} {{mac}} Rx",
"refId": "C"
}
],
@ -1311,6 +1343,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"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": {
@ -1348,6 +1386,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:398",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1357,17 +1396,17 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"interval": "$Smooth",
"legendFormat": "{{name}} Tx",
"legendFormat": "{{name}} {{mac}} Tx",
"refId": "A"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{name!~\".*camera.*|.*cam(era)?$\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"intervalFactor": 1,
"legendFormat": "{{name}} Rx",
"legendFormat": "{{name}} {{mac}} Rx",
"refId": "B"
}
],
@ -1420,6 +1459,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Amazon Devices TX / RX bytes per second. Rx is on the negative axis. My home network has a ton of Amazon devices, so I broke them out separately. If you don't have Amazon devices, or they have different names, you can edit the query to use a different name. e = wired, w = wireless",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1456,6 +1501,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:469",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1465,31 +1511,31 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{name=~\"^amazon.*\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{name=~\"^amazon.*\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "w {{name}} Tx",
"legendFormat": "w {{name}} {{mac}} Tx",
"refId": "A"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{name=~\"^amazon.*\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{name=~\"^amazon.*\", name=~\"$Wireless\", site_name=~\"$Site\", ap_name=~\"$AP\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "w {{name}} Rx",
"legendFormat": "w {{name}} {{mac}} Rx",
"refId": "B"
},
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{name=~\"^amazon.*\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{name=~\"^amazon.*\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "e {{name}} Tx",
"legendFormat": "e {{name}} {{mac}} Tx",
"refId": "C"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{name=~\"^amazon.*\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{name=~\"^amazon.*\", name=~\"$Wired\", site_name=~\"$Site\", sw_name=~\"$Switch\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "e {{name}} Rx",
"legendFormat": "e {{name}} {{mac}} Rx",
"refId": "D"
}
],
@ -1541,6 +1587,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Cameras TX / RX bytes per second. Rx is on the negative axis. This graph shows any device with the word \"camera\" in its name and has nothing to do with UniFi Protect/video products. e = wired, w = wireless",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1578,6 +1630,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:510",
"alias": "/Rx$/",
"transform": "negative-Y"
}
@ -1587,32 +1640,32 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{ap_name=~\"$AP\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{ap_name=~\"$AP\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"hide": false,
"instant": false,
"interval": "$Smooth",
"legendFormat": "w {{name}} Tx",
"legendFormat": "w {{name}} {{mac}} Tx",
"refId": "A"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{ap_name=~\"$AP\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{ap_name=~\"$AP\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "w {{name}} Rx",
"legendFormat": "w {{name}} {{mac}} Rx",
"refId": "B"
},
{
"expr": "sum by (name) (rate(unifipoller_client_transmit_bytes_total{sw_name=~\"$Switch\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_bytes_total{sw_name=~\"$Switch\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "e {{name}} Tx",
"legendFormat": "e {{name}} {{mac}} Tx",
"refId": "C"
},
{
"expr": "sum by (name) (rate(unifipoller_client_receive_bytes_total{sw_name=~\"$Switch\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"expr": "sum by ($Identifier) (rate(unifipoller_client_receive_bytes_total{sw_name=~\"$Switch\", name=~\".*camera.*|.*cam$\", site_name=~\"$Site\"}[$__interval]))",
"hide": false,
"interval": "$Smooth",
"legendFormat": "e {{name}} Rx",
"legendFormat": "e {{name}} {{mac}} Rx",
"refId": "D"
}
],
@ -1664,6 +1717,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1706,9 +1765,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_rssi_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_rssi_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "1m",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -1762,6 +1821,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1804,11 +1869,11 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_radio_signal_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_radio_signal_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"instant": false,
"interval": "$Smooth",
"intervalFactor": 1,
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -1862,6 +1927,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1904,10 +1975,10 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_noise_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_noise_db{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"instant": false,
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -1960,6 +2031,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Client reported transmit rate.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2000,9 +2077,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_radio_transmit_rate_bps{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_radio_transmit_rate_bps{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2055,6 +2132,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2097,9 +2180,9 @@
"steppedLine": false,
"targets": [
{
"expr": "rate(unifipoller_client_wifi_attempts_transmit_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"}[$__interval])",
"expr": "avg by ($Identifier) (rate(unifipoller_client_wifi_attempts_transmit_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"}[$__interval]))",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2153,6 +2236,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Client reported receive rate.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2195,9 +2284,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_radio_receive_rate_bps{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_radio_receive_rate_bps{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2251,6 +2340,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2293,9 +2388,9 @@
"steppedLine": false,
"targets": [
{
"expr": "rate(unifipoller_client_transmit_retries_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"}[$__interval])",
"expr": "sum by ($Identifier) (rate(unifipoller_client_transmit_retries_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"}[$__interval]))",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2348,6 +2443,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2390,9 +2491,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_radio_transmit_power_dbm{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_radio_transmit_power_dbm{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2445,6 +2546,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2487,9 +2594,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_anomalies{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_anomalies{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2543,6 +2650,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2585,9 +2698,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_satisfaction_ratio{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_satisfaction_ratio{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2641,6 +2754,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2683,9 +2802,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_roam_count_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_roam_count_total{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2738,6 +2857,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2780,9 +2905,9 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (name) (unifipoller_client_ccq_ratio{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"expr": "sum by ($Identifier) (unifipoller_client_ccq_ratio{ap_name=~\"$AP\", site_name=~\"$Site\", name=~\"$Wireless\"})",
"interval": "$Smooth",
"legendFormat": "{{name}}",
"legendFormat": "{{name}} {{mac}}",
"refId": "A"
}
],
@ -2830,7 +2955,7 @@
}
],
"refresh": "1m",
"schemaVersion": 22,
"schemaVersion": 25,
"style": "dark",
"tags": [
"unifi",
@ -2989,12 +3114,12 @@
"value": "30s"
},
{
"selected": true,
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": false,
"selected": true,
"text": "2m",
"value": "2m"
},
@ -3027,11 +3152,40 @@
"query": "30s,1m,2m,5m,10m,15m,30m,1h",
"skipUrlSync": false,
"type": "custom"
},
{
"allValue": null,
"current": {
"selected": true,
"text": "name",
"value": "name"
},
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "Identifier",
"options": [
{
"selected": true,
"text": "name",
"value": "name"
},
{
"selected": false,
"text": "name,mac",
"value": "name,mac"
}
],
"query": "name, name\\,mac",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-2d",
"from": "now-3h",
"to": "now"
},
"timepicker": {
@ -3060,5 +3214,5 @@
"timezone": "browser",
"title": "UniFi-Poller: Client Insights - Prometheus",
"uid": "jMfvAjxWz",
"version": 25
"version": 30
}

View File

@ -14,19 +14,19 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
"version": "7.0.3"
},
{
"type": "panel",
"id": "grafana-clock-panel",
"name": "Clock",
"version": "1.0.3"
"version": "1.1.1"
},
{
"type": "panel",
"id": "grafana-piechart-panel",
"name": "Pie Chart",
"version": "1.3.9"
"version": "1.5.0"
},
{
"type": "panel",
@ -48,8 +48,8 @@
},
{
"type": "panel",
"id": "table",
"name": "Table",
"id": "table-old",
"name": "Table (old)",
"version": ""
},
{
@ -62,6 +62,7 @@
"annotations": {
"list": [
{
"$$hashKey": "object:69",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
@ -72,12 +73,12 @@
}
]
},
"description": "UniFi Poller v2.0 Displays detailed information for wireless access points in a UniFi network using Prometheus.",
"description": "UniFi Poller v2.0.1 Displays detailed information for wireless access points in a UniFi network using Prometheus.",
"editable": true,
"gnetId": 11314,
"graphTooltip": 1,
"id": null,
"iteration": 1580616501060,
"iteration": 1592125488769,
"links": [
{
"asDropdown": true,
@ -116,6 +117,13 @@
"panels": [
{
"content": "<br>\n<br>\n<center><b><font size=\"6px\">Unifi UAP</font></b></center>\n",
"datasource": "${DS_UNIFI_POLLER}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
@ -125,7 +133,6 @@
"id": 34,
"links": [],
"mode": "html",
"options": {},
"title": "",
"transparent": true,
"type": "text"
@ -145,6 +152,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "Visualize wireless channel usage w/ wired client counts.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -167,7 +180,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": "3",
"targets": [
@ -201,6 +213,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "Visualize how many clients are connected to which radios/APs.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -224,7 +242,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": "3",
"targets": [
@ -253,6 +270,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "This shows an OUI breakdown from Unifi's perspective.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "70%",
"format": "short",
"gridPos": {
@ -276,7 +299,6 @@
"links": [],
"maxDataPoints": 3,
"nullPointMode": "connected",
"options": {},
"pieType": "pie",
"strokeWidth": 1,
"targets": [
@ -307,6 +329,12 @@
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
@ -339,7 +367,6 @@
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
@ -386,6 +413,12 @@
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
@ -418,7 +451,6 @@
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "80%",
"prefix": "",
@ -460,12 +492,19 @@
"endCountdownTime": "2018-04-29T21:47:00.000Z",
"endText": "00:00:00"
},
"datasource": "${DS_UNIFI_POLLER}",
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "12px",
"fontWeight": "bold",
"showDate": true
},
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
@ -477,7 +516,32 @@
"mode": "time",
"offsetFromUtc": null,
"offsetFromUtcMinutes": null,
"options": {},
"options": {
"bgColor": "",
"clockType": "24 hour",
"countdownSettings": {
"endCountdownTime": "2020-06-14T00:36:42-07:00",
"endText": "00:00:00"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "20px",
"fontWeight": "normal",
"showDate": false
},
"mode": "time",
"timeSettings": {
"fontSize": "12px",
"fontWeight": "normal"
},
"timezone": "",
"timezoneSettings": {
"fontSize": "12px",
"fontWeight": "normal",
"showTimezone": false,
"zoneFormat": "offsetAbbv"
}
},
"refreshSettings": {
"syncWithDashboard": false
},
@ -501,6 +565,12 @@
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 6,
@ -511,7 +581,6 @@
"id": 1,
"isNew": true,
"links": [],
"options": {},
"pageSize": null,
"scroll": false,
"showHeader": true,
@ -521,6 +590,7 @@
},
"styles": [
{
"$$hashKey": "object:9911",
"alias": "",
"align": "auto",
"colorMode": null,
@ -537,6 +607,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9912",
"alias": "Uptime",
"align": "auto",
"colorMode": null,
@ -547,12 +618,13 @@
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Value",
"pattern": "Value #A",
"thresholds": [],
"type": "hidden",
"unit": "dtdurations"
},
{
"$$hashKey": "object:9913",
"alias": "Name",
"align": "auto",
"colorMode": null,
@ -574,22 +646,7 @@
"unit": "short"
},
{
"alias": "ID",
"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,
"pattern": "id",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:9915",
"alias": "Model",
"align": "auto",
"colorMode": null,
@ -606,6 +663,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9916",
"alias": "Device MAC",
"align": "auto",
"colorMode": null,
@ -622,6 +680,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9917",
"alias": "Unifi Serial #",
"align": "auto",
"colorMode": null,
@ -638,6 +697,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9918",
"alias": "Site",
"align": "auto",
"colorMode": null,
@ -654,6 +714,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9919",
"alias": "Version",
"align": "auto",
"colorMode": null,
@ -670,57 +731,7 @@
"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": "__name__",
"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": "instance",
"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": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:9923",
"alias": "Address",
"align": "auto",
"colorMode": null,
@ -738,6 +749,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9924",
"alias": "Type",
"align": "auto",
"colorMode": null,
@ -755,6 +767,7 @@
"unit": "short"
},
{
"$$hashKey": "object:9925",
"alias": "Type",
"align": "auto",
"colorMode": null,
@ -772,6 +785,7 @@
"unit": "decbytes"
},
{
"$$hashKey": "object:9926",
"alias": "Uptime",
"align": "auto",
"colorMode": null,
@ -783,13 +797,14 @@
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "uptime",
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "s"
},
{
"alias": "Controller",
"$$hashKey": "object:9928",
"alias": "Bytes",
"align": "auto",
"colorMode": null,
"colors": [
@ -798,43 +813,46 @@
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"decimals": 1,
"mappingType": 1,
"pattern": "source",
"pattern": "Value #C",
"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": "bytes",
"thresholds": [],
"type": "hidden",
"unit": "short"
"type": "number",
"unit": "bytes"
}
],
"targets": [
{
"expr": "unifipoller_device_info{site_name=~\"$Site\", name=~\"$AP\"}",
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version) (unifipoller_device_info{site_name=~\"$Site\", name=~\"$AP\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version) (unifipoller_device_uptime_seconds{site_name=~\"$Site\", name=~\"$AP\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version) (unifipoller_device_bytes_total{site_name=~\"$Site\", name=~\"$AP\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
}
],
"timeFrom": null,
"title": "Access Point Details",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"columns": [],
@ -842,6 +860,12 @@
"description": "The counters in this table represent uptime totals and do not change with the time range selector. ",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 10,
@ -852,7 +876,6 @@
"id": 49,
"isNew": true,
"links": [],
"options": {},
"pageSize": null,
"scroll": false,
"showHeader": true,
@ -1376,7 +1399,7 @@
"title": "Networks / UAP",
"transform": "table",
"transparent": true,
"type": "table"
"type": "table-old"
},
{
"aliasColors": {
@ -1389,6 +1412,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1486,6 +1515,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1585,6 +1620,12 @@
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1705,6 +1746,12 @@
"decimals": 0,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1804,6 +1851,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Devices TX / RX bytes per second grouped by OUI. RX on negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -1912,6 +1965,12 @@
"decimals": 0,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2029,6 +2088,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2127,6 +2192,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2226,6 +2297,12 @@
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2323,6 +2400,12 @@
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2422,6 +2505,12 @@
"decimals": 0,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2533,6 +2622,12 @@
"description": "Displays 2.4GHz usage.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2641,6 +2736,12 @@
"description": "RX is on the negative Axis.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2754,6 +2855,12 @@
"description": "RX is on the negative Axis.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2866,6 +2973,12 @@
"description": "PPS on the na band. In is on the negative Axis.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -2977,6 +3090,12 @@
"description": "PPS on the ng band calculated in 30 second buckets. In is on the negative Axis.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3089,6 +3208,12 @@
"description": "Visualize packet errors (several types) per second in the 5GHz band.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3238,6 +3363,12 @@
"description": "In is on the negative axis.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -3379,7 +3510,7 @@
}
],
"refresh": "1m",
"schemaVersion": 22,
"schemaVersion": 25,
"style": "dark",
"tags": [
"unifi",
@ -3545,5 +3676,5 @@
"timezone": "browser",
"title": "UniFi-Poller: UAP Insights - Prometheus",
"uid": "g5wFWqxZk",
"version": 19
"version": 24
}

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
"version": "7.0.3"
},
{
"type": "panel",
@ -30,8 +30,8 @@
},
{
"type": "panel",
"id": "table",
"name": "Table",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
@ -48,12 +48,12 @@
}
]
},
"description": "UniFi Poller v2.0 Displays detailed information for network switches in a UniFi network.",
"description": "UniFi Poller v2.0.1 Displays detailed information for network switches in a UniFi network.",
"editable": true,
"gnetId": 10417,
"graphTooltip": 1,
"id": null,
"iteration": 1580615240821,
"iteration": 1592125489578,
"links": [
{
"asDropdown": true,
@ -108,6 +108,12 @@
"datasource": "${DS_UNIFI_POLLER}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 6,
@ -118,7 +124,6 @@
"id": 1857,
"isNew": true,
"links": [],
"options": {},
"pageSize": null,
"scroll": false,
"showHeader": true,
@ -455,7 +460,7 @@
"title": "USW Details",
"transform": "table",
"transparent": true,
"type": "table"
"type": "table-old"
},
{
"aliasColors": {
@ -467,6 +472,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 1,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -679,6 +690,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -832,6 +849,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1028,6 +1051,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"decimals": null,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1175,6 +1204,12 @@
"dashes": false,
"datasource": "${DS_UNIFI_POLLER}",
"description": "Shows data transferred for ports: Selected Switch ports. Rx is on the negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1363,6 +1398,12 @@
"columns": [],
"datasource": "${DS_UNIFI_POLLER}",
"description": "This panel displays lifetime totals and current data as of now.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "90%",
"gridPos": {
"h": 21,
@ -1372,7 +1413,6 @@
},
"id": 214,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -1910,7 +1950,7 @@
"title": "All Port Information",
"transform": "table",
"transparent": true,
"type": "table"
"type": "table-old"
},
{
"collapsed": true,
@ -1940,9 +1980,7 @@
"pageSize": null,
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"scroll": true,
@ -2388,7 +2426,7 @@
],
"title": "Switch $Port Information",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"aliasColors": {
@ -2434,9 +2472,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [
@ -2629,9 +2665,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [
@ -2849,9 +2883,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [
@ -3093,9 +3125,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [
@ -3288,9 +3318,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [],
@ -3442,9 +3470,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [],
@ -3596,9 +3622,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 2",
"value": "switch Port 2"
"selected": false
}
},
"seriesOverrides": [],
@ -3716,7 +3740,7 @@
}
],
"refresh": false,
"schemaVersion": 22,
"schemaVersion": 25,
"style": "dark",
"tags": [
"unifi",
@ -3729,14 +3753,14 @@
"allValue": ".*",
"current": {},
"datasource": "${DS_UNIFI_POLLER}",
"definition": "show tag values from \"usw\" with key=\"source\"",
"definition": "show tag values from \"usw_ports\" with key=\"source\"",
"hide": 2,
"includeAll": true,
"label": null,
"multi": true,
"name": "Controller",
"options": [],
"query": "show tag values from \"usw\" with key=\"source\"",
"query": "show tag values from \"usw_ports\" with key=\"source\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -3751,14 +3775,14 @@
"allValue": "",
"current": {},
"datasource": "${DS_UNIFI_POLLER}",
"definition": "show tag values from \"usw\" with key=\"site_name\" WHERE source =~ /^$Controller$/",
"definition": "show tag values from \"usw_ports\" with key=\"site_name\" WHERE source =~ /^$Controller$/",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Site",
"options": [],
"query": "show tag values from \"usw\" with key=\"site_name\" WHERE source =~ /^$Controller$/",
"query": "show tag values from \"usw_ports\" with key=\"site_name\" WHERE source =~ /^$Controller$/",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -3845,5 +3869,5 @@
"timezone": "browser",
"title": "UniFi-Poller: USW Insights - InfluxDB",
"uid": "HIKZ98GZz",
"version": 15
}
"version": 18
}

View File

@ -14,7 +14,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
"version": "7.0.3"
},
{
"type": "panel",
@ -30,8 +30,8 @@
},
{
"type": "panel",
"id": "table",
"name": "Table",
"id": "table-old",
"name": "Table (old)",
"version": ""
}
],
@ -48,12 +48,12 @@
}
]
},
"description": "UniFi Poller v2.0 Displays detailed information for network switches in a UniFi network using Prometheus.",
"description": "UniFi Poller v2.0.1 Displays detailed information for network switches in a UniFi network using Prometheus.",
"editable": true,
"gnetId": 11312,
"graphTooltip": 1,
"id": null,
"iteration": 1580615469479,
"iteration": 1592125490470,
"links": [
{
"asDropdown": true,
@ -91,6 +91,7 @@
"panels": [
{
"collapsed": false,
"datasource": "${DS_UNIFI_POLLER}",
"gridPos": {
"h": 1,
"w": 24,
@ -105,8 +106,15 @@
{
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"description": "If you have access points and gateways they will also show up here because they have switch ports.",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 6,
@ -117,7 +125,6 @@
"id": 2297,
"isNew": true,
"links": [],
"options": {},
"pageSize": null,
"scroll": false,
"showHeader": true,
@ -127,6 +134,7 @@
},
"styles": [
{
"$$hashKey": "object:10978",
"alias": "",
"align": "auto",
"colorMode": null,
@ -143,6 +151,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10979",
"alias": "",
"align": "auto",
"colorMode": null,
@ -153,12 +162,13 @@
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Value",
"pattern": "Value #A",
"thresholds": [],
"type": "hidden",
"unit": "dtdurations"
},
{
"$$hashKey": "object:10980",
"alias": "Name",
"align": "auto",
"colorMode": null,
@ -180,22 +190,7 @@
"unit": "short"
},
{
"alias": "ID",
"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,
"pattern": "id",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"$$hashKey": "object:10982",
"alias": "Model",
"align": "auto",
"colorMode": null,
@ -212,6 +207,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10983",
"alias": "Device MAC",
"align": "auto",
"colorMode": null,
@ -228,7 +224,8 @@
"unit": "short"
},
{
"alias": "Unifi Serial #",
"$$hashKey": "object:10984",
"alias": "UniFi Serial #",
"align": "auto",
"colorMode": null,
"colors": [
@ -244,6 +241,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10985",
"alias": "Site",
"align": "auto",
"colorMode": null,
@ -260,6 +258,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10986",
"alias": "Version",
"align": "auto",
"colorMode": null,
@ -276,57 +275,7 @@
"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": "__name__",
"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": "instance",
"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": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"$$hashKey": "object:10990",
"alias": "IP",
"align": "auto",
"colorMode": null,
@ -344,6 +293,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10991",
"alias": "Type",
"align": "auto",
"colorMode": null,
@ -361,6 +311,7 @@
"unit": "short"
},
{
"$$hashKey": "object:10992",
"alias": "Data",
"align": "auto",
"colorMode": null,
@ -372,12 +323,13 @@
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "bytes",
"pattern": "Value #C",
"thresholds": [],
"type": "number",
"unit": "decbytes"
},
{
"$$hashKey": "object:10993",
"alias": "Uptime",
"align": "auto",
"colorMode": null,
@ -389,12 +341,13 @@
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "uptime",
"pattern": "Value #B",
"thresholds": [],
"type": "number",
"unit": "s"
},
{
"$$hashKey": "object:10994",
"alias": "Controller",
"align": "auto",
"colorMode": null,
@ -408,22 +361,40 @@
"mappingType": 1,
"pattern": "source",
"thresholds": [],
"type": "string",
"type": "hidden",
"unit": "short"
}
],
"targets": [
{
"expr": "unifipoller_device_info{site_name=~\"$Site\", name=~\"$Switch\",type=~\"usw|udm|udmp\"}",
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version,source) (unifipoller_device_info{site_name=~\"$Site\", name=~\"$Switch\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version,source) (unifipoller_device_uptime_seconds{site_name=~\"$Site\", name=~\"$Switch\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"expr": "sum by (ip,mac,model,name,serial,site_name,type,version,source) (unifipoller_device_bytes_total{site_name=~\"$Site\", name=~\"$Switch\"})",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
}
],
"timeFrom": null,
"title": "Switch Details",
"transform": "table",
"type": "table"
"type": "table-old"
},
{
"aliasColors": {
@ -435,6 +406,13 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 1,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -470,6 +448,7 @@
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:11469",
"alias": "/F$/",
"yaxis": 2
}
@ -479,15 +458,17 @@
"steppedLine": false,
"targets": [
{
"expr": "unifipoller_device_temperature_celsius{site_name=~\"$Site\",name=~\"$Switch\",type=~\"usw|udm|udmp\"}",
"expr": "sum by (name,temp_area,temp_type) (unifipoller_device_temperature_celsius{site_name=~\"$Site\",name=~\"$Switch\"})",
"interval": "$Smooth",
"legendFormat": "{{name}} C",
"legendFormat": "{{name}} {{temp_area}} {{temp_type}} C ",
"refId": "A"
},
{
"expr": "unifipoller_device_temperature_celsius{site_name=~\"$Site\",name=~\"$Switch\",type=~\"usw|udm|udmp\"}*9/5+32",
"expr": "sum by (name,temp_area,temp_type) (unifipoller_device_temperature_celsius{site_name=~\"$Site\",name=~\"$Switch\"}*9/5+32)",
"hide": false,
"instant": false,
"interval": "$Smooth",
"legendFormat": "{{name}} F",
"legendFormat": "{{name}} {{temp_area}} {{temp_type}} F",
"refId": "B"
}
],
@ -495,9 +476,9 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Switch Tmperature",
"title": "Device Temperature(s)",
"tooltip": {
"shared": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
@ -511,6 +492,7 @@
},
"yaxes": [
{
"$$hashKey": "object:11514",
"decimals": 1,
"format": "celsius",
"label": "Celcius",
@ -520,7 +502,8 @@
"show": true
},
{
"decimals": null,
"$$hashKey": "object:11515",
"decimals": 1,
"format": "fahrenheit",
"label": "Farenheit",
"logBase": 1,
@ -545,6 +528,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -645,6 +634,12 @@
"datasource": "${DS_PROMETHEUS}",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -697,19 +692,21 @@
"steppedLine": false,
"targets": [
{
"expr": "unifipoller_device_load_average_1{site_name=~\"$Site\",name=~\"$Switch\",type=~\"usw|udm|udmp\"}",
"expr": "unifipoller_device_load_average_1{site_name=~\"$Site\",name=~\"$Switch\"}",
"interval": "$Smooth",
"legendFormat": "{{name}} load1",
"refId": "A"
},
{
"expr": "unifipoller_device_load_average_5{site_name=~\"$Site\",name=~\"$Switch\",type=~\"usw|udm|udmp\"}",
"expr": "unifipoller_device_load_average_5{site_name=~\"$Site\",name=~\"$Switch\"}",
"hide": true,
"interval": "$Smooth",
"legendFormat": "{{name}} load5",
"refId": "B"
},
{
"expr": "unifipoller_device_load_average_15{site_name=~\"$Site\",name=~\"$Switch\",type=~\"usw|udm|udmp\"}",
"expr": "unifipoller_device_load_average_15{site_name=~\"$Site\",name=~\"$Switch\"}",
"hide": false,
"interval": "$Smooth",
"legendFormat": "{{name}} load15",
"refId": "C"
@ -719,7 +716,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "USW Load Average",
"title": "Device Load Average",
"tooltip": {
"msResolution": false,
"shared": true,
@ -737,6 +734,7 @@
},
"yaxes": [
{
"$$hashKey": "object:13149",
"format": "none",
"label": null,
"logBase": 1,
@ -745,6 +743,7 @@
"show": true
},
{
"$$hashKey": "object:13150",
"format": "short",
"label": null,
"logBase": 1,
@ -769,6 +768,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": 0,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
@ -863,6 +868,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Shows data transferred for selected switch ports.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -968,6 +979,12 @@
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"description": "This panel displays lifetime totals and current data as of now.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "90%",
"gridPos": {
"h": 21,
@ -977,7 +994,6 @@
},
"id": 214,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
@ -1490,10 +1506,11 @@
"title": "All Port Information",
"transform": "table",
"transparent": true,
"type": "table"
"type": "table-old"
},
{
"collapsed": true,
"datasource": "${DS_UNIFI_POLLER}",
"gridPos": {
"h": 1,
"w": 24,
@ -1506,6 +1523,12 @@
"columns": [],
"datasource": "${DS_PROMETHEUS}",
"description": "These are total \"lifetime\" counters.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fontSize": "90%",
"gridPos": {
"h": 3,
@ -1515,13 +1538,10 @@
},
"id": 291,
"links": [],
"options": {},
"pageSize": null,
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"scroll": true,
@ -1811,7 +1831,7 @@
],
"title": "Switch $Port Information",
"transform": "timeseries_to_columns",
"type": "table"
"type": "table-old"
},
{
"aliasColors": {},
@ -1820,6 +1840,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Shows data transfer rate per second for Switch $Port. TX on positive axis and RX on negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1854,9 +1880,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [
@ -1930,6 +1954,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Shows broadcast and multicast packets per second for Switch $Port. TX on positive axis and RX on negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1964,9 +1994,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [
@ -2053,6 +2081,12 @@
"datasource": "${DS_PROMETHEUS}",
"decimals": null,
"description": "Shows errors and dropped packets for Switch $Port. RX on negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2088,9 +2122,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [
@ -2148,6 +2180,7 @@
},
"yaxes": [
{
"$$hashKey": "object:4320",
"decimals": null,
"format": "pps",
"label": "packets per second",
@ -2157,6 +2190,7 @@
"show": true
},
{
"$$hashKey": "object:4321",
"format": "short",
"label": null,
"logBase": 1,
@ -2177,6 +2211,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Shows packet counters for Switch $Port. TX on positive axis and RX on negative axis.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2211,9 +2251,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [
@ -2287,6 +2325,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Display POE Power for Switch $Port.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2321,9 +2365,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [],
@ -2386,6 +2428,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Display POE Voltage for Switch $Port.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2421,9 +2469,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [],
@ -2486,6 +2532,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Display POE Current for Switch $Port.",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -2520,9 +2572,7 @@
"renderer": "flot",
"scopedVars": {
"Port": {
"selected": false,
"text": "switch Port 6",
"value": "switch Port 6"
"selected": false
}
},
"seriesOverrides": [],
@ -2585,11 +2635,12 @@
},
{
"collapsed": true,
"datasource": "${DS_UNIFI_POLLER}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 61
"y": 85
},
"id": 2299,
"panels": [],
@ -2598,7 +2649,7 @@
}
],
"refresh": "1m",
"schemaVersion": 22,
"schemaVersion": 25,
"style": "dark",
"tags": [
"unifi",
@ -2611,14 +2662,14 @@
"allValue": ".*",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(unifipoller_device_info{type=\"usw\"},source)",
"definition": "label_values(unifipoller_device_info,source)",
"hide": 2,
"includeAll": true,
"label": null,
"multi": true,
"name": "Controller",
"options": [],
"query": "label_values(unifipoller_device_info{type=\"usw\"},source)",
"query": "label_values(unifipoller_device_info,source)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -2629,18 +2680,60 @@
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {
"selected": true,
"tags": [],
"text": "All",
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Devices",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "udm",
"value": "udm"
},
{
"selected": false,
"text": "usw",
"value": "usw"
},
{
"selected": false,
"text": "uap",
"value": "uap"
}
],
"query": "udm,usw,uap",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"allValue": ".*",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(unifipoller_device_info{source=~\"$Controller\",type=~\"usw|udm|udmp\"},site_name)",
"definition": "label_values(unifipoller_device_info{source=~\"$Controller\"},site_name)",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Site",
"options": [],
"query": "label_values(unifipoller_device_info{source=~\"$Controller\",type=~\"usw|udm|udmp\"},site_name)",
"query": "label_values(unifipoller_device_info{source=~\"$Controller\"},site_name)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -2652,17 +2745,17 @@
"useTags": false
},
{
"allValue": ".*",
"allValue": "",
"current": {},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(unifipoller_device_info{site_name=~\"$Site\", type=~\"usw|udm|udmp\"},name)",
"definition": "label_values(unifipoller_device_info{site_name=~\"$Site\", type=~\"$Devices\"},name)",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Switch",
"options": [],
"query": "label_values(unifipoller_device_info{site_name=~\"$Site\", type=~\"usw|udm|udmp\"},name)",
"query": "label_values(unifipoller_device_info{site_name=~\"$Site\", type=~\"$Devices\"},name)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
@ -2780,5 +2873,5 @@
"timezone": "browser",
"title": "UniFi-Poller: USW Insights - Prometheus",
"uid": "FsfxpWaZz",
"version": 26
"version": 35
}