unpoller_dashboards/v1.6.3/unifi-poller-usg-insights-i...

3802 lines
83 KiB
JSON

{
"__inputs": [
{
"name": "DS_UNIFI",
"label": "Unifi",
"description": "UniFi Poller",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.4.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"showIn": 0,
"type": "dashboard"
}
]
},
"description": "UniFi Poller v1.6 Displays detailed information for security gateways in a UniFi network.",
"editable": true,
"gnetId": 10416,
"graphTooltip": 2,
"id": null,
"iteration": 1575263158891,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": true,
"tags": [
"unifi-poller"
],
"title": "UniFi Poller",
"type": "dashboards"
}
],
"panels": [
{
"columns": [],
"datasource": "${DS_UNIFI}",
"editable": true,
"error": false,
"fontSize": "100%",
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"isNew": true,
"links": [],
"options": {},
"pageSize": null,
"scroll": false,
"showHeader": true,
"sort": {
"col": 11,
"desc": true
},
"styles": [
{
"alias": "",
"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": "Time",
"thresholds": [],
"type": "hidden",
"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,
"link": false,
"linkTargetBlank": true,
"linkUrl": "http:",
"pattern": "name",
"preserveFormat": false,
"sanitize": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Model",
"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": "model",
"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,
"pattern": "mac",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Unifi Serial #",
"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": "serial",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"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": "Version",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": "value",
"colors": [
"#CA95E5",
"#B877D9",
"#A352CC"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Uptime",
"thresholds": [
""
],
"type": "number",
"unit": "s"
},
{
"alias": "Site",
"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": "site_name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Version",
"colorMode": "value",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"pattern": "version",
"thresholds": [
"50",
"80"
],
"type": "string",
"unit": "percent"
}
],
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"model"
],
"type": "tag"
},
{
"params": [
"serial"
],
"type": "tag"
},
{
"params": [
"site_name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"version"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"uptime"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uptime"
],
"type": "alias"
}
]
],
"tags": []
}
],
"timeFrom": "1h",
"title": "USG Details",
"transform": "table",
"transparent": true,
"type": "table"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 50,
"panels": [],
"repeat": "host",
"title": "Gateway: $host",
"type": "row"
},
{
"content": "<br>\n<center><b><font size=\"6px\">Unifi USG</font></b></center>\n",
"datasource": null,
"gridPos": {
"h": 2,
"w": 4,
"x": 0,
"y": 6
},
"id": 34,
"links": [],
"mode": "html",
"options": {},
"title": "",
"transparent": true,
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"#511749",
"#3f2b5b",
"#511749"
],
"datasource": "${DS_UNIFI}",
"decimals": 3,
"format": "dtdurations",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 6
},
"id": 29,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "20%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"uptime"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"title": "System Uptime",
"type": "singlestat",
"valueFontSize": "30%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"datasource": "${DS_UNIFI}",
"description": "",
"gridPos": {
"h": 8,
"w": 4,
"x": 8,
"y": 6
},
"hideTimeOverride": false,
"id": 44,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"max": 100,
"min": 0,
"nullValueMode": "connected",
"thresholds": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10
},
{
"color": "#299c46",
"value": 20
}
],
"title": "Upload Test",
"unit": "Mbits"
},
"override": {},
"values": false
},
"orientation": "horizontal",
"showThresholdLabels": true,
"showThresholdMarkers": true
},
"pluginVersion": "6.4.4",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"speedtest-status_xput_upload"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"timeFrom": null,
"title": "",
"transparent": true,
"type": "gauge"
},
{
"cacheTimeout": null,
"datasource": "${DS_UNIFI}",
"description": "",
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 6
},
"hideTimeOverride": false,
"id": 41,
"links": [],
"options": {
"fieldOptions": {
"calcs": [
"lastNotNull"
],
"defaults": {
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "0"
}
],
"max": 1000,
"min": 0,
"nullValueMode": "connected",
"thresholds": [
{
"color": "#d44a3a",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 200
},
{
"color": "#299c46",
"value": 400
}
],
"title": "Download Test",
"unit": "Mbits"
},
"override": {},
"values": false
},
"orientation": "horizontal",
"showThresholdLabels": true,
"showThresholdMarkers": true
},
"pluginVersion": "6.4.4",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"speedtest-status_xput_download"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"timeFrom": null,
"title": "",
"transparent": true,
"type": "gauge"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 4,
"x": 16,
"y": 6
},
"hideTimeOverride": false,
"id": 37,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"pluginVersion": "6.4.4",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#8F3BB8",
"full": true,
"lineColor": "#DEB6F2",
"show": true,
"ymax": 100,
"ymin": 1
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "50,80",
"timeFrom": null,
"timeShift": null,
"title": "CPU",
"transparent": true,
"type": "singlestat",
"valueFontSize": "200%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "percent",
"gauge": {
"minValue": null,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 4,
"x": 20,
"y": 6
},
"hideTimeOverride": false,
"id": 30,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#8F3BB8",
"full": true,
"lineColor": "#DEB6F2",
"show": true,
"ymax": 100,
"ymin": 1
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mem"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "50,80",
"timeFrom": null,
"title": "Memory",
"transparent": true,
"type": "singlestat",
"valueFontSize": "200%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorPostfix": true,
"colorValue": true,
"colors": [
"#FA6400",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 8
},
"hideTimeOverride": true,
"id": 46,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "M",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"uplink_speed"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Speed",
"transparent": true,
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#5794F2",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 8
},
"hideTimeOverride": true,
"id": 53,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"num_desktop"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Desktop",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#5794F2",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 10
},
"hideTimeOverride": true,
"id": 38,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"user-num_sta"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Users",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#5794F2",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 10
},
"hideTimeOverride": true,
"id": 54,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"num_handheld"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Handheld",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 10,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 10
},
"hideTimeOverride": false,
"id": 45,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#8F3BB8",
"full": true,
"lineColor": "#DEB6F2",
"show": true,
"ymax": 750,
"ymin": 1
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"uplink_latency"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "50,100",
"timeFrom": null,
"title": "Uplink Latency",
"transparent": true,
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#FADE2A",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 0,
"y": 12
},
"hideTimeOverride": true,
"id": 39,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"guest-num_sta"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Guests",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#5794F2",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 12
},
"hideTimeOverride": true,
"id": 55,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"options": {},
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"num_mobile"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Mobile",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"columns": [],
"datasource": "${DS_UNIFI}",
"fontSize": "90%",
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 14
},
"id": 43,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "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,
"pattern": "mac",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "On",
"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": "enabled",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Guest",
"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": "is_guest",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Network 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,
"pattern": "name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "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,
"pattern": "ip",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"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": 0,
"pattern": "Clients",
"thresholds": [],
"type": "number",
"unit": "none"
},
{
"alias": "Purpose",
"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": "/purpose|wan_name/",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "/Rx|Tx/",
"thresholds": [],
"type": "number",
"unit": "bytes"
},
{
"alias": "Up",
"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": "up",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Domain",
"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": "domain_name",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_device_name $col",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"ip"
],
"type": "tag"
},
{
"params": [
"is_guest"
],
"type": "tag"
},
{
"params": [
"up"
],
"type": "tag"
},
{
"params": [
"enabled"
],
"type": "tag"
},
{
"params": [
"domain_name"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
},
{
"params": [
"purpose"
],
"type": "tag"
}
],
"hide": false,
"measurement": "usg_networks",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"num_sta"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Clients"
],
"type": "alias"
}
],
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
},
{
"groupBy": [
{
"params": [
"purpose"
],
"type": "tag"
},
{
"params": [
"ip"
],
"type": "tag"
},
{
"params": [
"enabled"
],
"type": "tag"
},
{
"params": [
"up"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"hide": false,
"measurement": "usg_wan_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "table",
"select": [
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Tx"
],
"type": "alias"
}
],
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"gateway"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"name"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"timeFrom": null,
"title": "Networks",
"transform": "table",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 21
},
"id": 52,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Load 15$/",
"fill": 0,
"lines": true,
"linewidth": 6
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"loadavg_1"
],
"type": "field"
},
{
"params": [
"Avg Load 1"
],
"type": "alias"
}
],
[
{
"params": [
"loadavg_5"
],
"type": "field"
},
{
"params": [
"Avg Load 5"
],
"type": "alias"
}
],
[
{
"params": [
"loadavg_15"
],
"type": "field"
},
{
"params": [
"Avg Load 15"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "USG Load Average",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"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,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 29
},
"id": 3,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_purpose $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"purpose"
],
"type": "tag"
}
],
"measurement": "usg_wan_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WAN Throughput",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": "bytes / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"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,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 29
},
"id": 35,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"lan-rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"lan-tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LAN Throughput",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": "bytes / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"description": "PPS on the WAN interface. Rx is on the negative axis.",
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 38
},
"id": 36,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_purpose $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"purpose"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg_wan_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WAN Packets",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "pps",
"label": "packets / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"description": "PPS on the LAN interface. Rx is on the negative axis.",
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 38
},
"id": 25,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Tx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"lan-rx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"lan-tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LAN Packets",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "pps",
"label": "packets / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 2,
"description": "",
"editable": true,
"error": false,
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 45
},
"id": 47,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/In$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_purpose $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"purpose"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg_wan_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_multicast"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Multicast In"
],
"type": "alias"
}
],
[
{
"params": [
"tx_multicast"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Multicast Out"
],
"type": "alias"
}
],
[
{
"params": [
"rx_broadcast"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Broadcast In"
],
"type": "alias"
}
],
[
{
"params": [
"tx_broadcast"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Broadcast Out"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WAN Multicast & Broadcast",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "pps",
"label": "packets / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"description": "May show problems with your WAN interface. Rx is on the negative axis.",
"editable": true,
"error": false,
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 53
},
"id": 26,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": true,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_purpose $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"purpose"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg_wan_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_errors"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Error Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_errors"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Error Tx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Drop Tx"
],
"type": "alias"
}
],
[
{
"params": [
"rx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Drop Rx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
},
{
"condition": "AND",
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WAN Errors & Drops",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "pps",
"label": "packets / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"description": "May show problems with your WAN interface. Rx on negative axis.",
"editable": true,
"error": false,
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 53
},
"id": 48,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": true,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/:Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_purpose $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"purpose"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"lan-rx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Drop Rx"
],
"type": "alias"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "LAN Drops",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "pps",
"label": "packets / second",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "30s",
"schemaVersion": 20,
"style": "dark",
"tags": [
"unifi",
"usg",
"unifi-poller"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"definition": "show tag values from \"usg\" with key=\"site_name\"",
"hide": 0,
"includeAll": true,
"label": "",
"multi": true,
"name": "Site",
"options": [],
"query": "show tag values from \"usg\" with key=\"site_name\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"definition": "show tag values from \"usg\" with key=\"name\" where site_name =~ /$Site$/",
"hide": 2,
"includeAll": true,
"label": "UniFi USG:",
"multi": false,
"name": "host",
"options": [],
"query": "show tag values from \"usg\" with key=\"name\" where site_name =~ /$Site$/",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-3h",
"to": "now-5s"
},
"timepicker": {
"nowDelay": "5s",
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "UniFi-Poller: USG Insights - InfluxDB",
"uid": "WX6RJOMik",
"version": 63
}