Grafana dashboard: UniFi-Poller: USW Insights - InfluxDB
Description: UniFi Poller v2.0.1 Displays detailed information for network switches in a UniFi network.

### Updated for Poller v2.0!

# UniFi USW: InfluxDB Dashboard
This dashboard displays detailed information for Network Switches found in a UniFi controller. **Grab this dashboard if your controller manages any switches or a dream machine.** It produces a ton of information per port.

#  [![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, 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": "7.0.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table-old",
      "name": "Table (old)",
      "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.1 Displays detailed information for network switches in a UniFi network.",
  "editable": true,
  "gnetId": 10417,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1592179735404,
  "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": [
    {
      "collapsed": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 137,
      "panels": [],
      "title": "Aggregate Graphs",
      "type": "row"
    },
    {
      "columns": [],
      "datasource": "${DS_UNIFI_POLLER}",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 6,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 1857,
      "isNew": true,
      "links": [],
      "pageSize": null,
      "scroll": false,
      "showHeader": true,
      "sort": {
        "col": 11,
        "desc": true
      },
      "styles": [
        {
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "Time",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "alias": "Name",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "linkTargetBlank": true,
          "linkUrl": "http:",
          "pattern": "name",
          "preserveFormat": false,
          "sanitize": false,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Model",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "model",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Device MAC",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "mac",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Unifi Serial #",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "serial",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "Version",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "#CA95E5",
            "#B877D9",
            "#A352CC"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "Uptime",
          "thresholds": [
            ""
          ],
          "type": "number",
          "unit": "s"
        },
        {
          "alias": "Site",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "pattern": "site_name",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "Version",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 1,
          "pattern": "version",
          "thresholds": [
            "50",
            "80"
          ],
          "type": "string",
          "unit": "percent"
        },
        {
          "alias": "Controller",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "source",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "/Bytes/",
          "thresholds": [],
          "type": "number",
          "unit": "decbytes"
        },
        {
          "alias": "Type",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "type",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "alias": "$col",
          "dsType": "influxdb",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "model"
              ],
              "type": "tag"
            },
            {
              "params": [
                "serial"
              ],
              "type": "tag"
            },
            {
              "params": [
                "site_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "mac"
              ],
              "type": "tag"
            },
            {
              "params": [
                "version"
              ],
              "type": "tag"
            },
            {
              "params": [
                "source"
              ],
              "type": "tag"
            },
            {
              "params": [
                "type"
              ],
              "type": "tag"
            }
          ],
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "uptime"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Uptime"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rx Bytes"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Tx Bytes"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "1h",
      "title": "USW Details",
      "transform": "table",
      "transparent": true,
      "type": "table-old"
    },
    {
      "aliasColors": {
        "switch Temperature C": "dark-green",
        "switch Temperature F": "dark-purple"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 17,
        "x": 0,
        "y": 7
      },
      "hiddenSeries": false,
      "id": 1149,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/F$/",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name Temperature C",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "general_temperature"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col F",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "general_temperature"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "*9/5+32"
                ],
                "type": "math"
              },
              {
                "params": [
                  "General Temp"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col F",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "udm",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "temp_Local"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "*9/5+32"
                ],
                "type": "math"
              },
              {
                "params": [
                  "Local Temp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "temp_PHY"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "*9/5+32"
                ],
                "type": "math"
              },
              {
                "params": [
                  "Physical Temp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "temp_CPU"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "*9/5+32"
                ],
                "type": "math"
              },
              {
                "params": [
                  "CPU Temp"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col C",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "measurement": "udm",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "temp_Local"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Local Temp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "temp_PHY"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Physical Temp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "temp_CPU"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "CPU Temp"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Switch Tmperature",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1189",
          "decimals": 1,
          "format": "celsius",
          "label": "Celcius",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        },
        {
          "$$hashKey": "object:1190",
          "decimals": null,
          "format": "fahrenheit",
          "label": "Farenheit",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "switch Total": "dark-purple"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "decimals": 0,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 7,
        "x": 17,
        "y": 7
      },
      "hiddenSeries": false,
      "id": 1170,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mem"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Total"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "uap",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mem"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Total"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "udm",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mem"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Total"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Switch Memory",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1330",
          "decimals": 0,
          "format": "percent",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1331",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "switch Load 1": "dark-green",
        "switch Load 15": "dark-purple",
        "switch Load 5": "dark-blue",
        "switch load 1": "red",
        "switch load 5": "blue"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "decimals": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 11,
        "w": 17,
        "x": 0,
        "y": 17
      },
      "hiddenSeries": false,
      "id": 1150,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/Load 15$/",
          "fill": 0,
          "linewidth": 6
        },
        {
          "alias": "/Load 5$/",
          "fill": 0,
          "linewidth": 4
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "loadavg_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Load 1"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "loadavg_15"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Load 15"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "uap",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "loadavg_15"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Load 15"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "udm",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "loadavg_15"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "Load 15"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Switch Load Average",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:355",
          "decimals": null,
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:356",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "switch CPU %": "dark-purple"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "decimals": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 11,
        "w": 7,
        "x": 17,
        "y": 17
      },
      "hiddenSeries": false,
      "id": 1169,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "usw",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "cpu"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "CPU %"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "uap",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "cpu"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "CPU %"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        },
        {
          "alias": "$tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "udm",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "cpu"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "CPU %"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Switch CPU Usage",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1812",
          "decimals": null,
          "format": "percent",
          "label": "CPU %",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1813",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_UNIFI_POLLER}",
      "description": "Shows data transferred for ports: Selected Switch ports. Rx is on the negative axis.",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 17,
        "w": 24,
        "x": 0,
        "y": 28
      },
      "hiddenSeries": false,
      "id": 135,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "hideEmpty": true,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/Rx$/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_port_id $tag_name $col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "port_id"
              ],
              "type": "tag"
            }
          ],
          "measurement": "usw_ports",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "rx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Rx"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Tx"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "device_name",
              "operator": "=~",
              "value": "/^$Switch$/"
            },
            {
              "condition": "AND",
              "key": "port_id",
              "operator": "=~",
              "value": "/^$Port$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Data Transfer",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:2225",
          "format": "Bps",
          "label": "Bytes Per Second",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:2226",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "columns": [],
      "datasource": "${DS_UNIFI_POLLER}",
      "description": "This panel displays lifetime totals and current data as of now.",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "90%",
      "gridPos": {
        "h": 21,
        "w": 24,
        "x": 0,
        "y": 45
      },
      "id": 214,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 5,
        "desc": true
      },
      "styles": [
        {
          "alias": "Client",
          "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": "name",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Time",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "alias": "Switch",
          "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": "device_name",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "POE",
          "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": "poe_mode",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "alias": "Port",
          "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": 0,
          "mappingType": 1,
          "pattern": "port_idx",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "FlowCtrl RX",
          "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": null,
          "mappingType": 1,
          "pattern": "flowctrl_rx",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "alias": "FlowCtrl TX",
          "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": null,
          "mappingType": 1,
          "pattern": "flowctrl_tx",
          "thresholds": [],
          "type": "number",
          "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": null,
          "mappingType": 1,
          "pattern": "Amps",
          "thresholds": [],
          "type": "number",
          "unit": "mamp"
        },
        {
          "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": null,
          "mappingType": 1,
          "pattern": "Watts",
          "thresholds": [],
          "type": "number",
          "unit": "watt"
        },
        {
          "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": null,
          "mappingType": 1,
          "pattern": "Volts",
          "thresholds": [],
          "type": "number",
          "unit": "volt"
        },
        {
          "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": 0,
          "mappingType": 1,
          "pattern": "/^[RT]x/",
          "thresholds": [],
          "type": "number",
          "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": null,
          "mappingType": 1,
          "pattern": "/^Bytes/",
          "thresholds": [],
          "type": "number",
          "unit": "decbytes"
        }
      ],
      "targets": [
        {
          "alias": "$tag_device_name $col",
          "groupBy": [
            {
              "params": [
                "name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "media"
              ],
              "type": "tag"
            },
            {
              "params": [
                "poe_mode"
              ],
              "type": "tag"
            },
            {
              "params": [
                "device_name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "flowctrl_rx"
              ],
              "type": "tag"
            },
            {
              "params": [
                "flowctrl_tx"
              ],
              "type": "tag"
            },
            {
              "params": [
                "port_idx"
              ],
              "type": "tag"
            }
          ],
          "measurement": "usw_ports",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "poe_current"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Amps"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "poe_voltage"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Volts"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "speed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Speed"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "poe_power"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Watts"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_errors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rx Errors"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_errors"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Tx Errors"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_dropped"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Tx Drops"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_dropped"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rx Drops"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_broadcast"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Tx Broadcast"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_broadcast"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rx Broadcast"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_packets"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rx Packets"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_packets"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Tx Packets"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "rx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Bytes Rx"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "tx_bytes"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Bytes Tx"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "site_name",
              "operator": "=~",
              "value": "/^$Site$/"
            },
            {
              "condition": "AND",
              "key": "device_name",
              "operator": "=~",
              "value": "/^$Switch$/"
            }
          ]
        }
      ],
      "title": "All Port Information",
      "transform": "table",
      "transparent": true,
      "type": "table-old"
    },
    {
      "collapsed": true,
      "datasource": "${DS_UNIFI_POLLER}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 66
      },
      "id": 4,
      "panels": [
        {
          "columns": [],
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "If you do not see data here, the port is probably not up!",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fontSize": "90%",
          "gridPos": {
            "h": 3,
            "w": 24,
            "x": 0,
            "y": 61
          },
          "id": 291,
          "links": [],
          "pageSize": null,
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 13,
            "desc": true
          },
          "styles": [
            {
              "alias": "Client",
              "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": "name",
              "thresholds": [],
              "type": "number",
              "unit": "short"
            },
            {
              "alias": "",
              "align": "auto",
              "colorMode": null,
              "colors": [
                "rgba(245, 54, 54, 0.9)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(50, 172, 45, 0.97)"
              ],
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "decimals": 2,
              "mappingType": 1,
              "pattern": "Time",
              "thresholds": [],
              "type": "hidden",
              "unit": "short"
            },
            {
              "alias": "Switch",
              "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": "device_name",
              "thresholds": [],
              "type": "number",
              "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": "/^Bytes/",
              "thresholds": [],
              "type": "number",
              "unit": "decbytes"
            },
            {
              "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": null,
              "mappingType": 1,
              "pattern": "/^[TR]x/",
              "thresholds": [],
              "type": "number",
              "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": 0,
              "mappingType": 1,
              "pattern": "Amps",
              "thresholds": [],
              "type": "number",
              "unit": "mamp"
            },
            {
              "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": "Watts",
              "thresholds": [],
              "type": "number",
              "unit": "watt"
            },
            {
              "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": 0,
              "mappingType": 1,
              "pattern": "Volts",
              "thresholds": [],
              "type": "number",
              "unit": "volt"
            }
          ],
          "targets": [
            {
              "alias": "$tag_device_name $col",
              "groupBy": [
                {
                  "params": [
                    "name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "device_name"
                  ],
                  "type": "tag"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "table",
              "select": [
                [
                  {
                    "params": [
                      "speed"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Speed"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "poe_voltage"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Volts"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "poe_power"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Watts"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_dropped"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Rx Drops"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_dropped"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Tx Drops"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_errors"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Rx Errors"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_errors"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Tx Errors"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Bytes Rx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Bytes Tx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_packets"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Tx Packets"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_packets"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Rx Packets"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_broadcast"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Rx Broadcast"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_multicast"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "spread"
                  },
                  {
                    "params": [
                      "Rx Multicast"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "poe_current"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Amps"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "title": "Switch $Port Information",
          "transform": "table",
          "type": "table-old"
        },
        {
          "aliasColors": {
            "switch Port 13 (Camera: Car - Cable Box Punchdown) Bytes Rx": "dark-green",
            "switch Port 13 (Camera: Car - Cable Box Punchdown) Bytes Tx": "dark-purple"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Shows data transfer rate per second for Switch $Port. TX on positive axis and RX on negative axis.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 9,
            "w": 24,
            "x": 0,
            "y": 64
          },
          "hiddenSeries": false,
          "id": 1396,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/Rx$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port ($tag_name) $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "rx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Bytes Rx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_bytes"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Bytes Tx"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Data Transfer: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "Bps",
              "label": "Bytes / Second",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Shows broadcast and multicast packets per second for Switch $Port. TX on positive axis and RX on negative axis.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 0,
            "y": 73
          },
          "hiddenSeries": false,
          "id": 594,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/Rx$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port ($tag_name) $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "rx_broadcast"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Broadcast Rx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_broadcast"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Broadcast Tx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_multicast"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Multicast Tx"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Multicast & Broadcast: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "pps",
              "label": "PPS",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "decimals": 0,
          "description": "Shows errors and dropped packets for Switch $Port. RX on negative axis.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 12,
            "y": 73
          },
          "hiddenSeries": false,
          "id": 367,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/Rx$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port ($tag_name) $col",
              "groupBy": [
                {
                  "params": [
                    "1s"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "rx_dropped"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "30s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Drops RX"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_errors"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "30s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Errors RX"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_errors"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "30s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Errors TX"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "tx_dropped"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "sum"
                  },
                  {
                    "params": [
                      "40s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Drops TX"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Errors and Drops: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 2,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": 0,
              "format": "short",
              "label": "packets per second",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Shows packet counters for Switch $Port. TX on positive axis and RX on negative axis.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 12,
            "x": 0,
            "y": 80
          },
          "hiddenSeries": false,
          "id": 468,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": true,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/Rx$/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port ($tag_name) $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "name"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "tx_packets"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Rx"
                    ],
                    "type": "alias"
                  }
                ],
                [
                  {
                    "params": [
                      "rx_packets"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  },
                  {
                    "params": [
                      "1s"
                    ],
                    "type": "non_negative_derivative"
                  },
                  {
                    "params": [
                      "Tx"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Packets Per Second: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "pps",
              "label": "PPS",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Display POE Power for Switch $Port.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 4,
            "x": 12,
            "y": 80
          },
          "hiddenSeries": false,
          "id": 745,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "poe_power"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Current"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "POE Power: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "watt",
              "label": "Watts",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "watt",
              "label": "Watts",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Display POE Voltage for Switch $Port.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 4,
            "x": 16,
            "y": 80
          },
          "hiddenSeries": false,
          "id": 921,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "poe_voltage"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Voltage"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "POE Voltage: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "volt",
              "label": "Volts",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "watt",
              "label": "Watts",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_UNIFI_POLLER}",
          "description": "Display POE Current for Switch $Port.",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 7,
            "w": 4,
            "x": 20,
            "y": 80
          },
          "hiddenSeries": false,
          "id": 922,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "options": {
            "dataLinks": []
          },
          "percentage": false,
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "Port": {
              "selected": false,
              "text": "switch Port 1",
              "value": "switch Port 1"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "$Port $col",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "usw_ports",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "poe_current"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  },
                  {
                    "params": [
                      "Current"
                    ],
                    "type": "alias"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "site_name",
                  "operator": "=~",
                  "value": "/^$Site$/"
                },
                {
                  "condition": "AND",
                  "key": "device_name",
                  "operator": "=~",
                  "value": "/^$Switch$/"
                },
                {
                  "condition": "AND",
                  "key": "port_id",
                  "operator": "=~",
                  "value": "/^$Port$/"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "POE Current: Switch $Port",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "mamp",
              "label": "Amps",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "watt",
              "label": "Watts",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "repeat": "Port",
      "title": "Switch $Port",
      "type": "row"
    }
  ],
  "refresh": false,
  "schemaVersion": 25,
  "style": "dark",
  "tags": [
    "unifi",
    "usw",
    "unifi-poller"
  ],
  "templating": {
    "list": [
      {
        "allValue": ".*",
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"usw_ports\" with key=\"source\"",
        "hide": 2,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Controller",
        "options": [],
        "query": "show tag values from \"usw_ports\" with key=\"source\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"usw_ports\" with key=\"site_name\" WHERE source =~ /^$Controller$/ ",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Site",
        "options": [],
        "query": "show tag values from \"usw_ports\" with key=\"site_name\" WHERE source =~ /^$Controller$/ ",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {
          "selected": true,
          "tags": [],
          "text": "All",
          "value": [
            "$__all"
          ]
        },
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Devices",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "uap",
            "value": "uap"
          },
          {
            "selected": false,
            "text": "udm",
            "value": "udm"
          },
          {
            "selected": false,
            "text": "usw",
            "value": "usw"
          }
        ],
        "query": "uap,udm,usw",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"usw_ports\" with key=\"device_name\" where site_name =~ /^$Site$/ AND type=~/^$Devices$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Switch",
        "options": [],
        "query": "show tag values from \"usw_ports\" with key=\"device_name\" where site_name =~ /^$Site$/ AND type=~/^$Devices$/",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {},
        "datasource": "${DS_UNIFI_POLLER}",
        "definition": "show tag values from \"usw_ports\" with key=\"port_id\" where device_name =~ /^$Switch$/ AND site_name =~ /^$Site$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "Port",
        "options": [],
        "query": "show tag values from \"usw_ports\" with key=\"port_id\" where device_name =~ /^$Switch$/ AND site_name =~ /^$Site$/",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 3,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-3h",
    "to": "now-5s"
  },
  "timepicker": {
    "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: USW Insights - InfluxDB",
  "uid": "HIKZ98GZz",
  "version": 21
}