{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.1.8" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "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": "-- 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, "gnetId": null, "graphTooltip": 1, "id": null, "iteration": 1651153724854, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "cdot" ], "targetBlank": false, "title": "Related Dashboards", "tooltip": "", "type": "dashboards", "url": "" } ], "panels": [ { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 15, "panels": [], "title": "Highlights", "type": "row" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "color": "semi-dark-purple", "text": "0" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-purple", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 0, "y": 1 }, "id": 18, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "expr": "count (count by (relationship_id) (snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"}))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "SnapMirrors", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "color": "light-purple", "text": "0" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "light-purple", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 4, "y": 1 }, "id": 20, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "expr": "count (count by (relationship_id) (snapmirror_labels{source_cluster=~\"$SourceCluster\",group_type=\"none\",relationship_id!=\"\"}))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Volume Protection", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "color": "light-purple", "text": "0" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "light-purple", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 8, "y": 1 }, "id": 19, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "expr": "count (count by (relationship_id) (snapmirror_labels{source_cluster=~\"$SourceCluster\",group_type=\"vserver\",relationship_id!=\"\"}))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "SVM Protection (DR)", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "color": "light-purple", "text": "0" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "light-purple", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 12, "y": 1 }, "id": 22, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "expr": "count (count by (relationship_id) (snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_status=\"insync\",relationship_id!=\"\"}))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Insync now", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "color": "rgb(222, 113, 139)", "text": "0" } }, "type": "special" } ], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(222, 113, 139)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 16, "y": 1 }, "id": 21, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "expr": "count (count by (relationship_id) (snapmirror_labels{source_cluster=~\"$SourceCluster\",healthy=\"false\",relationship_id!=\"\"}))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Unhealthy", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "light-purple", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "relationship_status" }, "properties": [ { "id": "custom.width", "value": 158 } ] }, { "matcher": { "id": "byName", "options": "relationship_id" }, "properties": [ { "id": "custom.width", "value": 338 } ] }, { "matcher": { "id": "byName", "options": "Size" }, "properties": [ { "id": "custom.displayMode", "value": "lcd-gauge" }, { "id": "unit", "value": "decbytes" }, { "id": "mappings", "value": [ { "options": { "match": "null", "result": { "text": "0" } }, "type": "special" } ] }, { "id": "custom.width", "value": 240 } ] }, { "matcher": { "id": "byName", "options": "Duration" }, "properties": [ { "id": "custom.displayMode", "value": "lcd-gauge" }, { "id": "unit", "value": "s" }, { "id": "mappings", "value": [ { "options": { "match": "null", "result": { "text": "0" } }, "type": "special" } ] } ] }, { "matcher": { "id": "byName", "options": "Lag" }, "properties": [ { "id": "unit", "value": "s" }, { "id": "custom.displayMode", "value": "lcd-gauge" }, { "id": "mappings", "value": [ { "options": { "match": "null", "result": { "text": "0" } }, "type": "special" } ] } ] }, { "matcher": { "id": "byName", "options": "Dest Node" }, "properties": [ { "id": "custom.width", "value": 140 } ] }, { "matcher": { "id": "byName", "options": "Dest Volume" }, "properties": [ { "id": "custom.width", "value": 241 } ] }, { "matcher": { "id": "byName", "options": "Source Volume" }, "properties": [ { "id": "custom.width", "value": 193 } ] }, { "matcher": { "id": "byName", "options": "Type" }, "properties": [ { "id": "custom.width", "value": 213 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "custom.width", "value": 83 } ] }, { "matcher": { "id": "byName", "options": "Health" }, "properties": [ { "id": "custom.width", "value": 88 } ] }, { "matcher": { "id": "byName", "options": "Transfer" }, "properties": [ { "id": "custom.width", "value": 95 } ] }, { "matcher": { "id": "byName", "options": "Health" }, "properties": [ { "id": "mappings", "value": [ { "options": { "0": { "text": "OK" }, "1": { "text": "Unhealthy" } }, "type": "value" } ] }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgb(48, 176, 31)", "value": null }, { "color": "rgb(219, 8, 58)", "value": 1 } ] } }, { "id": "custom.displayMode", "value": "color-text" } ] }, { "matcher": { "id": "byName", "options": "Error" }, "properties": [ { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgb(219, 8, 58)", "value": null } ] } }, { "id": "custom.displayMode", "value": "color-text" }, { "id": "custom.width", "value": 147 } ] }, { "matcher": { "id": "byName", "options": "Group" }, "properties": [ { "id": "custom.width", "value": 80 } ] }, { "matcher": { "id": "byName", "options": "Last Transfer" }, "properties": [ { "id": "custom.width", "value": 119 } ] }, { "matcher": { "id": "byName", "options": "ID" }, "properties": [ { "id": "custom.width", "value": 66 } ] }, { "matcher": { "id": "byName", "options": "Relationship ID" }, "properties": [ { "id": "custom.width", "value": 34 } ] }, { "matcher": { "id": "byName", "options": "Source SVM" }, "properties": [ { "id": "custom.width", "value": 223 } ] }, { "matcher": { "id": "byName", "options": "Destination SVM" }, "properties": [ { "id": "custom.width", "value": 172 } ] }, { "matcher": { "id": "byName", "options": "Destination Volume" }, "properties": [ { "id": "custom.width", "value": 227 } ] }, { "matcher": { "id": "byName", "options": "Destination Cluster" }, "properties": [ { "id": "custom.width", "value": 200 } ] }, { "matcher": { "id": "byName", "options": "Source Cluster" }, "properties": [ { "id": "custom.width", "value": 200 } ] } ] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 5 }, "id": 28, "links": [], "options": { "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Size" } ] }, "pluginVersion": "8.1.8", "targets": [ { "expr": "avg (snapmirror_last_transfer_duration{source_cluster=~\"$SourceCluster\"}) by (relationship_id)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "C" }, { "expr": "avg(snapmirror_last_transfer_size{source_cluster=~\"$SourceCluster\"}) by (relationship_id)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "expr": "snapmirror_lag_time{source_cluster=~\"$SourceCluster\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "B" } ], "timeFrom": null, "timeShift": null, "title": "Last Transfers", "transformations": [ { "id": "merge", "options": {} }, { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "cluster": false, "datacenter": true, "destination_node": true, "destination_node_limit": true, "destination_volume": false, "destination_vserver": false, "healthy": false, "instance": true, "job": true, "last_transfer_type": false, "relationship_id": true, "relationship_type": true, "schedule": true, "source_node": true, "source_node_limit": true, "source_volume": false, "source_vserver": false }, "indexByName": { "Time": 1, "__name__": 2, "source_cluster": 3, "cluster": 4, "datacenter": 5, "destination_node": 6, "destination_volume": 8, "destination_vserver": 7, "instance": 11, "job": 12, "relationship_id": 0, "source_volume": 10, "source_vserver": 9 }, "renameByName": { "Value #A": "Size", "Value #B": "Lag", "Value #C": "Duration", "destination_node": "Destination Node", "destination_node_limit": "", "destination_volume": "Destination Volume", "destination_vserver": "Destination SVM", "group_type": "Group", "healthy": "Health", "last_transfer_type": "Last Transfer", "relationship_id": "ID", "relationship_status": "Status", "relationship_type": "Type", "source_node": "Source Node", "source_volume": "Source Volume", "source_vserver": "Source SVM", "unhealthy_reason": "Error", "source_cluster": "Source Cluster", "cluster": "Destination Cluster" } } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "Destination SVM", "Destination Volume", "Source SVM", "Source Volume", "Group", "Status", "Health", "Error", "Last Transfer", "Size", "Duration", "Lag", "ID", "Source Cluster", "Destination Cluster" ] } } } ], "type": "table" }, { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 15 }, "id": 5, "panels": [], "title": "SnapMirrors per Node", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 0, "y": 16 }, "id": 6, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "count by (destination_node, relationship_status) (snapmirror_labels{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\",relationship_id!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - {{relationship_status}}", "refCount": 0, "refId": "B", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Destination Relationships per Node", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 6, "y": 16 }, "id": 31, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (destination_node) (snapmirror_break_failed_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (destination_node) (snapmirror_break_successful_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "instant": false, "interval": "", "legendFormat": "{{destination_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Destination - Break Operations", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 12, "y": 16 }, "id": 32, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (destination_node) (snapmirror_resync_failed_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (destination_node) (snapmirror_resync_successful_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Destination - Resync Operations", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 18, "y": 16 }, "id": 33, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (destination_node) (snapmirror_update_failed_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (destination_node) (snapmirror_update_successful_count{source_cluster=~\"$SourceCluster\",destination_node=~\"$DestinationNode\",destination_node!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Destination - Update Operations", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 0, "y": 25 }, "id": 11, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "count by (source_node, relationship_status) (snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - {{relationship_status}}", "refCount": 0, "refId": "B", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Source Relationships per Node", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 6, "y": 25 }, "id": 34, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (source_node) (snapmirror_break_failed_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (source_node) (snapmirror_break_successful_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Source - Break Operations", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 12, "y": 25 }, "id": 35, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (source_node) (snapmirror_resync_failed_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (source_node) (snapmirror_resync_successful_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Source - Resync Operations", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 6, "x": 18, "y": 25 }, "id": 36, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "sum by (source_node) (snapmirror_update_failed_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - FAIL", "refCount": 0, "refId": "B", "textEditor": false }, { "expr": "sum by (source_node) (snapmirror_update_successful_count{source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node=~\"$SourceNode\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ", "hide": false, "interval": "", "legendFormat": "{{source_node}} - SUCCESS", "refCount": 0, "refId": "A", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Source - Update Operations", "type": "timeseries" }, { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 34 }, "id": 8, "panels": [], "title": "SnapMirrors per SVM", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 35 }, "id": 9, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "count by (source_vserver, relationship_status) (snapmirror_labels{source_cluster=~\"$SourceCluster\",source_vserver=~\"$SourceSVM\",source_vserver!=\"\",relationship_id!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{source_vserver}} - {{relationship_status}}", "refCount": 0, "refId": "B", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Source Relationships per SVM", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 35 }, "id": 10, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "repeatDirection": "h", "targets": [ { "expr": "count by (destination_vserver, relationship_status) (snapmirror_labels{source_cluster=~\"$SourceCluster\",destination_vserver=~\"$DestinationSVM\",destination_vserver!=\"\",relationship_id!=\"\"})", "hide": false, "interval": "", "legendFormat": "{{destination_vserver}} - {{relationship_status}}", "refCount": 0, "refId": "B", "textEditor": false } ], "timeFrom": null, "timeShift": null, "title": "Destination Relationships per SVM", "type": "timeseries" }, { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 44 }, "id": 45, "panels": [], "title": "SnapMirror Data Protection Overview per Cluster", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "description": "Volumes Protected With Snapmirror (Local And Remote)", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [] }, "overrides": [ { "matcher": { "id": "byName", "options": "Volume Snapmirror" }, "properties": [ { "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Unprotected" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 12, "w": 4, "x": 0, "y": 45 }, "id": 101, "options": { "legend": { "displayMode": "hidden", "placement": "right", "values": [ "value" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=~\"volume.*|cg.*\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) unless on (source_volume,source_vserver,source_cluster) snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} ) or vector (0)", "instant": true, "interval": "", "legendFormat": "Volume Snapmirror", "refId": "A", "format": "time_series" }, { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) unless on (source_volume,source_vserver,source_cluster) snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"volume\"} ) or vector (0)", "hide": false, "instant": true, "interval": "", "legendFormat": "Storage VM Snapmirror", "refId": "B", "format": "time_series" }, { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster) (snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"volume\"}) * on(source_volume,source_vserver,source_cluster) group_left() group by (source_volume,source_vserver,source_cluster) (snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} )) or vector (0)", "hide": false, "interval": "", "legendFormat": "Volume and Storage VM Snapmirror", "refId": "C", "format": "time_series" }, { "exemplar": true, "expr": "count(volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"} unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"source_volume\", \"(.*)\") , \"svm\", \"$1\", \"source_vserver\", \"(.*)\") unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"destination_volume\", \"(.*)\") , \"svm\", \"$1\", \"destination_vserver\", \"(.*)\") ) or vector (0)", "hide": false, "interval": "", "legendFormat": "Unprotected", "refId": "D", "format": "time_series" } ], "title": "Protected By Status", "transformations": [], "type": "piechart" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 4, "y": 45 }, "id": 120, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=~\"volume.*|cg.*\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) unless on (source_volume,source_vserver,source_cluster) snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} ) or vector (0)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Volume Snapmirror", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 8, "y": 45 }, "id": 122, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster) (snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"volume\"}) * on(source_volume,source_vserver,source_cluster) group_left() group by (source_volume,source_vserver,source_cluster) (snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} )) or vector (0)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Volume & Storage VM Snapmirror", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "Volume Relationships Experiencing Lag", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [] }, "overrides": [ { "matcher": { "id": "byName", "options": "Volume Snapmirror" }, "properties": [ { "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Unprotected" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 12, "w": 4, "x": 12, "y": 45 }, "id": 125, "options": { "legend": { "displayMode": "hidden", "placement": "right", "values": [ "value" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((1 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 900))", "instant": true, "interval": "", "legendFormat": "<=15 minutes", "refId": "A" }, { "exemplar": true, "expr": "count((900 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 1800))", "hide": false, "instant": true, "interval": "", "legendFormat": "16-30 minutes", "refId": "B" }, { "exemplar": true, "expr": "count((1800 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 3600))", "hide": false, "instant": true, "interval": "", "legendFormat": "31-60 minutes", "refId": "C" }, { "exemplar": true, "expr": "count((snapmirror_lag_time{ source_cluster=~\"$SourceCluster\",source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003e 3600))", "hide": false, "instant": true, "interval": "", "legendFormat": ">= 60 minutes", "refId": "D" } ], "title": "Lag Status", "transformations": [], "type": "piechart" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 16, "y": 45 }, "id": 116, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((1 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 900))", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "<=15 minutes", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 20, "y": 45 }, "id": 117, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((900 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 1800))", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "16-30 minutes", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-purple", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 4, "y": 51 }, "id": 121, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"storage_vm\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) unless on (source_volume,source_vserver,source_cluster) snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=\"volume\"} ) or vector (0)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Storage VM Snapmirror", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "color": "rgb(21, 118, 171)", "text": "0" } }, "type": "special" } ], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-yellow", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 8, "y": 51 }, "id": 124, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"} unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"source_volume\", \"(.*)\") , \"svm\", \"$1\", \"source_vserver\", \"(.*)\") unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"destination_volume\", \"(.*)\") , \"svm\", \"$1\", \"destination_vserver\", \"(.*)\") ) or vector (0)", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Unprotected", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 16, "y": 51 }, "id": 118, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((1800 \u003c snapmirror_lag_time{source_cluster=~\"$SourceCluster\", source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003c= 3600))", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "31-60 minutes", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 20, "y": 51 }, "id": 119, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((snapmirror_lag_time{ source_cluster=~\"$SourceCluster\",source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003e 3600))", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": ">60 minutes", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "fixedColor": "transparent", "mode": "fixed" }, "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Protected By" }, "properties": [ { "id": "custom.filterable", "value": true }, { "id": "custom.width", "value": 150 }, { "id": "displayName", "value": "Protected By" }, { "id": "mappings", "value": [ { "options": { "cg": { "index": 2, "text": "CG" }, "storage_vm": { "index": 0, "text": "SVM DR" }, "volume": { "index": 1, "text": "SnapMirror" } }, "type": "value" } ] } ] }, { "matcher": { "id": "byName", "options": "Local/Remote" }, "properties": [ { "id": "mappings", "value": [ { "options": { "true": { "index": 0, "text": "Local" } }, "type": "value" }, { "options": { "match": "empty", "result": { "index": 1, "text": "Remote" } }, "type": "special" } ] }, { "id": "custom.filterable", "value": true }, { "id": "custom.width", "value": 130 } ] } ] }, "gridPos": { "h": 13, "w": 12, "x": 0, "y": 57 }, "id": 126, "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": false, "expr": "snapmirror_labels{source_cluster=~\"$SourceCluster\",protectedBy=~\"volume.*|cg.*|storage_vm.*\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "SnapMirror (local and remote) Protected by", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "destination_volume", "local", "protectedBy", "source_volume" ] } } }, { "id": "organize", "options": { "excludeByName": { "cluster": true, "destination_vserver": true, "protectedBy": false, "source_cluster": true, "source_vserver": true }, "indexByName": { "destination_volume": 1, "protectedBy": 2, "source_volume": 0 }, "renameByName": { "destination_volume": "Destination Volume", "protectedBy": "Protected By", "source_volume": "Source Volume", "local": "Local/Remote" } } } ], "type": "table" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "fixedColor": "transparent", "mode": "fixed" }, "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Lag Duration Bucket" }, "properties": [ { "id": "custom.filterable", "value": true }, { "id": "mappings", "value": [ { "options": { "from": 1, "result": { "index": 0, "text": "<= 15 Minutes" }, "to": 900 }, "type": "range" }, { "options": { "from": 901, "result": { "index": 1, "text": "16-30 Minutes" }, "to": 1800 }, "type": "range" }, { "options": { "from": 1801, "result": { "index": 2, "text": "31-60 Minutes" }, "to": 3600 }, "type": "range" }, { "options": { "from": 3600, "result": { "index": 3, "text": ">60 Minutes" }, "to": 1e+24 }, "type": "range" } ] }, { "id": "custom.width", "value": 190 } ] }, { "matcher": { "id": "byName", "options": "Source Volume" }, "properties": [ { "id": "displayName", "value": "Source Volume" }, { "id": "custom.width", "value": 270 } ] }, { "matcher": { "id": "byName", "options": "Destination Volume" }, "properties": [ { "id": "displayName", "value": "Destination Volume" }, { "id": "custom.width", "value": 300 } ] }, { "matcher": { "id": "byName", "options": "Lag Duration (seconds)" }, "properties": [ { "id": "custom.width", "value": 180 }, { "id": "unit", "value": "s" } ] } ] }, "gridPos": { "h": 13, "w": 12, "x": 12, "y": 57 }, "id": 127, "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": false, "expr": "snapmirror_lag_time{ source_cluster=~\"$SourceCluster\",source_volume!=\"\"} * on (source_volume, source_vserver, cluster) group_left() label_replace( label_replace(volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\") \u003e 0", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Volume Relationships Experiencing Lag", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "destination_volume", "source_volume", "Value" ] } } }, { "id": "organize", "options": { "excludeByName": { }, "indexByName": { "Value": 4, "destination_volume": 2, "destination_vserver": 3, "source_volume": 0, "source_vserver": 1 }, "renameByName": { "Value": "Lag Duration (seconds)", "destination_volume": "Destination Volume", "destination_vserver": "Destination SVM", "source_volume": "Source Volume", "source_vserver": "Source SVM", "volume": "" } } }, { "id": "calculateField", "options": { "alias": "Lag Duration Bucket", "mode": "reduceRow", "reduce": { "include": [ "Lag Duration (seconds)" ], "reducer": "last" }, "replaceFields": false } } ], "type": "table" }, { "id": 133, "gridPos": { "h": 13, "w": 12, "x": 0, "y": 70 }, "type": "table", "title": "Unprotected Volumes", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "cluster", "svm", "volume" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "cluster": 2, "svm": 1, "volume": 0 }, "renameByName": { "cluster": "Cluster", "svm": "SVM", "volume": "Volume" } } } ], "pluginVersion": "8.4.3", "description": "", "fieldConfig": { "defaults": { "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "color": { "fixedColor": "transparent", "mode": "fixed" } }, "overrides": [] }, "options": { "showHeader": true, "footer": { "show": false, "reducer": [ "sum" ], "fields": "" }, "sortBy": [] }, "targets": [ { "expr": "volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\",snapshot_policy!=\"\"} unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"source_volume\", \"(.*)\") , \"svm\", \"$1\", \"source_vserver\", \"(.*)\") unless on (volume,svm) label_replace( label_replace( snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} , \"volume\", \"$1\", \"destination_volume\", \"(.*)\") , \"svm\", \"$1\", \"destination_vserver\", \"(.*)\") ", "legendFormat": "", "interval": "", "exemplar": false, "format": "table", "hide": false, "instant": true, "refId": "A" } ], "datasource": "${DS_PROMETHEUS}" }, { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 83 }, "id": 42, "panels": [], "title": "SnapMirror Data Protection Analysis per Cluster", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [] }, "overrides": [] }, "gridPos": { "h": 12, "w": 5, "x": 0, "y": 84 }, "id": 128, "options": { "legend": { "displayMode": "hidden", "placement": "right", "values": [ "value" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\", derived_relationship_type=\"extended_data_protection\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "instant": true, "interval": "", "legendFormat": "Asynchronous Mirror", "refId": "A" }, { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\", derived_relationship_type=\"mirror_vault\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "hide": false, "instant": true, "interval": "", "legendFormat": "Asynchronous Mirror and Vault", "refId": "B" }, { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\", derived_relationship_type=\"vault\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "hide": false, "instant": true, "interval": "", "legendFormat": "Asynchronous Vault", "refId": "C" }, { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\", derived_relationship_type=\"sync_mirror_strict\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "hide": false, "instant": true, "interval": "", "legendFormat": "StrictSync", "refId": "D" }, { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\", derived_relationship_type=\"sync_mirror\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "hide": false, "instant": true, "interval": "", "legendFormat": "Sync", "refId": "E" } ], "title": "Volume relationship count by relationship type", "transformations": [], "type": "piechart" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 5, "y": 84 }, "id": 109, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\",derived_relationship_type=\"extended_data_protection\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Asynchronous Mirror", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 8, "y": 84 }, "id": 110, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\",derived_relationship_type=\"mirror_vault\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Asynchronous Mirror and Vault", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 11, "y": 84 }, "id": 111, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\",derived_relationship_type=\"vault\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Asynchronous Vault", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "decimals": 0, "mappings": [] }, "overrides": [ { "matcher": { "id": "byName", "options": "Healthy" }, "properties": [ { "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "Unhealthy" }, "properties": [ { "id": "color", "value": { "fixedColor": "dark-yellow", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 12, "w": 5, "x": 14, "y": 84 }, "id": 130, "options": { "legend": { "displayMode": "hidden", "placement": "right", "values": [ "value" ] }, "pieType": "donut", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count((snapmirror_labels{source_cluster=~\"$SourceCluster\", healthy=\"true\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\", type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )) or vector (0)", "instant": true, "interval": "", "legendFormat": "Healthy", "refId": "A", "format": "time_series" }, { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\", healthy=\"false\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\", type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ) or vector (0)", "hide": false, "instant": true, "interval": "", "legendFormat": "Unhealthy", "refId": "B", "format": "time_series" } ], "title": "Volume relationship count by relationship health", "type": "piechart" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-green", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 5, "x": 19, "y": 84 }, "id": 114, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "expr": "count((snapmirror_labels{source_cluster=~\"$SourceCluster\",healthy=\"true\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\", type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )) or vector (0)", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "Healthy", "refId": "A", "format": "time_series" } ], "timeFrom": null, "timeShift": null, "title": "Healthy", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 5, "y": 90 }, "id": 113, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\",derived_relationship_type=\"sync_mirror_strict\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "StrictSync", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(31, 176, 196)", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 8, "y": 90 }, "id": 112, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(snapmirror_labels{source_cluster=~\"$SourceCluster\",derived_relationship_type=\"sync_mirror\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") )", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Sync", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-yellow", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 6, "w": 5, "x": 19, "y": 90 }, "id": 115, "links": [], "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": true, "expr": "count(group by (source_volume,source_vserver,source_cluster)(snapmirror_labels{source_cluster=~\"$SourceCluster\", healthy=\"false\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\", type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ) or vector (0)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Unhealthy", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "fixedColor": "transparent", "mode": "fixed" }, "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "source_volume" }, "properties": [ { "id": "displayName", "value": "Source Volume" }, { "id": "custom.width", "value": 410 } ] }, { "matcher": { "id": "byName", "options": "derived_relationship_type" }, "properties": [ { "id": "custom.filterable", "value": true }, { "id": "custom.width", "value": 300 }, { "id": "displayName", "value": "Protection Policy" }, { "id": "mappings", "value": [ { "options": { "extended_data_protection": { "index": 2, "text": "Asynchronous Mirror" }, "mirror_vault": { "index": 0, "text": "Asynchronous Mirror and Vault" }, "sync_mirror": { "index": 1, "text": "Sync" }, "sync_mirror_strict": { "index": 4, "text": "StrictSync" }, "vault": { "index": 3, "text": "Asynchronous Vault" } }, "type": "value" } ] } ] }, { "matcher": { "id": "byName", "options": "destination_volume" }, "properties": [ { "id": "custom.width", "value": 410 }, { "id": "displayName", "value": "Destination Volume" } ] } ] }, "gridPos": { "h": 14, "w": 14, "x": 0, "y": 96 }, "id": 129, "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": false, "expr": "snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\",type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Volume relationship count by relationship type", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "derived_relationship_type", "destination_volume", "source_volume" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "derived_relationship_type": 5, "destination_volume": 2, "destination_vserver": 3, "policy_type": 4, "source_volume": 0, "source_vserver": 1 }, "renameByName": { "derived_relationship_type": "" } } } ], "type": "table" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "fixedColor": "transparent", "mode": "fixed" }, "custom": { "align": "left", "displayMode": "auto", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Healthy Status" }, "properties": [ { "id": "custom.filterable", "value": true }, { "id": "custom.width", "value": 160 }, { "id": "mappings", "value": [ { "options": { "false": { "index": 1, "text": "Unhealthy" }, "true": { "index": 0, "text": "Healthy" } }, "type": "value" } ] } ] }, { "matcher": { "id": "byName", "options": "Source Volume" }, "properties": [ { "id": "custom.width", "value": 310 } ] }, { "matcher": { "id": "byName", "options": "Destination Volume" }, "properties": [ { "id": "custom.width", "value": 310 } ] } ] }, "gridPos": { "h": 14, "w": 10, "x": 14, "y": 96 }, "id": 131, "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "8.1.2", "targets": [ { "exemplar": false, "expr": "snapmirror_labels{source_cluster=~\"$SourceCluster\",relationship_id!=\"\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{datacenter=~\"$Datacenter\", cluster=~\"$SourceCluster\",volume!~\"MDV.*\", type=\"rw\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Volume relationship count by relationship health", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "destination_volume", "source_volume", "healthy" ] } } }, { "id": "organize", "options": { "excludeByName": { }, "indexByName": { "destination_volume": 1, "source_volume": 0 }, "renameByName": { "destination_volume": "Destination Volume", "healthy": "Healthy Status", "source_volume": "Source Volume" } } } ], "type": "table" } ], "refresh": "1m", "schemaVersion": 30, "style": "dark", "tags": [ "harvest", "ontap", "cdot" ], "templating": { "list": [ { "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" }, "description": null, "error": null, "hide": 2, "includeAll": false, "label": "Data Source", "multi": false, "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(snapmirror_labels{system_type!=\"7mode\"},datacenter)", "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": true, "name": "Datacenter", "options": [], "query": { "query": "label_values(snapmirror_labels{system_type!=\"7mode\"},datacenter)", "refId": "Prometheus-Datacenter-Variable-Query" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "query_result(snapmirror_labels{system_type!=\"7mode\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\"))", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "SourceCluster", "options": [], "query": { "query": "query_result(snapmirror_labels{system_type!=\"7mode\"} * on (source_volume, source_vserver, source_cluster) group_left() label_replace( label_replace( label_replace( volume_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_cluster\", \"$1\", \"cluster\", \"(.*)\"))", "refId": "Prometheus-Cluster-Variable-Query" }, "refresh": 1, "regex": ".*source_cluster=\\\"(.*?)\\\".*", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(snapmirror_labels{system_type!=\"7mode\", source_cluster=~\"$SourceCluster\"}, destination_node)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "DestinationNode", "options": [], "query": { "query": "label_values(snapmirror_labels{system_type!=\"7mode\", source_cluster=~\"$SourceCluster\"}, destination_node)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "query_result((snapmirror_labels{system_type!=\"7mode\",source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ) \n\n\n", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "SourceNode", "options": [], "query": { "query": "query_result((snapmirror_labels{system_type!=\"7mode\",source_cluster=~\"$SourceCluster\"} * on (source_volume, source_vserver, source_cluster) group_left(source_node) label_replace( label_replace( label_replace( label_replace (volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$SourceCluster\",node!=\"\"}, \"source_volume\", \"$1\", \"volume\", \"(.*)\") , \"source_vserver\", \"$1\", \"svm\", \"(.*)\"), \"source_node\", \"$1\", \"node\", \"(.*)\") , \"source_cluster\", \"$1\", \"cluster\", \"(.*)\") ) ) \n\n\n", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": ".*source_node=\\\"(.*?)\\\".*", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(snapmirror_labels{source_cluster=~\"$SourceCluster\"}, destination_vserver)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "DestinationSVM", "options": [], "query": { "query": "label_values(snapmirror_labels{source_cluster=~\"$SourceCluster\"}, destination_vserver)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(snapmirror_labels{source_cluster=~\"$SourceCluster\"}, source_vserver)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "SourceSVM", "options": [], "query": { "query": "label_values(snapmirror_labels{source_cluster=~\"$SourceCluster\"}, source_vserver)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-3h", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "ONTAP: SnapMirror", "uid": "", "version": 4 }