{
"__inputs": [
{
"name": "DS_UNIFI_POLLER",
"label": "UniFi Poller",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.6.0"
},
{
"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 v2.0 Displays detailed information for security gateways in a UniFi network.",
"editable": true,
"gnetId": 10416,
"graphTooltip": 2,
"id": null,
"iteration": 1580615240633,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": true,
"tags": [
"unifi-poller"
],
"title": "UniFi Poller",
"type": "dashboards"
},
{
"icon": "question",
"tags": [],
"title": "Help",
"type": "link",
"url": "https://golift.io/unifi-poller/issues"
},
{
"icon": "doc",
"tags": [],
"title": "Wiki",
"type": "link",
"url": "https://golift.io/unifi-poller/wiki"
},
{
"icon": "bolt",
"tags": [],
"title": "Discord",
"type": "link",
"url": "https://discord.gg/KnyKYt2"
}
],
"panels": [
{
"columns": [],
"datasource": "${DS_UNIFI_POLLER}",
"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": "",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Time",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Name",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"link": false,
"linkTargetBlank": true,
"linkUrl": "http:",
"pattern": "name",
"preserveFormat": false,
"sanitize": false,
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Model",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "model",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Device MAC",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "mac",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Unifi Serial #",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "serial",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Version",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colorMode": "value",
"colors": [
"#CA95E5",
"#B877D9",
"#A352CC"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Uptime",
"thresholds": [
""
],
"type": "number",
"unit": "s"
},
{
"alias": "Site",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "site_name",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "Version",
"align": "auto",
"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"
},
{
"alias": "Controller",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "source",
"thresholds": [],
"type": "string",
"unit": "short"
},
{
"alias": "",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 1,
"mappingType": 1,
"pattern": "Data",
"thresholds": [],
"type": "number",
"unit": "decbytes"
},
{
"alias": "Type",
"align": "auto",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "type",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"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"
},
{
"params": [
"source"
],
"type": "tag"
},
{
"params": [
"type"
],
"type": "tag"
}
],
"measurement": "usg",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"uptime"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Uptime"
],
"type": "alias"
}
],
[
{
"params": [
"ip"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Address"
],
"type": "alias"
}
],
[
{
"params": [
"bytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"Data"
],
"type": "alias"
}
]
],
"tags": []
}
],
"timeFrom": "1h",
"title": "USG Details",
"transform": "table",
"transparent": true,
"type": "table"
},
{
"collapsed": true,
"datasource": "${DS_UNIFI_POLLER}",
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 50,
"panels": [
{
"content": "
\n