{ "dashboard": { "__inputs": [{ "name": "DS_EUCMONITORING", "label": "EUCMonitoring", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" }], "__requires": [{ "type": "panel", "id": "btplc-status-dot-panel", "name": "Status Dot", "version": "0.2.3" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "5.2.1" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "5.0.0" }, { "type": "panel", "id": "singlestat", "name": "Singlestat", "version": "5.0.0" } ], "annotations": { "list": [{ "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations \u0026 Alerts", "type": "dashboard" }] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "links": [ ], "panels": [{ "datasource": "${DS_EUCMONITORING}", "decimals": 2, "defaultColor": "#e24d42", "format": "none", "gridPos": { "h": 3, "w": 13, "x": 0, "y": 0 }, "id": 17, "linkIndex": "0", "linkVars": [ ], "links": [ ], "mathColorValue": "data[end]", "mathDisplayValue": "data[end]", "mathScratchPad": "data = size(data)[1] == 0 ? [NaN] : data", "radius": "45px", "targets": [{ "groupBy": [{ "params": [ "$__interval" ], "type": "time" }, { "params": [ "Server" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "Xenserver", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [{ "params": [ "State" ], "type": "field" }, { "params": [ ], "type": "mean" } ] ], "tags": [ ] }], "thresholds": [{ "color": "#e5ac0e", "value": "1" }, { "color": "#508642", "value": "2" } ], "title": "Overall State", "type": "btplc-status-dot-panel" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": true, "colors": [ "#e24d42", "#e5ac0e", "#508642" ], "datasource": "${DS_EUCMONITORING}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 5, "x": 0, "y": 3 }, "id": 2, "interval": null, "links": [ ], "mappingType": 2, "mappingTypes": [{ "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [{ "from": "0", "text": "DOWN", "to": "0.01" }, { "from": "0.02", "text": "DEGRADED", "to": "0.99" }, { "from": "1", "text": "UP", "to": "1.2" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [{ "groupBy": [{ "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "Xenserver", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [{ "params": [ "Port80" ], "type": "field" }, { "params": [ ], "type": "mean" } ] ], "tags": [ ] }], "thresholds": ".01,1", "title": "Port 80", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [{ "op": "=", "text": "0.01", "value": "0" }], "valueName": "avg" }, { "datasource": "${DS_EUCMONITORING}", "decimals": 2, "defaultColor": "#e24d42", "format": "none", "gridPos": { "h": 2, "w": 8, "x": 5, "y": 3 }, "id": 6, "linkIndex": "0", "linkVars": [ ], "links": [ ], "mathColorValue": "data[end]", "mathDisplayValue": "data[end]", "mathScratchPad": "data = size(data)[1] == 0 ? Nan : data", "radius": "20px", "targets": [{ "alias": "[[tag_Server]] [[col]]", "groupBy": [{ "params": [ "$__interval" ], "type": "time" }, { "params": [ "Server" ], "type": "tag" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "Xenserver", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [{ "params": [ "Port80" ], "type": "field" }, { "params": [ ], "type": "last" }, { "params": [ "Port 389" ], "type": "alias" } ] ], "tags": [ ] }], "thresholds": [{ "color": "#508642", "value": "1" }], "title": "Port 80", "type": "btplc-status-dot-panel" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": true, "colors": [ "#d44a3a", "rgba(237, 129, 40, 0.89)", "#299c46" ], "datasource": "${DS_EUCMONITORING}", "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 2, "w": 5, "x": 0, "y": 5 }, "id": 7, "interval": null, "links": [ ], "mappingType": 2, "mappingTypes": [{ "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [{ "from": "0", "text": "DOWN", "to": "0.01" }, { "from": "0.02", "text": "DEGRADED", "to": "0.99" }, { "from": "1", "text": "UP", "to": "1.2" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [{ "groupBy": [{ "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "Xenserver", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [{ "params": [ "XenServer" ], "type": "field" }, { "params": [ ], "type": "mean" } ] ], "tags": [ ] }], "thresholds": ".01,1", "title": "Xenserver Check", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [{ "op": "=", "text": "0.01", "value": "0" }], "valueName": "avg" }, { "datasource": "${DS_EUCMONITORING}", "decimals": 2, "defaultColor": "#e24d42", "format": "none", "gridPos": { "h": 2, "w": 8, "x": 5, "y": 5 }, "id": 9, "linkIndex": "0", "linkVars": [ ], "links": [ ], "mathColorValue": "data[end]", "mathDisplayValue": "data[end]", "mathScratchPad": "data = size(data)[1] == 0 ? [NaN] : data", "radius": "20px", "targets": [{ "alias": "[[tag_Server]]", "groupBy": [{ "params": [ "$__interval" ], "type": "time" }, { "params": [ "Server" ], "type": "tag" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "Xenserver", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [{ "params": [ "XenServer" ], "type": "field" }, { "params": [ ], "type": "last" } ] ], "tags": [ ] }], "thresholds": [{ "color": "#508642", "value": "1" }], "title": "XenServer Check", "type": "btplc-status-dot-panel" } ], "schemaVersion": 16, "style": "dark", "tags": [ ], "templating": { "list": [ ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "XenServer Details", "uid": "zJtdqaHmg", "version": 2 }, "folderID": 0, "inputs": [{ "name": "DS_EUCMONITORING", "type": "datasource", "pluginId": "influxdb", "value": "EUCMonitoring" }] }