unpoller_unpoller/examples/unifi-usg-grafana-dash.json

3589 lines
79 KiB
JSON

{
"__inputs": [
{
"name": "DS_UNIFI",
"label": "Unifi",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.0.4"
},
{
"type": "panel",
"id": "grafana-clock-panel",
"name": "Clock",
"version": "0.0.9"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "5.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": "5.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": "5.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": "5.0.0"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "${DS_UNIFI}",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "",
"editable": true,
"gnetId": 1486,
"graphTooltip": 1,
"id": null,
"iteration": 1524993362759,
"links": [],
"panels": [
{
"content": "<br>\n<center><b><font size=\"6px\">Unifi USG</font></b></center>\n",
"gridPos": {
"h": 4,
"w": 3,
"x": 0,
"y": 0
},
"id": 34,
"links": [],
"mode": "html",
"title": "",
"transparent": true,
"type": "text"
},
{
"columns": [],
"datasource": "${DS_UNIFI}",
"editable": true,
"error": false,
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 21,
"x": 3,
"y": 0
},
"id": 1,
"isNew": true,
"links": [],
"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": "",
"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": "Uptime",
"thresholds": [],
"type": "number",
"unit": "dtdurations"
},
{
"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": "Config Version",
"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": "cfgversion",
"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": "Site ID",
"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_id",
"thresholds": [],
"type": "hidden",
"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": 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,
"pattern": "Last Seen",
"sanitize": true,
"thresholds": [],
"type": "number",
"unit": "dateTimeAsUS"
},
{
"alias": "",
"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": "CPU",
"thresholds": [
"60",
"80"
],
"type": "number",
"unit": "percent"
},
{
"alias": "LAN 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": "connect_request_ip",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"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": "Memory",
"thresholds": [
"50",
"80"
],
"type": "number",
"unit": "percent"
},
{
"alias": "",
"colorMode": "value",
"colors": [
"#890f02",
"#890f02",
"rgb(35, 143, 0)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Upgradable",
"thresholds": [
"0",
"0"
],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"model"
],
"type": "tag"
},
{
"params": [
"cfgversion"
],
"type": "tag"
},
{
"params": [
"connect_request_ip"
],
"type": "tag"
},
{
"params": [
"serial"
],
"type": "tag"
},
{
"params": [
"site_id"
],
"type": "tag"
},
{
"params": [
"mac"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"version"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Version"
],
"type": "alias"
}
],
[
{
"params": [
"ip"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"WAN IP"
],
"type": "alias"
}
],
[
{
"params": [
"uptime"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uptime"
],
"type": "alias"
}
],
[
{
"params": [
"last_seen"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"*1000"
],
"type": "math"
},
{
"params": [
"Last Seen"
],
"type": "alias"
}
],
[
{
"params": [
"cpu"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"CPU"
],
"type": "alias"
}
],
[
{
"params": [
"mem"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Memory"
],
"type": "alias"
}
],
[
{
"params": [
"upgradable"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Upgradable"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"timeFrom": null,
"title": "USG Details",
"transform": "table",
"transparent": true,
"type": "table"
},
{
"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": 3,
"w": 3,
"x": 0,
"y": 4
},
"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,
"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": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "",
"title": "System Uptime",
"type": "singlestat",
"valueFontSize": "30%",
"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": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 1,
"x": 3,
"y": 4
},
"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,
"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": "system_uptime",
"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$/"
}
]
}
],
"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": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 10,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 4,
"x": 4,
"y": 4
},
"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,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#3f2b5b",
"full": true,
"lineColor": "#dedaf7",
"show": true
},
"tableColumn": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "40,60",
"timeFrom": null,
"title": "Uplink Latency",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "Mbits",
"gauge": {
"maxValue": 50,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 4,
"x": 8,
"y": 4
},
"hideTimeOverride": false,
"id": 44,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#3f2b5b",
"full": false,
"lineColor": "#dedaf7",
"show": false
},
"tableColumn": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "10,20",
"timeFrom": null,
"title": "Upload Test",
"transparent": true,
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "Mbits",
"gauge": {
"maxValue": 1000,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 4,
"x": 12,
"y": 4
},
"hideTimeOverride": false,
"id": 41,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#3f2b5b",
"full": false,
"lineColor": "#dedaf7",
"show": false
},
"tableColumn": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "200,400",
"timeFrom": null,
"title": "Download Test",
"transparent": true,
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 4,
"x": 16,
"y": 4
},
"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,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#3f2b5b",
"full": true,
"lineColor": "#806eb7",
"show": true
},
"tableColumn": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "60,80",
"timeFrom": null,
"title": "CPU Usage",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "${DS_UNIFI}",
"decimals": 1,
"description": "",
"format": "percent",
"gauge": {
"minValue": null,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 4
},
"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,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "#3f2b5b",
"full": true,
"lineColor": "#dedaf7",
"show": true
},
"tableColumn": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "50,80",
"timeFrom": null,
"title": "Memory Usage",
"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": 0,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 2,
"w": 1,
"x": 3,
"y": 6
},
"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,
"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": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Users",
"transparent": true,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"bgColor": "#3f2b5b",
"clockType": "12 hour",
"countdownSettings": {
"endCountdownTime": "2018-04-29T21:47:00.000Z",
"endText": "00:00:00"
},
"dateSettings": {
"dateFormat": "YYYY-MM-DD",
"fontSize": "12px",
"fontWeight": "bold",
"showDate": true
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 7
},
"id": 32,
"links": [],
"mode": "time",
"offsetFromUtc": null,
"offsetFromUtcMinutes": null,
"timeSettings": {
"customFormat": "HH:mm:ss",
"fontSize": "24px",
"fontWeight": "normal"
},
"title": "Now",
"type": "grafana-clock-panel"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"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": 1,
"x": 3,
"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,
"postfix": "M",
"postfixFontSize": "30%",
"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": "system_uptime",
"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$/"
}
]
}
],
"thresholds": "",
"timeFrom": "1h",
"title": "Speed",
"transparent": true,
"type": "singlestat",
"valueFontSize": "30%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 2,
"description": "",
"editable": true,
"error": false,
"fill": 2,
"gridPos": {
"h": 7,
"w": 9,
"x": 0,
"y": 10
},
"id": 47,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/In$/",
"color": "#806eb7"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name:$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wan1_rx_multicast"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Multicast:In"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "WAN Multicast",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 2,
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"columns": [],
"datasource": "${DS_UNIFI}",
"fontSize": "90%",
"gridPos": {
"h": 7,
"w": 15,
"x": 9,
"y": 10
},
"id": 43,
"links": [],
"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": "",
"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": "device_name",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"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": "device_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": "IGMP",
"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": "igmp_snooping",
"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": "Nat",
"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_nat",
"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": "Group",
"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": "networkgroup",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "UPNP",
"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": "upnp_lan_enabled",
"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": "Domain",
"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": "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": 2,
"pattern": "Subnet",
"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": "",
"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": "VLAN",
"thresholds": [],
"type": "number",
"unit": "none"
},
{
"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": "Purpose",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "dhcpd_enabled",
"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": "config_network_type",
"preserveFormat": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "DHCPD",
"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": "dhcpd_enabled",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_device_name $col",
"groupBy": [
{
"params": [
"device_name"
],
"type": "tag"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"device_mac"
],
"type": "tag"
},
{
"params": [
"dhcpd_enabled"
],
"type": "tag"
},
{
"params": [
"enabled"
],
"type": "tag"
},
{
"params": [
"is_nat"
],
"type": "tag"
},
{
"params": [
"networkgroup"
],
"type": "tag"
},
{
"params": [
"upnp_lan_enabled"
],
"type": "tag"
},
{
"params": [
"igmp_snooping"
],
"type": "tag"
},
{
"params": [
"is_guest"
],
"type": "tag"
}
],
"measurement": "usg_networks",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"domain_name"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Domain"
],
"type": "alias"
}
],
[
{
"params": [
"ip"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"IP"
],
"type": "alias"
}
],
[
{
"params": [
"ip_subnet"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Subnet"
],
"type": "alias"
}
],
[
{
"params": [
"num_sta"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Clients"
],
"type": "alias"
}
],
[
{
"params": [
"vlan"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"VLAN"
],
"type": "alias"
}
],
[
{
"params": [
"purpose"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Purpose"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "device_name",
"operator": "=~",
"value": "/^$host$/"
}
]
},
{
"groupBy": [],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "table",
"select": [
[
{
"params": [
"wan1_enable"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"enabled"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_ip"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"IP"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_netmask"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Subnet"
],
"type": "alias"
}
],
[
{
"params": [
"user-num_sta"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Clients"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_gateway"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Domain"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_mac"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"device_mac"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_name"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"name"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_name"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"networkgroup"
],
"type": "alias"
}
],
[
{
"params": [
"false"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"igmp_snooping"
],
"type": "alias"
}
],
[
{
"params": [
"false"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"upnp_lan_enabled"
],
"type": "alias"
}
],
[
{
"params": [
"false"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"is_nat"
],
"type": "alias"
}
],
[
{
"params": [
"false"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"is_guest"
],
"type": "alias"
}
],
[
{
"params": [
"config_network_wan_type"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"dhcpd_enabled"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_purpose"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Purpose"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"title": "Networks",
"transform": "table",
"transparent": false,
"type": "table"
},
{
"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.",
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 17
},
"id": 3,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"color": "#7eb26d",
"transform": "negative-Y"
},
{
"alias": "/Tx$/",
"color": "#052b51"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wan-rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"wan-tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"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": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"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.",
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 17
},
"id": 35,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": true,
"show": true,
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"color": "#584477",
"transform": "negative-Y"
},
{
"alias": "/Tx$/",
"color": "#ba43a9"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"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$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"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": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 2,
"description": "May show problems with your WAN interface.",
"editable": true,
"error": false,
"fill": 2,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 26
},
"id": 26,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/:In$/",
"color": "#890f02",
"transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#ea6460"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name:$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wan1_rx_errors"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Error:In"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_tx_errors"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Error:Out"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "WAN Errors",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 2,
"description": "May show problems with your WAN interface.",
"editable": true,
"error": false,
"fill": 2,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 26
},
"id": 48,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/:In$/",
"color": "#890f02",
"transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#ea6460"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name:$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wan1_rx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Drop:In"
],
"type": "alias"
}
],
[
{
"params": [
"wan1_tx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Drop:Out"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "WAN Drops",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 0,
"description": "PPS on the WAN interface, calculated in 30 second buckets.",
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 33
},
"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",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/:In$/",
"color": "#f9d9f9",
"transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#0a437c"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name:$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"wan-rx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"In"
],
"type": "alias"
}
],
[
{
"params": [
"wan-tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Out"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"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": 1,
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 0,
"description": "PPS on the LAN interface, calculated in 30 second buckets.",
"editable": true,
"error": false,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 33
},
"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",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/:In$/",
"color": "#2f575e",
"transform": "negative-Y"
},
{
"alias": "/Out$/",
"color": "#806eb7"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name:$col",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"30s"
],
"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": [
"In"
],
"type": "alias"
}
],
[
{
"params": [
"lan-tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
},
{
"params": [
"Out"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/^$host$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"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": 1,
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "pps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"refresh": "30s",
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"hide": 0,
"includeAll": true,
"label": "UniFi USG:",
"multi": true,
"name": "host",
"options": [],
"query": "show tag values from \"usg\" with key=\"name\"",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-2h",
"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 USG Insights",
"uid": "WX6RJOMik",
"version": 1
}