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

3414 lines
77 KiB
JSON

{
"__inputs": [
{
"name": "DS_UNIFI",
"label": "Unifi",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.2.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Unifi Switch Metrics",
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1559898956053,
"links": [
{
"icon": "external link",
"includeVars": true,
"keepTime": true,
"tags": [
"unifi"
],
"type": "dashboards"
}
],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 137,
"panels": [],
"title": "Aggregate Graphs",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 1,
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 1
},
"id": 1149,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/F$/",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name Temperature C",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"general_temperature"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
},
{
"alias": "$tag_name Temperature F",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"general_temperature"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*9/5+32"
],
"type": "math"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Switch Tmperature",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 1,
"format": "celsius",
"label": "Celcius",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"decimals": null,
"format": "farenheit",
"label": "Farenheit",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"switch load 1": "red",
"switch load 5": "blue"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 1
},
"id": 1150,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/load 15$/",
"fill": 0,
"linewidth": 6
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"loadavg_1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"load 1"
],
"type": "alias"
}
],
[
{
"params": [
"loadavg_5"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"load 5"
],
"type": "alias"
}
],
[
{
"params": [
"loadavg_15"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"load 15"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Switch Load Average",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"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": {
"switch CPU %": "dark-purple"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 1
},
"id": 1169,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cpu"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"CPU %"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Switch CPU Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "percent",
"label": "CPU %",
"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,
"fill": 1,
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 1
},
"id": 1170,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mem_total"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Total"
],
"type": "alias"
}
],
[
{
"params": [
"mem_used"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Used"
],
"type": "alias"
}
],
[
{
"params": [
"mem_buffer"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Buffer"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Switch Memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "decbytes",
"label": "Memory in Bytes",
"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": "Shows data transferred for ports: $Port. TX on positive axis and RX on negative axis.",
"fill": 1,
"gridPos": {
"h": 17,
"w": 24,
"x": 0,
"y": 8
},
"id": 135,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_port_id $tag_name $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"port_id"
],
"type": "tag"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data Transfer",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": "Bytes Per 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
}
},
{
"columns": [],
"datasource": "${DS_UNIFI}",
"fontSize": "90%",
"gridPos": {
"h": 21,
"w": 24,
"x": 0,
"y": 25
},
"id": 214,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 11,
"desc": true
},
"styles": [
{
"alias": "Port 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": "number",
"unit": "short"
},
{
"alias": "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,
"link": false,
"mappingType": 1,
"pattern": "enable",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"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,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Switch",
"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": "device_name",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Dot1x",
"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": "dot1x_status",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "POE",
"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": "poe_mode",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Port",
"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,
"mappingType": 1,
"pattern": "port_idx",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "AutoNeg",
"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": "autoneg",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "FlowCtrl RX",
"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": "flowctrl_rx",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "FlowCtrl TX",
"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": "flowctrl_tx",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Uplink",
"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": "is_uplink",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Jumbo",
"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": "jumbo",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Masked",
"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": "masked",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Media",
"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": "media",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "Mode",
"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": "op_mode",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "STP",
"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": "stp_state",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "$tag_device_name $col",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"is_uplink"
],
"type": "tag"
},
{
"params": [
"enable"
],
"type": "tag"
},
{
"params": [
"jumbo"
],
"type": "tag"
},
{
"params": [
"media"
],
"type": "tag"
},
{
"params": [
"up"
],
"type": "tag"
},
{
"params": [
"poe_mode"
],
"type": "tag"
},
{
"params": [
"masked"
],
"type": "tag"
},
{
"params": [
"op_mode"
],
"type": "tag"
},
{
"params": [
"stp_state"
],
"type": "tag"
},
{
"params": [
"device_name"
],
"type": "tag"
},
{
"params": [
"flowctrl_rx"
],
"type": "tag"
},
{
"params": [
"flowctrl_tx"
],
"type": "tag"
},
{
"params": [
"autoneg"
],
"type": "tag"
},
{
"params": [
"dot1x_status"
],
"type": "tag"
},
{
"params": [
"port_idx"
],
"type": "tag"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"full_duplex"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"FUll Duplex"
],
"type": "alias"
}
],
[
{
"params": [
"poe_current"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"POE Current"
],
"type": "alias"
}
],
[
{
"params": [
"poe_voltage"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"POE Voltage"
],
"type": "alias"
}
],
[
{
"params": [
"speed"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Speed"
],
"type": "alias"
}
],
[
{
"params": [
"poe_power"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"POE Power"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
}
]
}
],
"title": "All Port Information",
"transform": "table",
"transparent": true,
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 46
},
"id": 4,
"panels": [],
"repeat": "Port",
"title": "Switch $Port",
"type": "row"
},
{
"columns": [],
"datasource": "${DS_UNIFI}",
"fontSize": "90%",
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 47
},
"id": 291,
"links": [],
"options": {},
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 13,
"desc": true
},
"styles": [
{
"alias": "Port 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": "number",
"unit": "short"
},
{
"alias": "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,
"link": false,
"mappingType": 1,
"pattern": "enable",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"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,
"mappingType": 1,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Switch",
"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": "device_name",
"thresholds": [],
"type": "number",
"unit": "short"
},
{
"alias": "POE",
"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": "poe_mode",
"thresholds": [],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"alias": "Mode",
"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": "op_mode",
"thresholds": [
""
],
"type": "string",
"unit": "short"
},
{
"alias": "Up",
"colorMode": "cell",
"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": 2,
"mappingType": 1,
"pattern": "up",
"thresholds": [
"0",
"0"
],
"type": "string",
"unit": "short",
"valueMaps": []
},
{
"alias": "Jumbo",
"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": "jumbo",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Masked",
"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": "masked",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "STP",
"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": "stp_state",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "/Drops$|Errors$/",
"thresholds": [
"10",
"100"
],
"type": "number",
"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": "/Bytes$/",
"thresholds": [],
"type": "number",
"unit": "decbytes"
}
],
"targets": [
{
"alias": "$tag_device_name $col",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"enable"
],
"type": "tag"
},
{
"params": [
"jumbo"
],
"type": "tag"
},
{
"params": [
"up"
],
"type": "tag"
},
{
"params": [
"poe_mode"
],
"type": "tag"
},
{
"params": [
"masked"
],
"type": "tag"
},
{
"params": [
"op_mode"
],
"type": "tag"
},
{
"params": [
"stp_state"
],
"type": "tag"
},
{
"params": [
"device_name"
],
"type": "tag"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"full_duplex"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"FUll Duplex"
],
"type": "alias"
}
],
[
{
"params": [
"speed"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Speed"
],
"type": "alias"
}
],
[
{
"params": [
"poe_voltage"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"POE Voltage"
],
"type": "alias"
}
],
[
{
"params": [
"poe_power"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"POE Power"
],
"type": "alias"
}
],
[
{
"params": [
"rx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Drops"
],
"type": "alias"
}
],
[
{
"params": [
"tx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"TX Drops"
],
"type": "alias"
}
],
[
{
"params": [
"rx_errors"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Errors"
],
"type": "alias"
}
],
[
{
"params": [
"tx_errors"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"TX Errors"
],
"type": "alias"
}
],
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Bytes"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"TX Bytes"
],
"type": "alias"
}
],
[
{
"params": [
"tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"TX Packets"
],
"type": "alias"
}
],
[
{
"params": [
"rx_packets"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Packets"
],
"type": "alias"
}
],
[
{
"params": [
"rx_broadcast"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Broadcast"
],
"type": "alias"
}
],
[
{
"params": [
"rx_multicast"
],
"type": "field"
},
{
"params": [],
"type": "spread"
},
{
"params": [
"RX Multicast"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"title": "Switch $Port Information",
"transform": "table",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"description": "Shows data transfer rate per second for Switch $Port. TX on positive axis and RX on negative axis.",
"fill": 1,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 50
},
"id": 1396,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port ($tag_name) $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Bytes Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_bytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Bytes Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data Transfer: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"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": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"description": "Shows broadcast and multicast packets per second for Switch $Port. TX on positive axis and RX on negative axis.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 59
},
"id": 594,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port ($tag_name) $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_broadcast"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Broadcast Rx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_broadcast"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Broadcast Tx"
],
"type": "alias"
}
],
[
{
"params": [
"tx_multicast"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Multicast Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Multicast & Broadcast: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"label": "PPS",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"decimals": 0,
"description": "Shows errors and dropped packets for Switch $Port. RX on negative axis.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 59
},
"id": 367,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port ($tag_name) $col",
"groupBy": [
{
"params": [
"1s"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"30s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Drops RX"
],
"type": "alias"
}
],
[
{
"params": [
"rx_errors"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"30s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Errors RX"
],
"type": "alias"
}
],
[
{
"params": [
"tx_errors"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"30s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Errors TX"
],
"type": "alias"
}
],
[
{
"params": [
"tx_dropped"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"40s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Drops TX"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Errors and Drops: Switch $Port",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "packets per 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": "Shows packet counters for Switch $Port. TX on positive axis and RX on negative axis.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 66
},
"id": 468,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Rx$/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port ($tag_name) $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"tx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Rx"
],
"type": "alias"
}
],
[
{
"params": [
"rx_packets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
},
{
"params": [
"Tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Packets Per Second: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"label": "PPS",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"description": "Display POE Power for Switch $Port.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 66
},
"id": 745,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"poe_power"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Current"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "POE Power: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "watt",
"label": "Watts",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "watt",
"label": "Watts",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"description": "Display POE Voltage for Switch $Port.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 66
},
"id": 921,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"poe_voltage"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Voltage"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "POE Voltage: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "volt",
"label": "Volts",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "watt",
"label": "Watts",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_UNIFI}",
"description": "Display POE Current for Switch $Port.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 4,
"x": 20,
"y": 66
},
"id": 922,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"options": {},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$Port $col",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "usw_ports",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"poe_current"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Current"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "site_name",
"operator": "=~",
"value": "/^$Site$/"
},
{
"condition": "AND",
"key": "device_name",
"operator": "=~",
"value": "/^$Switch$/"
},
{
"condition": "AND",
"key": "port_id",
"operator": "=~",
"value": "/^$Port$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "POE Current: Switch $Port",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "mamp",
"label": "Amps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "watt",
"label": "Watts",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "30s",
"schemaVersion": 18,
"style": "dark",
"tags": [
"unifi",
"usw"
],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"definition": "show tag values from \"usw\" with key=\"site_name\"",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Site",
"options": [],
"query": "show tag values from \"usw\" with key=\"site_name\"",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"definition": "show tag values from \"usw_ports\" with key=\"device_name\" where site_name =~ /$Site$/",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Switch",
"options": [],
"query": "show tag values from \"usw_ports\" with key=\"device_name\" where site_name =~ /$Site$/",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "${DS_UNIFI}",
"definition": "show tag values from \"usw_ports\" with key=\"port_id\" where device_name =~ /$Switch$/ AND site_name =~ /$Site$/",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "Port",
"options": [],
"query": "show tag values from \"usw_ports\" with key=\"port_id\" where device_name =~ /$Switch$/ AND site_name =~ /$Site$/",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 3,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-3h",
"to": "now-5s"
},
"timepicker": {
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "UniFi USW Insights",
"uid": "HIKZ98GZz",
"version": 87
}