Grafana dashboard: RUCKUS MSP Cloud Dashboard - Devices
Description: This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor


{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__elements": {
    "8DJS3GmRz": {
      "name": "Menu",
      "uid": "8DJS3GmRz",
      "kind": 1,
      "model": {
        "type": "dashlist",
        "title": "Menu",
        "datasource": {
          "type": "influxdb",
          "uid": "mFy80RpVk"
        },
        "pluginVersion": "9.3.2",
        "description": "",
        "options": {
          "folderId": 3,
          "maxItems": 4,
          "query": "",
          "showHeadings": false,
          "showRecentlyViewed": false,
          "showSearch": false,
          "showStarred": true,
          "tags": []
        },
        "targets": [
          {
            "datasource": {
              "type": "influxdb",
              "uid": "mFy80RpVk"
            },
            "refId": "A"
          }
        ]
      }
    }
  },
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.2"
    },
    {
      "type": "panel",
      "id": "grafana-singlestat-panel",
      "name": "Singlestat",
      "version": "2.0.0"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "datasource",
          "uid": "grafana"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [
    {
      "asDropdown": false,
      "icon": "external link",
      "includeVars": false,
      "keepTime": false,
      "tags": [],
      "targetBlank": true,
      "title": "Ruckus Cloud",
      "tooltip": "Ruckus Cloud",
      "type": "link",
      "url": "https://ruckus.cloud"
    }
  ],
  "liveNow": false,
  "panels": [
    {
      "gridPos": {
        "h": 8,
        "w": 3,
        "x": 0,
        "y": 0
      },
      "id": 24,
      "libraryPanel": {
        "uid": "8DJS3GmRz",
        "name": "Menu"
      }
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "purple",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 8,
        "x": 9,
        "y": 0
      },
      "id": 27,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 25,
          "valueSize": 35
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Device_type"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_Model"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": " ",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "Customer_Name": 4,
              "Dev_fw": 12,
              "Device_IPaddr": 2,
              "Device_MAC": 3,
              "Device_Model": 11,
              "Device_Name": 1,
              "Device_type": 10,
              "Last_Seen": 6,
              "Serial_No": 8,
              "Stat": 13,
              "Status": 9,
              "Time": 0,
              "Uptime": 7,
              "Venue_Name": 5
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model :  ",
              "Device_Name": "Device Name",
              "Device_type": "Device Type  :  ",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "End Customer name"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Show tenant",
                    "url": "d/x1d4sjWRkdsf/tenant?orgId=1&var-tenant=${__data.fields[\"End Customer name\"]}&var-series_name=$series_name"
                  }
                ]
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Venue Name"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Show Venues",
                    "url": "http://192.168.116.128:3000/d/09chXZ24k/venue?orgId=1&var-venue=${__data.fields[\"Venue Name\"]}&var-series_name=$series_name"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 10,
        "x": 3,
        "y": 3
      },
      "id": 12,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 20,
          "valueSize": 30
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Device_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_IPaddr"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_MAC"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Customer_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Venue_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "limit": "1",
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Device Details",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "Customer_Name": 4,
              "Dev_fw": 12,
              "Device_IPaddr": 2,
              "Device_MAC": 3,
              "Device_Model": 11,
              "Device_Name": 1,
              "Device_type": 10,
              "Last_Seen": 6,
              "Serial_No": 8,
              "Stat": 13,
              "Status": 9,
              "Time": 0,
              "Uptime": 7,
              "Venue_Name": 5
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [
            {
              "options": {
                "Configuration Update Failed": {
                  "color": "red",
                  "index": 9
                },
                "Disconnected From Cloud": {
                  "color": "red",
                  "index": 10
                },
                "Firmware Update Failed": {
                  "color": "red",
                  "index": 8
                },
                "Heartbeat Lost": {
                  "color": "super-light-red",
                  "index": 12
                },
                "In Setup Phase": {
                  "color": "blue",
                  "index": 3
                },
                "Initializing": {
                  "color": "light-green",
                  "index": 6
                },
                "Never Contacted Cloud": {
                  "color": "super-light-yellow",
                  "index": 5
                },
                "Offline": {
                  "color": "light-orange",
                  "index": 7
                },
                "Operational": {
                  "color": "green",
                  "index": 0
                },
                "Rebooting": {
                  "color": "light-orange",
                  "index": 11
                },
                "Requires Attention": {
                  "color": "red",
                  "index": 1
                },
                "Transient Issue": {
                  "color": "orange",
                  "index": 2
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Last_Seen"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocal"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 11,
        "x": 13,
        "y": 3
      },
      "id": 25,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 25,
          "valueSize": 30
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Severity"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Device Status",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [
            {
              "options": {
                "Disconnect": {
                  "color": "red",
                  "index": 2
                },
                "Discovery": {
                  "color": "super-light-blue",
                  "index": 6
                },
                "Firmware Upgrade Failed": {
                  "color": "red",
                  "index": 0
                },
                "Offline": {
                  "color": "yellow",
                  "index": 4
                },
                "Provisioned": {
                  "color": "blue",
                  "index": 5
                },
                "Reboot": {
                  "color": "orange",
                  "index": 3
                },
                "Update Failed": {
                  "color": "orange",
                  "index": 1
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 11,
        "x": 13,
        "y": 8
      },
      "id": 30,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 25,
          "valueSize": 30
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "ConnectionStatus"
              ],
              "type": "tag"
            },
            {
              "params": [
                "ConfigStatus"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        },
        {
          "id": "convertFieldType",
          "options": {
            "conversions": [
              {
                "destinationType": "string",
                "targetField": "ConfigStatus"
              }
            ],
            "fields": {}
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "percentage",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "orange",
                "value": 70
              },
              {
                "color": "red",
                "value": 85
              }
            ]
          },
          "unit": "m"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 3,
        "y": 13
      },
      "id": 26,
      "options": {
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": false
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Uptime"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Uptime (Last Known)",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "type": "gauge"
    },
    {
      "colorBackground": true,
      "colorPostfix": false,
      "colorPrefix": false,
      "colorValue": true,
      "colors": [
        "#1F60C4",
        "#FFF899",
        "#299c46"
      ],
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "format": "dateTimeFromNow",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 5,
        "w": 5,
        "x": 8,
        "y": 13
      },
      "id": 28,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "$$hashKey": "object:238",
          "name": "value to text",
          "value": 1
        },
        {
          "$$hashKey": "object:239",
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "pluginVersion": "9.3.2",
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "80%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "sparkline": {
        "fillColor": "rgba(31, 118, 189, 0.18)",
        "full": true,
        "lineColor": "rgb(31, 120, 193)",
        "show": false
      },
      "tableColumn": "Last seen on ",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Last_Seen"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "thresholds": "",
      "timeFrom": "15m",
      "title": "Last Seen",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "transparent": true,
      "type": "grafana-singlestat-panel",
      "valueFontSize": "150%",
      "valueMaps": [
        {
          "$$hashKey": "object:241",
          "op": "=",
          "text": "Never",
          "value": "0000-00-00T00:00:00.000Z"
        }
      ],
      "valueName": "last_time"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Last_Seen"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocal"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 11,
        "x": 13,
        "y": 13
      },
      "id": 29,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 20,
          "valueSize": 30
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Dev_fw"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Serial_No"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Miscellaneous",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware Version",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime",
              "Venue_Name": "Venue Name",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "string"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Last_Seen"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocal"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Uptime"
            },
            "properties": [
              {
                "id": "unit",
                "value": "m"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 21,
        "x": 3,
        "y": 18
      },
      "id": 31,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [],
          "fields": "/.*/",
          "values": true
        },
        "text": {
          "titleSize": 25,
          "valueSize": 30
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Last_Seen"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Uptime"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"valueStr\") AS \"Status\" FROM \"PowersupplyStatus\" WHERE $timeFilter GROUP BY \"Device\"",
          "rawQuery": false,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "Device_Name",
              "operator": "=~",
              "value": "/^$device$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Timeline",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": false,
              "Field": false,
              "Last": false,
              "Last_Seen": false,
              "Stat": true,
              "Status": false,
              "Time": true,
              "Uptime": false,
              "last": true
            },
            "indexByName": {
              "ConfigStatus": 3,
              "ConnectionStatus": 4,
              "Last_Seen": 5,
              "Severity": 1,
              "Status": 2,
              "Time": 0,
              "last": 6
            },
            "renameByName": {
              "AP_IPaddr": "IP Address",
              "AP_MAC": "MAC Address",
              "AP_Name": "Access Point Name",
              "ConfigStatus": "Configuration Status",
              "ConnectionStatus": "Connection Status",
              "Customer_Name": "End Customer name",
              "Dev_fw": "Firmware Version",
              "Device": "",
              "Device_IPaddr": "Device IP",
              "Device_MAC": "Device MAC",
              "Device_Model": "Device Model",
              "Device_Name": "Device Name",
              "Device_type": "Type",
              "Last_Seen": "Last seen on : ",
              "Serial_No": "Serial Number",
              "Severity": "Severity",
              "Status": "Status",
              "Uptime": "Last known Uptime : ",
              "Venue_Name": "Venue Name",
              "last": "",
              "valueStr": "HiVision Status"
            }
          }
        }
      ],
      "type": "stat"
    }
  ],
  "refresh": false,
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "ruckus",
    "msp",
    "cloud"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "influxdb",
          "uid": "${DS_INFLUXDB}"
        },
        "definition": "select Device_Name, value from $series_name WHERE time >= now() - 15m and time <= now()",
        "description": "Enter your End Device name",
        "hide": 0,
        "includeAll": false,
        "label": "Device",
        "multi": false,
        "name": "device",
        "options": [],
        "query": "select Device_Name, value from $series_name WHERE time >= now() - 15m and time <= now()",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      },
      {
        "current": {
          "selected": false,
          "text": "sltaps",
          "value": "sltaps"
        },
        "hide": 2,
        "name": "series_name",
        "options": [
          {
            "selected": true,
            "text": "sltaps",
            "value": "sltaps"
          }
        ],
        "query": "sltaps",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {
    "hidden": false,
    "refresh_intervals": [
      "15m"
    ]
  },
  "timezone": "browser",
  "title": "RUCKUS MSP Cloud Dashboard - Devices",
  "uid": "MHK5JWhVk",
  "version": 21,
  "weekStart": "",
  "gnetId": 17854
}