Fix up dashboards.

This commit is contained in:
David Newhall II 2019-06-07 02:14:49 -07:00
parent cf53dbfcad
commit 47d0acf718
4 changed files with 2346 additions and 2048 deletions

View File

@ -64,8 +64,18 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 1, "graphTooltip": 1,
"id": null, "id": null,
"iteration": 1559859351362, "iteration": 1559898655544,
"links": [], "links": [
{
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"unifi"
],
"type": "dashboards"
}
],
"panels": [ "panels": [
{ {
"columns": [], "columns": [],
@ -106,10 +116,92 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"decimals": 2, "dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "/.*/", "decimals": null,
"mappingType": 1,
"pattern": "/Bytes$/",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
"unit": "decbytes"
},
{
"alias": "Name",
"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": "AP",
"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_mac",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Chan",
"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": "Device MAC",
"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": "Radio",
"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",
"thresholds": [],
"type": "string",
"unit": "short" "unit": "short"
} }
], ],
@ -122,12 +214,6 @@
], ],
"type": "tag" "type": "tag"
}, },
{
"params": [
"oui"
],
"type": "tag"
},
{ {
"params": [ "params": [
"channel" "channel"
@ -214,6 +300,42 @@
], ],
"type": "alias" "type": "alias"
} }
],
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Total RX Bytes"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Total TX Bytes"
],
"type": "alias"
}
] ]
], ],
"tags": [ "tags": [
@ -279,6 +401,69 @@
"pattern": "Time", "pattern": "Time",
"type": "hidden" "type": "hidden"
}, },
{
"alias": "Sw Port",
"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": "Fixed IP",
"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": "use_fixedip",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Name",
"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",
"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": "", "alias": "",
"colorMode": null, "colorMode": null,
@ -287,11 +472,13 @@
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"decimals": 2, "dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "/.*/", "decimals": null,
"mappingType": 1,
"pattern": "/Bytes$/",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
"unit": "short" "unit": "decbytes"
} }
], ],
"targets": [ "targets": [
@ -309,12 +496,6 @@
], ],
"type": "tag" "type": "tag"
}, },
{
"params": [
"oui"
],
"type": "tag"
},
{ {
"params": [ "params": [
"use_fixedip" "use_fixedip"
@ -332,7 +513,7 @@
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "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\"", "query": "SELECT last(\"ip\") AS \"Address\", last(\"note\") AS \"Note\", last(\"network\") AS \"Network\" FROM \"clients\" WHERE (\"is_wired\" != 'false' AND \"name\" =~ /^$Client$/ AND \"site_name\" =~ /$Site$/) AND $timeFilter GROUP BY \"sw_port\", \"mac\", \"oui\", \"use_fixedip\", \"name\"",
"rawQuery": true, "rawQuery": false,
"refId": "A", "refId": "A",
"resultFormat": "table", "resultFormat": "table",
"select": [ "select": [
@ -389,6 +570,42 @@
], ],
"type": "alias" "type": "alias"
} }
],
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Total RX Bytes"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Total TX Bytes"
],
"type": "alias"
}
] ]
], ],
"tags": [ "tags": [
@ -421,7 +638,7 @@
}, },
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "", "description": "Visualize wireless channel usage w/ wired client counts.",
"fontSize": "70%", "fontSize": "70%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -540,7 +757,7 @@
}, },
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "", "description": "Visualize how many clients are connected to which radios/APs.",
"fontSize": "70%", "fontSize": "70%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -622,7 +839,7 @@
}, },
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "", "description": "This shows an OUI breakdown from Unifi's perspective. The prefix w means wireless client and e means ethernet (wired) client.",
"fontSize": "70%", "fontSize": "70%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -743,7 +960,7 @@
}, },
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "", "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?",
"fontSize": "70%", "fontSize": "70%",
"format": "short", "format": "short",
"gridPos": { "gridPos": {
@ -820,7 +1037,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Bandwidth usage per wireless devices as reported by the UAPs. Does not include amazon devices.", "description": "Bandwidth usage per wireless devices as reported by the UAPs. Rx is on the negative axis. Does not include amazon devices.",
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
@ -851,7 +1068,12 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@ -861,7 +1083,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -901,7 +1123,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -925,7 +1147,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -938,8 +1160,8 @@
"tags": [ "tags": [
{ {
"key": "is_wired", "key": "is_wired",
"operator": "=", "operator": "!=",
"value": "false" "value": "true"
}, },
{ {
"condition": "AND", "condition": "AND",
@ -989,7 +1211,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / sec",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -1015,7 +1237,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Cameras TX / RX bytes per second (calculated in 1 minute buckets).", "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.",
"fill": 0, "fill": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
@ -1046,7 +1268,12 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": true, "stack": true,
"steppedLine": false, "steppedLine": false,
@ -1056,7 +1283,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1096,7 +1323,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1120,7 +1347,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1166,7 +1393,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / sec",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -1192,7 +1419,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Amazon Devices TX / RX bytes per second (calculated in 30 second buckets).", "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. :)",
"fill": 0, "fill": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
@ -1223,7 +1450,12 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@ -1233,7 +1465,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1273,7 +1505,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1297,7 +1529,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1317,7 +1549,7 @@
"condition": "AND", "condition": "AND",
"key": "is_wired", "key": "is_wired",
"operator": "!=", "operator": "!=",
"value": "true" "value": "false"
}, },
{ {
"condition": "AND", "condition": "AND",
@ -1344,7 +1576,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1384,7 +1616,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1408,7 +1640,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1428,7 +1660,7 @@
"condition": "AND", "condition": "AND",
"key": "is_wired", "key": "is_wired",
"operator": "!=", "operator": "!=",
"value": "false" "value": "true"
}, },
{ {
"condition": "AND", "condition": "AND",
@ -1467,7 +1699,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / sec",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -1493,7 +1725,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Wired TX / RX bytes per second (calculated in 30 second buckets). Does not include amazon and camera devices. Unaffected by the AP setting.", "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.",
"fill": 0, "fill": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
@ -1524,7 +1756,12 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@ -1534,7 +1771,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1574,7 +1811,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1598,7 +1835,7 @@
"params": [ "params": [
"1s" "1s"
], ],
"type": "derivative" "type": "non_negative_derivative"
}, },
{ {
"params": [ "params": [
@ -1657,7 +1894,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / sec",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -2564,7 +2801,9 @@
"refresh": "30s", "refresh": "30s",
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [], "tags": [
"unifi"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -2637,7 +2876,7 @@
}, },
"time": { "time": {
"from": "now-3h", "from": "now-3h",
"to": "now-20s" "to": "now-5s"
}, },
"timepicker": { "timepicker": {
"nowDelay": "20s", "nowDelay": "20s",
@ -2662,7 +2901,7 @@
] ]
}, },
"timezone": "", "timezone": "",
"title": "Unifi Client Insights", "title": "UniFi Client Insights",
"uid": "YVR23BZiz", "uid": "YVR23BZiz",
"version": 48 "version": 54
} }

View File

@ -71,8 +71,18 @@
"gnetId": 1486, "gnetId": 1486,
"graphTooltip": 1, "graphTooltip": 1,
"id": null, "id": null,
"iteration": 1559859372283, "iteration": 1559898637306,
"links": [], "links": [
{
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"unifi"
],
"type": "dashboards"
}
],
"panels": [ "panels": [
{ {
"columns": [], "columns": [],
@ -1292,7 +1302,7 @@
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 0, "fill": 1,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
@ -1306,14 +1316,14 @@
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
"min": true, "min": false,
"show": true, "show": true,
"sortDesc": true, "sortDesc": true,
"total": false, "total": false,
"values": true "values": true
}, },
"lines": true, "lines": true,
"linewidth": 2, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {}, "options": {},
@ -1321,7 +1331,14 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [
{
"alias": "/load15$/",
"fill": 0,
"lines": true,
"linewidth": 6
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@ -1391,6 +1408,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1544,6 +1567,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1637,7 +1666,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$interval" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1684,6 +1713,12 @@
"key": "device_name", "key": "device_name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1822,6 +1857,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "na" "value": "na"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
}, },
@ -1872,6 +1913,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "ng" "value": "ng"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1966,7 +2013,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$interval" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2055,6 +2102,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "na" "value": "na"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -2108,6 +2161,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Displays 2.4GHz usage.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 0, "fill": 0,
@ -2150,7 +2204,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"$interval" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2239,6 +2293,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "ng" "value": "ng"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -2291,6 +2351,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "I don't recall why I did *8 on this. The data here may not be entirely accurate?",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -2340,7 +2401,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2435,6 +2496,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "na" "value": "na"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -2536,7 +2603,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2631,6 +2698,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "ng" "value": "ng"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -2684,7 +2757,7 @@
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "PPS on the na band calculated in 30 second buckets.", "description": "PPS on the na band.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -2732,7 +2805,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2815,6 +2888,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "na" "value": "na"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -2919,7 +2998,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3002,6 +3081,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "ng" "value": "ng"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -3056,6 +3141,7 @@
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": 0,
"description": "Visualize packet errors (several types) per second in the 5GHz band.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -3105,7 +3191,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3314,6 +3400,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "na" "value": "na"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -3417,7 +3509,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3620,6 +3712,12 @@
"key": "radio", "key": "radio",
"operator": "=", "operator": "=",
"value": "ng" "value": "ng"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -3671,7 +3769,10 @@
"refresh": "30s", "refresh": "30s",
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [], "tags": [
"unifi",
"uap"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -3738,8 +3839,8 @@
] ]
}, },
"time": { "time": {
"from": "now-2h", "from": "now-3h",
"to": "now" "to": "now-5s"
}, },
"timepicker": { "timepicker": {
"nowDelay": "5s", "nowDelay": "5s",
@ -3767,5 +3868,5 @@
"timezone": "browser", "timezone": "browser",
"title": "UniFi UAP Insights", "title": "UniFi UAP Insights",
"uid": "8nQ_RPZiz", "uid": "8nQ_RPZiz",
"version": 37 "version": 42
} }

View File

@ -70,10 +70,20 @@
"description": "", "description": "",
"editable": true, "editable": true,
"gnetId": 1486, "gnetId": 1486,
"graphTooltip": 1, "graphTooltip": 2,
"id": null, "id": null,
"iteration": 1559859384864, "iteration": 1559898661329,
"links": [], "links": [
{
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"unifi"
],
"type": "dashboards"
}
],
"panels": [ "panels": [
{ {
"content": "<br>\n<center><b><font size=\"6px\">Unifi USG</font></b></center>\n", "content": "<br>\n<center><b><font size=\"6px\">Unifi USG</font></b></center>\n",
@ -640,6 +650,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -749,6 +765,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1448,6 +1470,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1603,6 +1631,12 @@
"key": "name", "key": "name",
"operator": "=~", "operator": "=~",
"value": "/^$host$/" "value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
} }
] ]
} }
@ -1662,12 +1696,7 @@
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [],
{
"alias": "/In$/",
"color": "#806eb7"
}
],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@ -1678,7 +1707,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -1762,9 +1791,9 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 2, "decimals": null,
"format": "pps", "format": "pps",
"label": null, "label": "packets / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -2548,7 +2577,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Spikes on this graph that are missing from the LAN graph indicate gateway-originated traffic, like a scheduled speed test.", "description": "Spikes on this graph that are missing from the LAN graph indicate gateway-originated traffic, like a scheduled speed test. Rx is on the negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -2565,7 +2594,7 @@
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
"min": true, "min": false,
"show": true, "show": true,
"sortDesc": true, "sortDesc": true,
"total": false, "total": false,
@ -2583,12 +2612,7 @@
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/Rx$/", "alias": "/Rx$/",
"color": "#7eb26d",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Tx$/",
"color": "#052b51"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -2601,7 +2625,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2705,7 +2729,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -2731,7 +2755,7 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"description": "Spikes on this graph that do not appear on the WAN graph indicate inter-VLAN-routing.", "description": "Spikes on this graph that do not appear on the WAN graph indicate inter-VLAN-routing. Rx is on the negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -2748,7 +2772,7 @@
"avg": false, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
"min": true, "min": false,
"show": true, "show": true,
"sortDesc": true, "sortDesc": true,
"total": false, "total": false,
@ -2766,12 +2790,7 @@
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/Rx$/", "alias": "/Rx$/",
"color": "#584477",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Tx$/",
"color": "#ba43a9"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -2784,7 +2803,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -2888,7 +2907,7 @@
"yaxes": [ "yaxes": [
{ {
"format": "Bps", "format": "Bps",
"label": null, "label": "bytes / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -2914,8 +2933,8 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 2, "decimals": null,
"description": "May show problems with your WAN interface.", "description": "May show problems with your WAN interface. Rx is on the negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 2, "fill": 2,
@ -2929,7 +2948,7 @@
"isNew": true, "isNew": true,
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": true, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
"min": false, "min": false,
@ -2937,7 +2956,7 @@
"show": true, "show": true,
"sort": null, "sort": null,
"sortDesc": null, "sortDesc": null,
"total": false, "total": true,
"values": true "values": true
}, },
"lines": true, "lines": true,
@ -2951,13 +2970,8 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/:In$/", "alias": "/Rx$/",
"color": "#890f02",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#ea6460"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -2970,7 +2984,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3012,7 +3026,7 @@
}, },
{ {
"params": [ "params": [
"Error:In" "Error Rx"
], ],
"type": "alias" "type": "alias"
} }
@ -3036,7 +3050,7 @@
}, },
{ {
"params": [ "params": [
"Error:Out" "Error Tx"
], ],
"type": "alias" "type": "alias"
} }
@ -3078,9 +3092,9 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 1, "decimals": null,
"format": "pps", "format": "pps",
"label": null, "label": "packets / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -3106,8 +3120,8 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 2, "decimals": null,
"description": "May show problems with your WAN interface.", "description": "May show problems with your WAN interface. Rx on negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 2, "fill": 2,
@ -3121,7 +3135,7 @@
"isNew": true, "isNew": true,
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": true, "avg": false,
"current": true, "current": true,
"max": true, "max": true,
"min": false, "min": false,
@ -3129,7 +3143,7 @@
"show": true, "show": true,
"sort": null, "sort": null,
"sortDesc": null, "sortDesc": null,
"total": false, "total": true,
"values": true "values": true
}, },
"lines": true, "lines": true,
@ -3143,13 +3157,8 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/:In$/", "alias": "/:Rx$/",
"color": "#890f02",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#ea6460"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -3162,7 +3171,7 @@
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"30s" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3204,7 +3213,7 @@
}, },
{ {
"params": [ "params": [
"Drop:In" "Drop Rx"
], ],
"type": "alias" "type": "alias"
} }
@ -3228,7 +3237,7 @@
}, },
{ {
"params": [ "params": [
"Drop:Out" "Drop Tx"
], ],
"type": "alias" "type": "alias"
} }
@ -3270,9 +3279,9 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 1, "decimals": null,
"format": "pps", "format": "pps",
"label": null, "label": "packets / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -3298,8 +3307,8 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": null,
"description": "PPS on the WAN interface, calculated in 30 second buckets.", "description": "PPS on the WAN interface. Rx is on the negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -3335,13 +3344,8 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/:In$/", "alias": "/Rx$/",
"color": "#f9d9f9",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#0a437c"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -3349,12 +3353,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"alias": "$tag_name:$col", "alias": "$tag_name $col",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3396,7 +3400,7 @@
}, },
{ {
"params": [ "params": [
"In" "Rx"
], ],
"type": "alias" "type": "alias"
} }
@ -3420,7 +3424,7 @@
}, },
{ {
"params": [ "params": [
"Out" "Tx"
], ],
"type": "alias" "type": "alias"
} }
@ -3463,9 +3467,9 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 1, "decimals": null,
"format": "pps", "format": "pps",
"label": null, "label": "packets / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -3491,8 +3495,8 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_UNIFI}", "datasource": "${DS_UNIFI}",
"decimals": 0, "decimals": null,
"description": "PPS on the LAN interface, calculated in 30 second buckets.", "description": "PPS on the LAN interface. Rx is on the negative axis.",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
@ -3528,13 +3532,8 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/:In$/", "alias": "/Tx$/",
"color": "#2f575e",
"transform": "negative-Y" "transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#806eb7"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -3542,12 +3541,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"alias": "$tag_name:$col", "alias": "$tag_name $col",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
"params": [ "params": [
"1m" "$__interval"
], ],
"type": "time" "type": "time"
}, },
@ -3589,7 +3588,7 @@
}, },
{ {
"params": [ "params": [
"In" "Rx"
], ],
"type": "alias" "type": "alias"
} }
@ -3613,7 +3612,7 @@
}, },
{ {
"params": [ "params": [
"Out" "Tx"
], ],
"type": "alias" "type": "alias"
} }
@ -3656,9 +3655,9 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": 1, "decimals": null,
"format": "pps", "format": "pps",
"label": null, "label": "packets / second",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -3682,7 +3681,10 @@
"refresh": "30s", "refresh": "30s",
"schemaVersion": 18, "schemaVersion": 18,
"style": "dark", "style": "dark",
"tags": [], "tags": [
"unifi",
"usg"
],
"templating": { "templating": {
"list": [ "list": [
{ {
@ -3732,7 +3734,7 @@
] ]
}, },
"time": { "time": {
"from": "now-2h", "from": "now-3h",
"to": "now-5s" "to": "now-5s"
}, },
"timepicker": { "timepicker": {
@ -3761,5 +3763,5 @@
"timezone": "browser", "timezone": "browser",
"title": "UniFi USG Insights", "title": "UniFi USG Insights",
"uid": "WX6RJOMik", "uid": "WX6RJOMik",
"version": 33 "version": 38
} }

File diff suppressed because it is too large Load Diff