Grafana dashboard: UniFi-Poller: Network Sites - InfluxDB
Description: UniFi Poller v2.0 Displays detailed information for network Sites in a UniFi controller.

### Updated for Poller v2.0!

# UniFi Sites: InfluxDB Dashboard
**Every controller has at least one site, so this should be one of the first dashboards you install.**
This dashboard displays detailed information for Network Sites found in a UniFi controller. 

#  [![UniFi Poller](https://raw.githubusercontent.com/wiki/unifi-poller/unifi-poller/images/unifi-poller-logo-smaller.png)](https://github.com/unifi-poller/unifi-poller)
The dashboard is multi-site capable.
The data displayed is stored in InfluxDB by [Unifi Poller](https://github.com/unifi-poller/unifi-poller). **This is one of several UniFi Poller dashboards.** [Click this link](https://grafana.com/dashboards?search=unifi-poller) to see them all.

[UniFi Poller](https://github.com/unifi-poller/unifi-poller) is a small Golang application that runs on Windows, FreeBSD, macOS, Linux or
Docker. It polls a UniFi controller every 30 seconds for measurements and stores
the data in an Influx database. A small setup with 2 APs, 1 switch, 1 gateway and
40 clients produces over 3000 fields (metrics).

#### More

[Ubiquiti](https://www.ui.com) makes networking devices like switches, gateways
(routers) and wireless access points. They have a line of equipment named
[UniFi](https://www.ui.com/products/#unifi) that uses a
[controller](https://www.ui.com/download/unifi/) to keep stats and simplify network
device configuration. This controller can be installed on Windows, macOS and Linux.
Ubiquiti also provides a dedicated hardware device called a
[CloudKey](https://www.ui.com/unifi/unifi-cloud-key/) that runs the controller software.


{
  "__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",
        "type": "dashboard"
      }
    ]
  },
  "description": "UniFi Poller v2.0 Displays detailed information for network Sites in a UniFi controller.",
  "editable": true,
  "gnetId": 10414,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1580615239248,
  "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": [
    {
      "content": "Each site contains 5 subsystems: wan, lan, wlan, www, vpn. Each subsystem contains data specific to that system, but every subsystem shares the same fields. \nThis means that most fields you find appear empty. That means the field is probably for a different subsystem.\nThe site metrics tend to contain a lot of data about the local USG.\nNote: The three singlestat panels with thresholds do not have a subsystem selected and they may not be entirely accurate.\n\n",
      "datasource": "${DS_UNIFI_POLLER}",
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 37,
      "links": [],
      "mode": "html",
      "options": {},
      "timeFrom": null,
      "timeShift": null,
      "title": "Information",
      "type": "text"
    },
    {
      "collapsed": true,
      "datasource": "${DS_UNIFI_POLLER}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 3
      },
      "id": 4,
      "panels": [
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "ms",
          "gauge": {
            "maxValue": 400,
            "minValue": 10,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 0,
            "y": 4
          },
          "id": 32,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "latency"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "www"
                }
              ]
            }
          ],
          "thresholds": "100,200",
          "timeFrom": null,
          "timeShift": null,
          "title": "WWW Latency",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "ms",
          "gauge": {
            "maxValue": 200,
            "minValue": 1,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 3,
            "y": 4
          },
          "id": 33,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(133, 22, 190, 0.14)",
            "full": false,
            "lineColor": "#FFB357",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "speedtest_ping"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "www"
                }
              ]
            }
          ],
          "thresholds": "50,100",
          "timeFrom": null,
          "timeShift": null,
          "title": "Speed Test Ping",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "percent",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 6,
            "y": 4
          },
          "id": 34,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(133, 22, 190, 0.14)",
            "full": false,
            "lineColor": "#FFB357",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "gw_cpu"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wan"
                }
              ]
            }
          ],
          "thresholds": "25,50",
          "timeFrom": null,
          "timeShift": null,
          "title": "Gateway CPU",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "percent",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 4,
            "w": 3,
            "x": 9,
            "y": 4
          },
          "id": 35,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(133, 22, 190, 0.14)",
            "full": false,
            "lineColor": "#FFB357",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "gw_mem"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wan"
                }
              ]
            }
          ],
          "thresholds": "50,75",
          "timeFrom": null,
          "timeShift": null,
          "title": "Gateway Memory",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "columns": [],
          "datasource": "${DS_UNIFI_POLLER}",
          "fontSize": "100%",
          "gridPos": {
            "h": 4,
            "w": 12,
            "x": 12,
            "y": 4
          },
          "id": 14,
          "links": [],
          "options": {},
          "pageSize": null,
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "hidden"
            },
            {
              "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,
              "mappingType": 1,
              "pattern": "/Rate$/",
              "thresholds": [],
              "type": "number",
              "unit": "Bps"
            },
            {
              "alias": "",
              "align": "auto",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "/xPut/",
              "thresholds": [],
              "type": "number",
              "unit": "MBs"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "desc"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "rx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "RxRate"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "TxRate"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "xput_down"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "xPutRx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "xput_up"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "xPutTx"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "www"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "WWW Subsystem",
          "transform": "table",
          "type": "table"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 0,
            "y": 8
          },
          "id": 18,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_gw"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "Gateways",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 2,
            "y": 8
          },
          "id": 19,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_sw"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "lan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "Switches",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 4,
            "y": 8
          },
          "id": 17,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_ap"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wlan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "WAPs",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 6,
            "y": 8
          },
          "id": 24,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_user"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "vpn"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "VPN Users",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 8,
            "y": 8
          },
          "id": 28,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_user"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wlan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "WLAN Users",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 10,
            "y": 8
          },
          "id": 29,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_user"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "lan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "LAN Users",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 12,
            "y": 8
          },
          "id": 26,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_sta"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "Total Users",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "columns": [],
          "datasource": "${DS_UNIFI_POLLER}",
          "fontSize": "100%",
          "gridPos": {
            "h": 4,
            "w": 5,
            "x": 14,
            "y": 8
          },
          "id": 10,
          "links": [],
          "options": {},
          "pageSize": null,
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "hidden"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "status"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "remote_user_num_inactive"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Inactive"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "remote_user_num_active"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Active"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "remote_user_rx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "RX"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "remote_user_tx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "TX"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "vpn"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "VPN Subsystem",
          "transform": "table",
          "type": "table"
        },
        {
          "columns": [],
          "datasource": "${DS_UNIFI_POLLER}",
          "fontSize": "100%",
          "gridPos": {
            "h": 4,
            "w": 5,
            "x": 19,
            "y": 8
          },
          "id": 11,
          "links": [],
          "options": {},
          "pageSize": null,
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "hidden"
            },
            {
              "alias": "LAN IP",
              "align": "auto",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "decimals": 2,
              "pattern": "lan_ip",
              "thresholds": [],
              "type": "string",
              "unit": "short"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "status"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "lan_ip"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "num_user"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Users"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "num_iot"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "IoT"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "num_guest"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Guests"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "num_sw"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Switches"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "num_adopted"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Adopted"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "lan"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "LAN Subsystem",
          "transform": "table",
          "type": "table"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 0,
            "y": 10
          },
          "id": 30,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "drops"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "www"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "WWW Drops",
          "type": "singlestat",
          "valueFontSize": "80%",
          "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_POLLER}",
          "description": "This panel currently does not select a subsystem, so the data reflected here may only be fore 1 random system. Keep this in mind when you build your own graphs from this data.",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 2,
            "y": 10
          },
          "id": 27,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_adopted"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "Adopted",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "#C4162A",
            "#C4162A"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 4,
            "y": 10
          },
          "id": 22,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_disabled"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": "1,2",
          "timeFrom": null,
          "timeShift": null,
          "title": "Disabled",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "#C4162A",
            "#C4162A"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 6,
            "y": 10
          },
          "id": 25,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_disconnected"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": "1,2",
          "timeFrom": null,
          "timeShift": null,
          "title": "Disconnected",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": true,
          "colors": [
            "#299c46",
            "#C4162A",
            "#C4162A"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 8,
            "y": 10
          },
          "id": 20,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_new_alarms"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": "1,2",
          "timeFrom": null,
          "timeShift": null,
          "title": "Alarms",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 10,
            "y": 10
          },
          "id": 31,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_iot"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wlan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "WLAN IoT",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
          ],
          "datasource": "${DS_UNIFI_POLLER}",
          "format": "none",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "gridPos": {
            "h": 2,
            "w": 2,
            "x": 12,
            "y": 10
          },
          "id": 21,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "options": {},
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": true
          },
          "tableColumn": "",
          "targets": [
            {
              "groupBy": [],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_guest"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wlan"
                }
              ]
            }
          ],
          "thresholds": "",
          "timeFrom": null,
          "timeShift": null,
          "title": "Guests",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "max"
        },
        {
          "columns": [],
          "datasource": "${DS_UNIFI_POLLER}",
          "fontSize": "100%",
          "gridPos": {
            "h": 3,
            "w": 24,
            "x": 0,
            "y": 12
          },
          "id": 12,
          "links": [],
          "options": {},
          "pageSize": null,
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 0,
            "desc": true
          },
          "styles": [
            {
              "alias": "Time",
              "align": "auto",
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Time",
              "type": "hidden"
            },
            {
              "alias": "GW 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,
              "mappingType": 1,
              "pattern": "gw_name",
              "thresholds": [],
              "type": "string",
              "unit": "short"
            },
            {
              "alias": "WAN IP",
              "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": "wan_ip",
              "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": "/Rate$/",
              "thresholds": [],
              "type": "number",
              "unit": "Bps"
            }
          ],
          "targets": [
            {
              "groupBy": [
                {
                  "params": [
                    "status"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "gw_name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "wan_ip"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "rx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Rx Rate"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Tx Rate"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "num_new_alarms"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Alarms"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                },
                {
                  "condition": "AND",
                  "key": "subsystem",
                  "operator": "=",
                  "value": "wan"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "WAN Subsystem",
          "transform": "table",
          "type": "table"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "decimals": null,
          "description": "Shows data transfer for each subsystem on the site. RX is on the negative axis.",
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 15
          },
          "hiddenSeries": false,
          "id": 15,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": true,
            "show": true,
            "sort": "max",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "maxPerRow": 2,
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "repeatDirection": "h",
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/RX$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$tag_subsystem $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "subsystem"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT max(\"rx_bytes-r\") AS \"Bytes RX\", max(\"tx_bytes-r\") AS \"Bytes TX\" FROM \"subsystems\" WHERE (\"site_name\" =~ /^$site$/) AND $timeFilter GROUP BY time($__interval), \"subsystem\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "rx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "max"
                  },
                  {
                    "params": [
                      "Bytes RX"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_bytes-r"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "max"
                  },
                  {
                    "params": [
                      "Bytes TX"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Site $site Data Transfer",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": null,
              "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_POLLER}",
          "decimals": 0,
          "description": "This graphs shows clients connected to the site.",
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 24,
            "x": 0,
            "y": 23
          },
          "hiddenSeries": false,
          "id": 2,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": true,
            "show": true,
            "sort": "current",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 3,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "repeat": null,
          "repeatDirection": "h",
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$tag_subsystem $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "subsystem"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "subsystems",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "num_user"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "max"
                  },
                  {
                    "params": [
                      "Users"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "remote_user_num_active"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "max"
                  },
                  {
                    "params": [
                      "Remote Active"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "remote_user_num_inactive"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "max"
                  },
                  {
                    "params": [
                      "Remote Inactive"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$site$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Site $site Client Counts",
          "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": null,
              "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_POLLER}",
          "decimals": 0,
          "description": "This graph only works if DPI is enabled on the controller and DPI collection is enabled in UniFi Poller. Rx is on the negative axis.",
          "fill": 0,
          "fillGradient": 0,
          "gridPos": {
            "h": 15,
            "w": 24,
            "x": 0,
            "y": 30
          },
          "hiddenSeries": false,
          "id": 38,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "hideEmpty": true,
            "hideZero": true,
            "max": true,
            "min": false,
            "rightSide": true,
            "show": true,
            "sort": "current",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 3,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "repeatDirection": "h",
          "scopedVars": {
            "site": {
              "selected": false,
              "text": "Home (default)",
              "value": "Home (default)"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/Rx$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$tag_category $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "category"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "sitedpi",
              "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$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Data Transfer by Category",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": 0,
              "format": "Bps",
              "label": null,
              "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
          }
        }
      ],
      "repeat": "site",
      "title": "Site: $site",
      "type": "row"
    }
  ],
  "schemaVersion": 22,
  "style": "dark",
  "tags": [
    "unifi",
    "unifi-poller"
  ],
  "templating": {
    "list": [
      {
        "allValue": ".*",
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"subsystems\" with key=\"source\"",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Controller",
        "options": [],
        "query": "show tag values from \"subsystems\" with key=\"source\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"subsystems\" with key=\"site_name\" WHERE source =~ /^$Controller$/ ",
        "hide": 2,
        "includeAll": true,
        "label": "",
        "multi": false,
        "name": "site",
        "options": [],
        "query": "show tag values from \"subsystems\" with key=\"site_name\" WHERE source =~ /^$Controller$/ ",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"subsystems\" with key=\"subsystem\"",
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Subsystem",
        "options": [],
        "query": "show tag values from \"subsystems\" with key=\"subsystem\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-3h",
    "to": "now-5s"
  },
  "timepicker": {
    "nowDelay": "5s",
    "refresh_intervals": [
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "UniFi-Poller: Network Sites - InfluxDB",
  "uid": "5_omrT7Zz",
  "version": 9
}