Ruckus MSP Cloud Dashboard - Tenant
This Dashboard queries all APs from all the End Customers (tenants) of MSP and show a single windows to monitor
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": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.2"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "piechart",
      "name": "Pie chart",
      "version": ""
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "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": [
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "inspect": false
          },
          "mappings": [
            {
              "options": {
                "from": 0,
                "result": {
                  "index": 0,
                  "text": "Last Known data push"
                },
                "to": 500
              },
              "type": "range"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Time"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocalNoDateIfToday"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 18,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": false
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "limit": "1",
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "Devices of $tenant",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "sltaps.last": true,
              "totalap.last": false
            },
            "indexByName": {
              "Time": 1,
              "totalap.last": 0
            },
            "renameByName": {
              "totalap.last": ""
            }
          }
        }
      ],
      "transparent": true,
      "type": "table"
    },
    {
      "gridPos": {
        "h": 8,
        "w": 3,
        "x": 0,
        "y": 2
      },
      "id": 24,
      "libraryPanel": {
        "uid": "8DJS3GmRz",
        "name": "Menu"
      }
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "mappings": []
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.down {Status: 3_04_DisconnectedFromCloud}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Disconnected"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.down {Status: 4_04_HeartbeatLost}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Heartbeat Lost"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.down {Status: 1_01_NeverContactedCloud}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Never Contacted Cloud"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.down {Status: 2_00_Operational}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Operational"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.down {Status: 2_02_ApplyingConfiguration}"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Applying Configuration"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 7,
        "x": 3,
        "y": 2
      },
      "id": 26,
      "options": {
        "displayLabels": [
          "value"
        ],
        "legend": {
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "multi",
          "sort": "asc"
        }
      },
      "pluginVersion": "8.4.6",
      "targets": [
        {
          "alias": "$tag_Device_type - $tag_Status",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "Status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_type"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            }
          ]
        }
      ],
      "title": "Summary of Devices - $tenant",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {}
          }
        }
      ],
      "type": "piechart"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "auto",
            "displayMode": "json-view",
            "filterable": true,
            "inspect": false,
            "minWidth": 50
          },
          "mappings": [
            {
              "options": {
                "Error": {
                  "color": "dark-red",
                  "index": 0
                },
                "Not Saved": {
                  "color": "dark-yellow",
                  "index": 3
                },
                "Off": {
                  "color": "dark-red",
                  "index": 1
                },
                "Warning": {
                  "color": "dark-yellow",
                  "index": 2
                },
                "unsecure": {
                  "color": "dark-yellow",
                  "index": 4
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgb(255, 255, 255)",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "Configuration Update Failed": {
                        "color": "yellow",
                        "index": 2
                      },
                      "Disconnected From Cloud": {
                        "color": "red",
                        "index": 1
                      },
                      "Firmware Upgrade Failed": {
                        "color": "yellow",
                        "index": 0
                      },
                      "Heartbeat Lost": {
                        "color": "orange",
                        "index": 3
                      },
                      "Offline": {
                        "color": "red",
                        "index": 5
                      },
                      "Rebooting": {
                        "color": "light-yellow",
                        "index": 4
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Last seen on "
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocalNoDateIfToday"
              },
              {
                "id": "custom.align",
                "value": "right"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Device IP"
            },
            "properties": [
              {
                "id": "custom.align",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 14,
        "x": 10,
        "y": 2
      },
      "id": 27,
      "options": {
        "footer": {
          "enablePagination": true,
          "fields": [
            "Serial_No"
          ],
          "reducer": [
            "distinctCount"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Status"
          }
        ]
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "Device_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_IPaddr"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Last_Seen"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Venue_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_Model"
              ],
              "type": "tag"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "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"
              },
              {
                "params": [
                  "Stat"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Status",
              "operator": "=~",
              "value": "/Failed|Disconnected|Rebooting|Lost|Offline/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Needs attention",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": true,
              "Stat": true,
              "Status": false,
              "Time": true
            },
            "indexByName": {
              "Device_IPaddr": 5,
              "Device_Model": 4,
              "Device_Name": 1,
              "Last_Seen": 3,
              "Stat": 7,
              "Status": 2,
              "Time": 0,
              "Venue_Name": 6
            },
            "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": "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": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0 devices need attention",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": []
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 10
      },
      "id": 35,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "Devices Needs Attention",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT sum(\"value\") FROM /^$series_name$/ WHERE (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Requires Attention' AND $timeFilter)  OR (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Transceint Issue' AND $timeFilter) OR  (\"Customer_Name\" =~ /^$tenant$/ AND \"Status\" = 'OFFLINE' AND $timeFilter) GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Severity",
              "operator": "=~",
              "value": "/Requires|Transient|NaN/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0 APs need attention",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Needs attention",
                    "url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 10
      },
      "id": 30,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "APs Needs Attention",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT sum(\"value\") FROM /^$series_name$/ WHERE (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Requires Attention' AND \"Device_type\" = 'Access Point' AND $timeFilter) OR  (\"Customer_Name\" =~ /^$tenant$/ AND \"Severity\" = 'Transceint Issue' AND \"Device_type\" = 'Access Point' AND $timeFilter) GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Severity",
              "operator": "=~",
              "value": "/Requires|Transient/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0 ICX need attention",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Needs attention",
                    "url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 6,
        "y": 10
      },
      "id": 31,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "ICX Needs Attention",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Status",
              "operator": "=",
              "value": "Offline"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "${__field.displayName}",
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 7,
        "x": 9,
        "y": 10
      },
      "id": 33,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "displayMode": "lcd",
        "minVizHeight": 1,
        "minVizWidth": 0,
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "$tag_Venue_Name",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "Venue_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Severity",
              "operator": "=~",
              "value": "/Requires|Transient|NaN/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Offline devices per Venue",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "continuous-BlPu"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "series",
            "axisLabel": "Devices",
            "axisPlacement": "auto",
            "axisSoftMin": 0,
            "barAlignment": 1,
            "drawStyle": "bars",
            "fillOpacity": 14,
            "gradientMode": "scheme",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 2,
            "pointSize": 10,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "sltaps.sum"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Total AP"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Value"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Disconnected APs"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 8,
        "x": 16,
        "y": 10
      },
      "id": 2,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            }
          ]
        }
      ],
      "timeFrom": "24h",
      "title": "$tenant Device Status over time",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "No Devices found",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": []
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 14
      },
      "id": 29,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "Out of (total)",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Needs attention",
                    "url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 14
      },
      "id": 34,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "Out of (total)",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Device_type",
              "operator": "=",
              "value": "Access Point"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "No Switches",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Out of (total)"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Needs Attention"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Needs attention",
                    "url": "d/x1d4sjWRkdsf/ruckus-cloud-tenant-dashboard?orgId=1&from=now-15m&to=now&viewPanel=27"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 6,
        "y": 14
      },
      "id": 36,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "value_and_name"
      },
      "pluginVersion": "9.3.2",
      "targets": [
        {
          "alias": "Out of (total)",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "/^$series_name$/",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            },
            {
              "condition": "AND",
              "key": "Device_type",
              "operator": "=",
              "value": "Switch"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "transformations": [],
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "auto",
            "displayMode": "auto",
            "filterable": true,
            "inspect": false
          },
          "mappings": [
            {
              "options": {
                "Error": {
                  "color": "dark-red",
                  "index": 0
                },
                "Not Saved": {
                  "color": "dark-yellow",
                  "index": 3
                },
                "Off": {
                  "color": "dark-red",
                  "index": 1
                },
                "Warning": {
                  "color": "dark-yellow",
                  "index": 2
                },
                "unsecure": {
                  "color": "dark-yellow",
                  "index": 4
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgb(255, 255, 255)",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Uptime"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "auto"
              },
              {
                "id": "unit",
                "value": "s"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "1_01_NeverContactedCloud": {
                        "color": "blue",
                        "index": 1,
                        "text": "Never Contacted Cloud"
                      },
                      "2_00_Operational": {
                        "color": "green",
                        "index": 0,
                        "text": "Operational"
                      },
                      "2_02_ApplyingConfiguration": {
                        "color": "super-light-green",
                        "index": 4,
                        "text": "Applying Configuration"
                      },
                      "3_04_DisconnectedFromCloud": {
                        "color": "red",
                        "index": 2,
                        "text": "Disconnected From Cloud"
                      },
                      "4_04_HeartbeatLost": {
                        "color": "orange",
                        "index": 3,
                        "text": "Heartbeat Lost"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Last seen on "
            },
            "properties": [
              {
                "id": "unit",
                "value": "dateTimeAsLocalNoDateIfToday"
              },
              {
                "id": "custom.align",
                "value": "right"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Device Name"
            },
            "properties": [
              {
                "id": "links",
                "value": [
                  {
                    "title": "Show Device details",
                    "url": "d/MHK5JWhVk/ruckus-cloud-devices-dashboard?orgId=1&var-device=${__data.fields[\"Device Name\"]}&var-series_name=$series_name&from=now-15m&to=now"
                  }
                ]
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 18
      },
      "id": 12,
      "options": {
        "footer": {
          "fields": [
            "Serial_No"
          ],
          "reducer": [
            "distinctCount"
          ],
          "show": true
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Status"
          }
        ]
      },
      "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": [
                "Last_Seen"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Serial_No"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Venue_Name"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Uptime"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Dev_fw"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_Model"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Device_type"
              ],
              "type": "tag"
            },
            {
              "params": [
                "Severity"
              ],
              "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"
              },
              {
                "params": [
                  "Stat"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "Customer_Name",
              "operator": "=~",
              "value": "/^$tenant$/"
            }
          ]
        }
      ],
      "timeFrom": "15m",
      "title": "Device Status - $tenant",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Customer_Name": true,
              "Stat": true,
              "Status": false,
              "Time": 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": "table"
    }
  ],
  "refresh": false,
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "ruckus",
    "msp",
    "cloud"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "influxdb",
          "uid": "${DS_INFLUXDB}"
        },
        "definition": "select Customer_Name, value from $series_name WHERE time >= now() - 15m and time <= now()",
        "description": "Enter your End customer name",
        "hide": 0,
        "includeAll": false,
        "label": "End Customer (Tenants)",
        "multi": false,
        "name": "tenant",
        "options": [],
        "query": "select Customer_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 - Tenant",
  "uid": "x1d4sjWRkdsf",
  "version": 42,
  "weekStart": "",
  "gnetId": 17852
}