From 30eb343c0b33d7bfb1a5d60db7cf72426527abe1 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Wed, 5 Apr 2023 22:59:48 -0400 Subject: [PATCH] Create encryptionpervm.json --- .../dashboards/encryptionpervm.json | 224 ++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 grafana/provisioning/dashboards/encryptionpervm.json diff --git a/grafana/provisioning/dashboards/encryptionpervm.json b/grafana/provisioning/dashboards/encryptionpervm.json new file mode 100644 index 0000000..2a81a15 --- /dev/null +++ b/grafana/provisioning/dashboards/encryptionpervm.json @@ -0,0 +1,224 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "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": "", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 8, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "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": [] + }, + "gridPos": { + "h": 25, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "builder", + "expr": "vm_TotalDataInLBs{VmName=\"$VMName\", SiteName=\"$SiteName\"}", + "interval": "", + "legendFormat": "Total Blocks", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "builder", + "expr": "vm_UnencryptedDataInLBs{VmName=\"$VMName\", SiteName=\"$SiteName\"}", + "hide": false, + "interval": "", + "legendFormat": "Unencrypted Blocks", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "builder", + "expr": "vm_EncryptedDataInLBs{VmName=\"$VMName\", SiteName=\"$SiteName\"}", + "hide": false, + "legendFormat": "Encrypted Blocks", + "range": true, + "refId": "C" + } + ], + "title": "Sum of All VMs - Overlayed Stats", + "type": "timeseries" + } + ], + "refresh": "", + "revision": 1, + "schemaVersion": 38, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "General Utils/rdp licence", + "value": "General Utils/rdp licence" + }, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "definition": "query_result(vm_EncryptedDataInLBs{})", + "hide": 0, + "includeAll": false, + "label": "VM Name", + "multi": false, + "name": "VMName", + "options": [], + "query": { + "query": "query_result(vm_EncryptedDataInLBs{})", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/.*VmName=\"([^\"]+)\".*/", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": true, + "text": "Sunrise Main", + "value": "Sunrise Main" + }, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "definition": "query_result(vm_actualrpo{})", + "hide": 0, + "includeAll": false, + "label": "Site Name", + "multi": false, + "name": "SiteName", + "options": [], + "query": { + "query": "query_result(vm_actualrpo{})", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/.*SiteName=\"([^\"]+)\".*/", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-7d", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Encryption per VM", + "uid": "oLVf6cY4z", + "version": 5, + "weekStart": "" +}