diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e72c3..f713b95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). -## 0.3.5 (not release) / 2024-01-14 +## 0.3.5 / 2024-02-11 - fix panic when var is not found for metric -- fix target parsing when exporter is use in proxy mode: allow formats +- fix target parsing when exporter is used in proxy mode: allow formats - target=host.domain : use default scheme and default port - target=host.domain:port : use default scheme - add status value for collector_status metric : diff --git a/contribs/hp3par/dashboards/HP3PAR System.json b/contribs/hp3par/dashboards/HP3PAR System.json index 5c0482b..7947747 100644 --- a/contribs/hp3par/dashboards/HP3PAR System.json +++ b/contribs/hp3par/dashboards/HP3PAR System.json @@ -1003,6 +1003,7 @@ "mode": "thresholds" }, "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -1014,8 +1015,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1040,7 +1040,8 @@ "id": "custom.cellOptions", "value": { "mode": "gradient", - "type": "gauge" + "type": "gauge", + "valueDisplayMode": "color" } }, { @@ -1049,8 +1050,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "#EAB839", @@ -1066,6 +1066,10 @@ { "id": "custom.width", "value": 234 + }, + { + "id": "max", + "value": 1 } ] }, @@ -1088,8 +1092,7 @@ }, "properties": [ { - "id": "custom.width", - "value": 521 + "id": "custom.width" } ] }, @@ -1286,8 +1289,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1380,8 +1382,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1443,7 +1444,7 @@ "type": "row" }, { - "collapsed": true, + "collapsed": false, "datasource": { "type": "prometheus", "uid": "ww63Ic7Mk" @@ -1455,702 +1456,697 @@ "y": 28 }, "id": 38, - "panels": [ + "panels": [], + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "ww63Ic7Mk" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "cellOptions": { - "type": "auto" - }, - "filterable": false, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "refId": "A" + } + ], + "title": "Volumes", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "unit": "decbytes" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Used %" }, - "overrides": [ + "properties": [ { - "matcher": { - "id": "byName", - "options": "Used %" - }, - "properties": [ - { - "id": "unit", - "value": "percentunit" - }, - { - "id": "custom.cellOptions", - "value": { - "mode": "gradient", - "type": "gauge" - } - }, - { - "id": "max", - "value": 1 - } - ] + "id": "unit", + "value": "percentunit" }, { - "matcher": { - "id": "byName", - "options": "Compaction Ratio" - }, - "properties": [ - { - "id": "unit", - "value": "short" - } - ] + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "gauge" + } }, { - "matcher": { - "id": "byName", - "options": "Deduplication Ration" - }, - "properties": [ - { - "id": "unit", - "value": "short" - } - ] + "id": "max", + "value": 1 } ] }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 41 - }, - "id": 40, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false + { + "matcher": { + "id": "byName", + "options": "Compaction Ratio" }, - "showHeader": true, - "sortBy": [ + "properties": [ { - "desc": true, - "displayName": "Used %" + "id": "unit", + "value": "short" } ] }, - "pluginVersion": "9.5.15", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum by(host, name, provisionningtype) (hp3par_volume_total_bytes{host=~\"$host\"})", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum by(host, name, provisionningtype) (hp3par_volume_used_bytes{host=~\"$host\"})", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum by(host, name, provisionningtype) (hp3par_volume_used_bytes{host=~\"$host\"}) / sum by(host, name, provisionningtype) (hp3par_volume_total_bytes{host=~\"$host\"})", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum by(host, name, provisionningtype) (hp3par_volume_compaction_ratio{host=~\"$host\"})", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "sum by(host, name, provisionningtype) (hp3par_volume_deduplication_ratio{host=~\"$host\"})", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "E" - } - ], - "title": "Volumes Infos", - "transformations": [ - { - "id": "merge", - "options": {} + { + "matcher": { + "id": "byName", + "options": "Deduplication Ration" }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "host": true - }, - "indexByName": {}, - "renameByName": { - "Value #A": "Total Size", - "Value #B": "Used Size", - "Value #C": "Used %", - "Value #D": "Compaction Ratio", - "Value #E": "Deduplication Ration", - "Value #Total Size": "Total Size", - "Value #Used Percent": "Used Percent", - "Value #Used Size": "Used Size" - } + "properties": [ + { + "id": "unit", + "value": "short" } - } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 40, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "table" + "show": false }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Used %" + } + ] + }, + "pluginVersion": "9.5.15", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/read$/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "exemplar": true, + "expr": "sum by(host, name, provisionningtype) (hp3par_volume_total_bytes{host=~\"$host\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 50 + "exemplar": true, + "expr": "sum by(host, name, provisionningtype) (hp3par_volume_used_bytes{host=~\"$host\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "id": 41, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "exemplar": true, + "expr": "sum by(host, name, provisionningtype) (hp3par_volume_used_bytes{host=~\"$host\"}) / sum by(host, name, provisionningtype) (hp3par_volume_total_bytes{host=~\"$host\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "pluginVersion": "9.5.15", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "hp3par_volume_read_io_per_second{host=~\"$host\"}", - "interval": "", - "legendFormat": "{{ name }}: read", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "hp3par_volume_write_io_per_second{host=~\"$host\"}", - "hide": false, - "interval": "", - "legendFormat": "{{ name }}: write", - "refId": "B" - } - ], - "title": "Volumes IO operations by sec over 5 min", - "type": "timeseries" + "exemplar": true, + "expr": "sum by(host, name, provisionningtype) (hp3par_volume_compaction_ratio{host=~\"$host\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + "exemplar": true, + "expr": "sum by(host, name, provisionningtype) (hp3par_volume_deduplication_ratio{host=~\"$host\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + } + ], + "title": "Volumes Infos", + "transformations": [ + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "host": true + }, + "indexByName": {}, + "renameByName": { + "Value #A": "Total Size", + "Value #B": "Used Size", + "Value #C": "Used %", + "Value #D": "Compaction Ratio", + "Value #E": "Deduplication Ration", + "Value #Total Size": "Total Size", + "Value #Used Percent": "Used Percent", + "Value #Used Size": "Used Size" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "unit": "decbytes" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/read$/" }, - "overrides": [ + "properties": [ { - "matcher": { - "id": "byRegexp", - "options": "/read$/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] + "id": "custom.transform", + "value": "negative-Y" } ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 41, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 50 + "exemplar": true, + "expr": "hp3par_volume_read_io_per_second{host=~\"$host\"}", + "interval": "", + "legendFormat": "{{ name }}: read", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "id": 42, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "exemplar": true, + "expr": "hp3par_volume_write_io_per_second{host=~\"$host\"}", + "hide": false, + "interval": "", + "legendFormat": "{{ name }}: write", + "refId": "B" + } + ], + "title": "Volumes IO operations by sec over 5 min", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "multi", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.5.15", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "exemplar": true, - "expr": "hp3par_volume_read_bytes_per_second{host=~\"$host\"}", - "interval": "", - "legendFormat": "{{ name }}: read", - "refId": "A" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/read$/" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "hp3par_volume_write_bytes_per_second{host=~\"$host\"}", - "hide": false, - "interval": "", - "legendFormat": "{{ name }}: write", - "refId": "B" - } + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 42, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" ], - "title": "Volumes IO Bytes by sec over 5 min", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/read$/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "exemplar": true, + "expr": "hp3par_volume_read_bytes_per_second{host=~\"$host\"}", + "interval": "", + "legendFormat": "{{ name }}: read", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 58 + "exemplar": true, + "expr": "hp3par_volume_write_bytes_per_second{host=~\"$host\"}", + "hide": false, + "interval": "", + "legendFormat": "{{ name }}: write", + "refId": "B" + } + ], + "title": "Volumes IO Bytes by sec over 5 min", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 43, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "tooltip": { - "mode": "multi", - "sort": "none" + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.5.15", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "exemplar": true, - "expr": "hp3par_volume_read_latency_second{host=~\"$host\"}", - "interval": "", - "legendFormat": "{{ name }}: read", - "refId": "A" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/read$/" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "hp3par_volume_write_latency_second{host=~\"$host\"}", - "hide": false, - "interval": "", - "legendFormat": "{{ name }}: write", - "refId": "B" - } + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 46 + }, + "id": 43, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" ], - "title": "Volumes IO latency over 5 min", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "graph": false, - "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" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] + "exemplar": true, + "expr": "hp3par_volume_read_latency_second{host=~\"$host\"}", + "interval": "", + "legendFormat": "{{ name }}: read", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 58 + "exemplar": true, + "expr": "hp3par_volume_write_latency_second{host=~\"$host\"}", + "hide": false, + "interval": "", + "legendFormat": "{{ name }}: write", + "refId": "B" + } + ], + "title": "Volumes IO latency over 5 min", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "id": 44, - "options": { - "graph": {}, - "legend": { - "calcs": [ - "min", - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "graph": false, + "legend": false, + "tooltip": false, + "viz": false }, - "tooltip": { - "mode": "single", - "sort": "none" + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "7.5.16", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "exemplar": true, - "expr": "hp3par_volume_busy_percent{host=~\"$host\"}", - "interval": "", - "legendFormat": "{{ name }}", - "refId": "A" - } + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 46 + }, + "id": 44, + "options": { + "graph": {}, + "legend": { + "calcs": [ + "min", + "max", + "mean", + "last" ], - "title": "Volumes Busy % over 5 min", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" } - ], + }, + "pluginVersion": "7.5.16", "targets": [ { "datasource": { "type": "prometheus", - "uid": "ww63Ic7Mk" + "uid": "${DS_PROMETHEUS}" }, + "exemplar": true, + "expr": "hp3par_volume_busy_percent{host=~\"$host\"}", + "interval": "", + "legendFormat": "{{ name }}", "refId": "A" } ], - "title": "Volumes", - "type": "row" + "title": "Volumes Busy % over 5 min", + "type": "timeseries" }, { "collapsed": true, @@ -2162,7 +2158,7 @@ "h": 1, "w": 24, "x": 0, - "y": 29 + "y": 54 }, "id": 12, "panels": [ @@ -2177,6 +2173,7 @@ "mode": "thresholds" }, "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -2188,8 +2185,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2340,7 +2336,7 @@ "h": 8, "w": 24, "x": 0, - "y": 30 + "y": 67 }, "id": 14, "options": { @@ -2529,8 +2525,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2546,7 +2541,7 @@ "h": 8, "w": 12, "x": 0, - "y": 38 + "y": 75 }, "id": 16, "options": { @@ -2630,8 +2625,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2647,7 +2641,7 @@ "h": 8, "w": 12, "x": 12, - "y": 38 + "y": 75 }, "id": 17, "options": { @@ -2708,7 +2702,7 @@ "h": 1, "w": 24, "x": 0, - "y": 30 + "y": 55 }, "id": 22, "panels": [ @@ -2723,6 +2717,7 @@ "mode": "thresholds" }, "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -2734,8 +2729,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2797,8 +2791,7 @@ "mode": "absolute", "steps": [ { - "color": "orange", - "value": null + "color": "orange" }, { "color": "green", @@ -2852,8 +2845,7 @@ "mode": "absolute", "steps": [ { - "color": "rgb(130, 135, 130)", - "value": null + "color": "rgb(130, 135, 130)" }, { "color": "dark-green", @@ -2877,7 +2869,7 @@ "h": 8, "w": 24, "x": 0, - "y": 47 + "y": 68 }, "id": 24, "options": { @@ -3004,8 +2996,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3034,7 +3025,7 @@ "h": 8, "w": 12, "x": 0, - "y": 55 + "y": 76 }, "id": 26, "options": { @@ -3128,8 +3119,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3158,7 +3148,7 @@ "h": 8, "w": 12, "x": 12, - "y": 55 + "y": 76 }, "id": 27, "options": { @@ -3252,8 +3242,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3282,7 +3271,7 @@ "h": 8, "w": 12, "x": 0, - "y": 63 + "y": 84 }, "id": 28, "options": { @@ -3377,8 +3366,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3394,7 +3382,7 @@ "h": 8, "w": 12, "x": 12, - "y": 63 + "y": 84 }, "id": 30, "options": { @@ -3488,6 +3476,6 @@ "timezone": "", "title": "HP3PAR System", "uid": "fK_lN3D4z", - "version": 18, + "version": 21, "weekStart": "" } \ No newline at end of file diff --git a/contribs/hp3par/etc/hp3par/config.yml b/contribs/hp3par/etc/hp3par/config.yml index f63bd0b..f0aba6b 100644 --- a/contribs/hp3par/etc/hp3par/config.yml +++ b/contribs/hp3par/etc/hp3par/config.yml @@ -11,6 +11,7 @@ global: metric_prefix: "hp3par" # all http codes that will be consider auth is invalid and must do a Login() invalid_auth_code: [401,403] + exporter_name: hp3par_exporter httpapi_config: init: @@ -22,12 +23,13 @@ httpapi_config: - name: Accept value: "application/json" base_url: /api/v1 + port: 8080 verifySSL: false # default values for parameters that you don't want to set for each target # base_url: /api/v1 # scheme: https - # port: 8080 + # port: 443 # verifySSL: true|false # query_retry: 3 @@ -116,7 +118,6 @@ targets: - name: default scheme: https host: set_later - port: 8080 auth_name: prometheus_encrypted # auth_mode: # # mode: basic|token|[anything else:=> user defined login script] diff --git a/contribs/hp3par/etc/hp3par/metrics/capacities.collector.yml b/contribs/hp3par/etc/hp3par/metrics/capacities.collector.yml index 6d15ebf..81196e2 100644 --- a/contribs/hp3par/etc/hp3par/metrics/capacities.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/capacities.collector.yml @@ -97,10 +97,6 @@ scripts: type: _ values: _: '{{ convertToBytes .result.totalMiB "Mb" }}' # convert MiB to bytes - # when: - # - eq .item.type "SSD" - # default scope - # scope: item - metric_name: capacity_free_bytes @@ -110,9 +106,3 @@ scripts: type: _ values: _: '{{ convertToBytes .result.freeMiB "Mb" }}' # convert MiB to bytes - # results: - # # build a list of results each typed by each disk type - # - '{{ $v1 := dict "type" "FC" "result" .FCCapacity }}{{ $v2 := dict "type" "NL" "result" .NLCapacity }}{{ $v3 := dict "type" "SSD" "result" .SSDCapacity }}{{ list $v1 $v2 $v3 | toRawJson }}' - # when: - # - eq .item.type "SSD" - scope: none diff --git a/contribs/hp3par/etc/hp3par/metrics/cpgs.collector.yml b/contribs/hp3par/etc/hp3par/metrics/cpgs.collector.yml index 7151928..65c4eaa 100644 --- a/contribs/hp3par/etc/hp3par/metrics/cpgs.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/cpgs.collector.yml @@ -87,32 +87,35 @@ scripts: url: /cpgs debug: yes var_name: results - - name: collect cpgs - scope: results - metrics: - - metric_name: cpg_available_bytes - help: avail byte of cpg (/cgps .freeSpaceMiB) - type: gauge - key_labels: - name: _ - values: - _: '{{ convertToBytes .freeSpaceMiB "Mb" }}' - loop: members - - metric_name: cpg_total_bytes - help: avail byte of cpg (/cgps .totalSpaceMiB) - type: gauge - key_labels: - name: _ - values: - _: '{{ convertToBytes .totalSpaceMiB "Mb" }}' - loop: members + - name: proceed cpgs config elements + loop: $results.members + actions: + - name: build labels + set_fact: + key_labels: + name: $item.name - - metric_name: cpg_snapshot_used_bytes - help: avail byte of cpg (/cgps .privateSpaceMiB.snapshot) - type: gauge - key_labels: - name: _ - values: - _: '{{ convertToBytes .privateSpaceMiB.snapshot "Mb" }}' - loop: members + - name: collect cpgs + scope: none + metrics: + - metric_name: cpg_available_bytes + help: avail byte of cpg (/cgps .freeSpaceMiB) + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.freeSpaceMiB "Mb" }}' + + - metric_name: cpg_total_bytes + help: avail byte of cpg (/cgps .totalSpaceMiB) + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.totalSpaceMiB "Mb" }}' + + - metric_name: cpg_snapshot_used_bytes + help: avail byte of cpg (/cgps .privateSpaceMiB.snapshot) + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.privateSpaceMiB.snapshot "Mb" }}' diff --git a/contribs/hp3par/etc/hp3par/metrics/physical_disks.collector.yml b/contribs/hp3par/etc/hp3par/metrics/physical_disks.collector.yml index 86966bb..7fbd18a 100644 --- a/contribs/hp3par/etc/hp3par/metrics/physical_disks.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/physical_disks.collector.yml @@ -60,37 +60,35 @@ scripts: # debug: yes var_name: results - - name: collect physical_disk_usage - scope: results - metrics: - - metric_name: physical_disk_life_left_percent - help: Percentage of life left - type: gauge - key_labels: - id: _ - cageID: _ - cageSide: _ - magazine: mag - diskPos: _ - type: '{{ template "diskType" .type }}' - values: - _: lifeLeftPct - loop: members + - name: proceed physical_disk_usage config elements + loop: $results.members + actions: + - name: build labels + set_fact: + key_labels: + id: $item.id + cageID: $item.cageID + cageSide: $item.cageSide + magazine: $item.mag + diskPos: $item.diskPos + type: '{{ template "diskType" .item.type }}' - - metric_name: physical_disk_temperature - help: Temperature in Celsius - type: gauge - key_labels: - id: _ - cageID: _ - cageSide: _ - magazine: mag - diskPos: _ - type: '{{ template "diskType" .type }}' - values: - _: temperatureC - loop: members + - name: collect physical_disk_usage + scope: none + metrics: + - metric_name: physical_disk_life_left_percent + help: Percentage of life left + type: gauge + key_labels: $key_labels + values: + _: $item.lifeLeftPct + - metric_name: physical_disk_temperature + help: Temperature in Celsius + type: gauge + key_labels: $key_labels + values: + _: $item.temperatureC get physical_disk_capacity: - name: get physical_disk_capacity @@ -99,48 +97,39 @@ scripts: # debug: yes var_name: results - - name: collect physical_disk_capacity - scope: results - metrics: + - name: proceed physical_disk_usage config elements + loop: $results.members + actions: + - name: build labels + set_fact: + key_labels: + id: $item.id + cageID: $item.cageID + cageSide: $item.cageSide + magazine: $item.mag + diskPos: $item.diskPos + type: '{{ template "diskType" .item.type }}' - - metric_name: physical_disk_total_bytes - help: Total physical disk capacity in the system in bytes - type: gauge - key_labels: - id: _ - cageID: _ - cageSide: _ - magazine: mag - diskPos: _ - type: '{{ template "diskType" .type }}' - values: - _: '{{ convertToBytes .totalMiB "Mb" }}' - loop: members + - name: collect physical_disk_capacity + scope: none + metrics: + - metric_name: physical_disk_total_bytes + help: Total physical disk capacity in the system in bytes + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.totalMiB "Mb" }}' - - metric_name: physical_disk_free_bytes - help: Free physical disk capacity in the system in bytes - type: gauge - key_labels: - id: _ - cageID: _ - cageSide: _ - magazine: mag - diskPos: _ - type: '{{ template "diskType" .type }}' - values: - _: '{{ convertToBytes .freeMiB "Mb" }}' - loop: members + - metric_name: physical_disk_free_bytes + help: Free physical disk capacity in the system in bytes + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.freeMiB "Mb" }}' - - metric_name: physical_disk_failed_bytes - help: Failed physical disk capacity in the system in bytes - type: gauge - key_labels: - id: _ - cageID: _ - cageSide: _ - magazine: mag - diskPos: _ - type: '{{ template "diskType" .type }}' - values: - _: '{{ convertToBytes .failedMiB "Mb" }}' - loop: members + - metric_name: physical_disk_failed_bytes + help: Failed physical disk capacity in the system in bytes + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.failedMiB "Mb" }}' diff --git a/contribs/hp3par/etc/hp3par/metrics/ports.collector.yml b/contribs/hp3par/etc/hp3par/metrics/ports.collector.yml index 914e097..61a8ade 100644 --- a/contribs/hp3par/etc/hp3par/metrics/ports.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/ports.collector.yml @@ -73,44 +73,40 @@ scripts: url: /ports # debug: yes var_name: results - - name: collect port_status - scope: results - metrics: - - metric_name: port_status - help: "port state by node slot port: 1:CONFIG_WAIT - 2:ALPA_WAIT - 3:LOGIN_WAIT - 4:READY - 5:LOSS_SYNC - 6:ERROR_STATE - 7:XXX - 8:NONPARTICIPATE - 9:COREDUMP - 10:OFFLINE" - type: gauge - key_labels: - source: Node-{{ .portPos.node | default "undef" | toString }}/Port-{{ .portPos.slot | default "undef" | toString }}/Card-{{ .portPos.cardPort | default "undef" | toString }} - target: Node-{{ .partnerPos.node | default "undef" | toString }}/Port-{{ .partnerPos.slot | default "undef" | toString}}/Card-{{ .partnerPos.cardPort | default "undef" | toString }} - label: '{{ .label | default "undef" }}' - mode: '{{ template "modeType" .mode }}' - porttype: '{{ template "portType" .type }}' - protocol: '{{ template "protocolType" .protocol }}' - values: - _: linkState - loop: members - when: - # don't collect unconfigure/unplug ports (free port) - - ne .type 3.0 - - - metric_name: port_failover_state - help: "port failover state by node slot port: 1:NONE - 2:FAILOVER_PENDINF - 3:FAILED_OVER - 4:ACTIVE - 5:ACTIVE_DOWN - 6:ACTIVE_FAILED - 7:FAILBACK_PENDING" - type: gauge - key_labels: - source: Node-{{ .portPos.node | default "undef" | toString }}/Port-{{ .portPos.slot | default "undef" | toString }}/Card-{{ .portPos.cardPort | default "undef" | toString }} - target: Node-{{ .partnerPos.node | default "undef" | toString }}/Port-{{ .partnerPos.slot | default "undef" | toString}}/Card-{{ .partnerPos.cardPort | default "undef" | toString }} - label: '{{ .label | default "undef" }}' - mode: '{{ template "modeType" .mode }}' - porttype: '{{ template "portType" .type }}' - protocol: '{{ template "protocolType" .protocol }}' - # mode: '{{ $modeDef := dict "1" "suspended" "2" "target" "3" "initiator" "4" "peer" }}{{ $mode := .mode | toString }}{{ pluck $mode $modeDef | first | default "undef" }}' - # porttype: '{{ $portTypeDef := dict "1" "HOST" "2" "disk" "3" "FREE" "4" "IPORT" "5" "RCFC" "6" "PEER" "7" "RCIP" "8" "ISCSI" "9" "CNA" "10" "FS"}}{{ $portType := .type | toString }}{{ pluck $portType $portTypeDef | first | default "undef" }}' - # protocol: '{{ $protocolDef := dict "1" "FC" "2" "iSCSI" "3" "FCOE" "4" "IP" }}{{ $protocol := .protocol | toString }}{{ pluck $protocol $protocolDef | first | default "undef" }}' - values: - _: failoverState - loop: members - when: - - ne .type 3.0 + + - name: proceed ports config elements + loop: $resuls.members + when: + # don't collect unconfigure/unplug ports (free port) + - ne .item.type 3.0 + + actions: + - name: build labels + set_fact: + key_labels: + source: Node-{{ .item.portPos.node | default "undef" | toString }}/Port-{{ .item.portPos.slot | default "undef" | toString }}/Card-{{ .item.portPos.cardPort | default "undef" | toString }} + target: Node-{{ .item.partnerPos.node | default "undef" | toString }}/Port-{{ .item.partnerPos.slot | default "undef" | toString}}/Card-{{ .item.partnerPos.cardPort | default "undef" | toString }} + label: '{{ .item.label | default "undef" }}' + mode: '{{ template "modeType" .item.mode }}' + porttype: '{{ template "portType" .item.type }}' + protocol: '{{ template "protocolType" .item.protocol }}' + + - name: build metrics port_status + scope: none + metrics: + - metric_name: port_status + help: "port state by node slot port: 1:CONFIG_WAIT - 2:ALPA_WAIT - 3:LOGIN_WAIT - 4:READY - 5:LOSS_SYNC - 6:ERROR_STATE - 7:XXX - 8:NONPARTICIPATE - 9:COREDUMP - 10:OFFLINE" + type: gauge + key_labels: $key_labels + values: + _: $item.linkState + + - metric_name: port_failover_state + help: "port failover state by node slot port: 1:NONE - 2:FAILOVER_PENDINF - 3:FAILED_OVER - 4:ACTIVE - 5:ACTIVE_DOWN - 6:ACTIVE_FAILED - 7:FAILBACK_PENDING" + type: gauge + key_labels: $key_labels + values: + _: $item.failoverState # ports statistics # { @@ -156,93 +152,71 @@ scripts: url: /systemreporter/attime/portstatistics/hires # debug: yes var_name: results - - name: collect port_stats - scope: results - metrics: - - # read and write io per second - - metric_name: port_read_io_per_second - help: Number of IO read operations per second. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - # porttype: '{{ $portTypeDef := dict "1" "HOST" "2" "disk" "3" "FREE" "4" "IPORT" "5" "RCFC" "6" "PEER" "7" "RCIP" "8" "ISCSI" "9" "CNA" "10" "FS"}}{{ $portType := .type | toString }}{{ pluck $portType $portTypeDef | first | default "undef" }}' - values: - _: '{{ .IO.read }}' - when: - - ne .type 3.0 - loop: members - - - metric_name: port_write_io_per_second - help: Number of IO write operations per second. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ .IO.write }}' - loop: members - when: - - ne .type 3.0 - - # read and write bytes per seconds - - metric_name: port_read_bytes_per_second - help: Number of kilobytes per second. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ convertToBytes .KBytes.read "Kb" }}' - loop: members - when: - - ne .type 3.0 - - - metric_name: port_write_bytes_per_second - help: Number of kilobytes per second. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ convertToBytes .KBytes.write "Kb" }}' - loop: members - when: - - ne .type 3.0 - - # read and write latency Service Time - - metric_name: port_read_latency_second - help: Number of kilobytes per second. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ mulf .serviceTimeMS.read 1E-3}}' - loop: members - when: - - ne .type 3.0 - - - metric_name: port_write_latency_second - help: Write service time in millisecond statistic data. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ mulf .serviceTimeMS.write 1E-3 }}' - loop: members - - # busy percent - - metric_name: port_busy_percent - help: Busy percentage. - type: gauge - key_labels: - source: Node-{{ .node | default "undef" | toString }}/Port-{{ .slot | default "undef" | toString }}/Card-{{ .cardPort | default "undef" | toString }} - porttype: '{{ template "portType" .type }}' - values: - _: '{{ .busyPct }}' - loop: members - when: - - ne .type 3.0 + + - name: proceed port_stats elements + loop: $results.members + when: + - ne .item.type 3.0 + actions: + - name: build labels + set_fact: + key_labels: + source: Node-{{ .item.node | default "undef" | toString }}/Port-{{ .item.slot | default "undef" | toString }}/Card-{{ .item.cardPort | default "undef" | toString }} + porttype: '{{ template "portType" .item.type }}' + # porttype: '{{ $portTypeDef := dict "1" "HOST" "2" "disk" "3" "FREE" "4" "IPORT" "5" "RCFC" "6" "PEER" "7" "RCIP" "8" "ISCSI" "9" "CNA" "10" "FS"}}{{ $portType := .type | toString }}{{ pluck $portType $portTypeDef | first | default "undef" }}' + + - name: build metrics + scope: none + metrics: + # read and write io per second + - metric_name: port_read_io_per_second + help: Number of IO read operations per second. + type: gauge + key_labels: $key_labels + values: + _: $item.IO.read + + - metric_name: port_write_io_per_second + help: Number of IO write operations per second. + type: gauge + key_labels: $key_labels + values: + _: $item.IO.write + + # read and write bytes per seconds + - metric_name: port_read_bytes_per_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.KBytes.read "Kb" }}' + + - metric_name: port_write_bytes_per_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.KBytes.write "Kb" }}' + + # read and write latency Service Time + - metric_name: port_read_latency_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ mulf .item.serviceTimeMS.read 1E-3}}' + + - metric_name: port_write_latency_second + help: Write service time in millisecond statistic data. + type: gauge + key_labels: $key_labels + values: + _: '{{ mulf .item.serviceTimeMS.write 1E-3 }}' + + # busy percent + - metric_name: port_busy_percent + help: Busy percentage. + type: gauge + key_labels: $key_labels + values: + _: $item.busyPct diff --git a/contribs/hp3par/etc/hp3par/metrics/system.collector.yml b/contribs/hp3par/etc/hp3par/metrics/system.collector.yml index ace22a5..d457f8d 100644 --- a/contribs/hp3par/etc/hp3par/metrics/system.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/system.collector.yml @@ -29,13 +29,13 @@ scripts: version: systemVersion patches: _ values: - _: id + _: $id - metric_name: system_nodes_total help: total nodes in system type: gauge values: - _: totalNodes + _: $totalNodes - metric_name: system_nodes_active help: total active nodes in system @@ -71,10 +71,10 @@ scripts: cpu: _ value_label: mode values: - user: userPct - system: systemPct - idle: idlePct - loop: members + user: $userPct + system: $systemPct + idle: $idlePct + loop: $members #************************************************************************************************** # memory stats: collect reports @@ -155,9 +155,9 @@ scripts: node: _ value_label: mode values: - read: '{{ .hitIO.read }}' - write: '{{ .hitIO.write }}' - loop: members + read: $hitIO.read + write: $hitIO.write + loop: $members - metric_name: memory_missIO help: Number of Read/Write I/Os per second in which data was not already in cache @@ -166,9 +166,9 @@ scripts: node: _ value_label: mode values: - read: '{{ .missIO.read }}' - write: '{{ .missIO.write }}' - loop: members + read: $missIO.read + write: $missIO.write + loop: $members - metric_name: memory_accessIO help: Number of read/write I/Os per second. @@ -177,9 +177,9 @@ scripts: node: _ value_label: mode values: - read: '{{ .accessIO.read }}' - write: '{{ .accessIO.write }}' - loop: members + read: $accessIO.read + write: $accessIO.write + loop: $members - metric_name: memory_hit_percent help: Hits divided accesses displayed in percentage. (hitIO / accessIO percent) @@ -188,9 +188,9 @@ scripts: node: _ value_label: mode values: - read: '{{ .hitPct.read }}' - write: '{{ .hitPct.write }}' - loop: members + read: $hitPct.read + write: $hitPct.write + loop: $members - metric_name: memory_page_stats help: "mode: @@ -206,11 +206,11 @@ scripts: node: _ value_label: mode values: - free: "{{ .pageStatistic.pageStates.free }}" - clean: "{{ .pageStatistic.pageStates.clean }}" - writeOne: "{{ .pageStatistic.pageStates.writeOnce }}" - writeMultiple: "{{ .pageStatistic.pageStates.writeMultiple }}" - writeScheduled: "{{ .pageStatistic.pageStates.writeScheduled }}" - writing: "{{ .pageStatistic.pageStates.writing }}" - dcowpend: "{{ .pageStatistic.pageStates.dcowpend }}" - loop: members + free: $pageStatistic.pageStates.free + clean: $pageStatistic.pageStates.clean + writeOne: $pageStatistic.pageStates.writeOnce + writeMultiple: $pageStatistic.pageStates.writeMultiple + writeScheduled: $pageStatistic.pageStates.writeScheduled + writing: $pageStatistic.pageStates.writing + dcowpend: $pageStatistic.pageStates.dcowpend + loop: $members diff --git a/contribs/hp3par/etc/hp3par/metrics/volumes.collector.yml b/contribs/hp3par/etc/hp3par/metrics/volumes.collector.yml index d5cef9e..50e59b1 100644 --- a/contribs/hp3par/etc/hp3par/metrics/volumes.collector.yml +++ b/contribs/hp3par/etc/hp3par/metrics/volumes.collector.yml @@ -123,100 +123,63 @@ scripts: url: /volumes # debug: true var_name: results - - name: collect volumes - scope: results - metrics: - - metric_name: volume_total_bytes - help: total volume allocated in bytes - type: gauge - key_labels: - name: '{{ .item.name }}' - provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - values: - _: '{{ convertToBytes .item.sizeMiB "Mb" }}' - when: - # only base volume - - .item.copyType | int | eq 1 - # not a system volume - - not .item.policies.system - # not a system maintained deduplication storage - - .item.provisioningType | int | eq 7 | not - loop: members - scope: none - - metric_name: volume_used_bytes - help: volume usage in bytes - type: gauge - key_labels: - name: '{{ .item.name }}' - provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - values: - _: '{{ convertToBytes .item.totalUsedMiB "Mb" }}' - when: - # only base volume - - .item.copyType | int | eq 1 - # not a system volume - - not .item.policies.system - # not a system maintained deduplication storage - - .item.provisioningType | int | eq 7 | not - loop: members - scope: none + - name: proceed volumes elements + loop: $results.members + # loop: item + when: + # only base volume + - .item.copyType | int | eq 1 + # not a system volume + - not .item.policies.system + # not a system maintained deduplication storage + - .item.provisioningType | int | eq 7 | not + actions: + - name: build labels + set_fact: + key_labels: + name: $item.name + provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - - metric_name: volume_available_bytes - help: volume available bytes - type: gauge - key_labels: - name: '{{ .item.name }}' - provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - values: - _: >- - {{ $avail := subf .item.sizeMiB .item.totalUsedMiB .item.totalReservedMiB }} - {{ convertToBytes $avail "Mb" }} - when: - # only base volume - - .item.copyType | int | eq 1 - # not a system volume - - not .item.policies.system - # not a system maintained deduplication storage - - .item.provisioningType | int | eq 7 | not - loop: members + - name: build metrics scope: none + metrics: + - metric_name: volume_total_bytes + help: total volume allocated in bytes + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.sizeMiB "Mb" }}' - - metric_name: volume_compaction_ratio - help: The compaction ratio indicates the overall amount of storage space saved with 3PAR thin technology. - type: gauge - key_labels: - name: '{{ .item.name }}' - provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - values: - _: '{{ .item.capacityEfficiency.compaction }}' - when: - # only base volume - - .item.copyType | int | eq 1 - # not a system volume - - not .item.policies.system - # not a system maintained deduplication storage - - .item.provisioningType | int | eq 7 | not - loop: members - scope: none + - metric_name: volume_used_bytes + help: volume usage in bytes + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.totalUsedMiB "Mb" }}' - - metric_name: volume_deduplication_ratio - help: The deduplication ratio indicates the amount of storage space saved with 3PAR thin deduplication. - type: gauge - key_labels: - name: '{{ .item.name }}' - provisionningtype: '{{ template "provisioningType" .item.provisioningType }}' - values: - _: '{{ .item.capacityEfficiency.deduplication }}' - when: - # only base volume - - .item.copyType | int | eq 1 - # not a system volume - - not .item.policies.system - # not a system maintained deduplication storage - - .item.provisioningType | int | eq 7 | not - loop: members - scope: none + - metric_name: volume_available_bytes + help: volume available bytes + type: gauge + key_labels: $key_labels + values: + _: >- + {{ $avail := subf .item.sizeMiB .item.totalUsedMiB .item.totalReservedMiB }} + {{ convertToBytes $avail "Mb" }} + + - metric_name: volume_compaction_ratio + help: The compaction ratio indicates the overall amount of storage space saved with 3PAR thin technology. + type: gauge + key_labels: $key_labels + values: + _: $item.capacityEfficiency.compaction + + - metric_name: volume_deduplication_ratio + help: The deduplication ratio indicates the amount of storage space saved with 3PAR thin deduplication. + type: gauge + key_labels: $key_labels + values: + _: $item.capacityEfficiency.deduplication # volume IO stats: from vluns group by volume # { @@ -260,80 +223,68 @@ scripts: url: "/systemreporter/attime/vlunstatistics/hires;groupby:volumeName" # debug: true var_name: results - - name: collect volumes_io - scope: results - metrics: - # read and write io per second - - metric_name: volume_read_io_per_second - help: Number of IO read operations per second. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ .item.IO.read }}' - loop: members - scope: none - - metric_name: volume_write_io_per_second - help: Number of IO write operations per second. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ .item.IO.write }}' - loop: members - scope: none + - name: proceed volumes elements + loop: $results.members + actions: + - name: build labels + set_fact: + key_labels: + name: $item.volumeName - # read and write bytes per seconds - - metric_name: volume_read_bytes_per_second - help: Number of kilobytes per second. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ convertToBytes .item.KBytes.read "Kb"}}' - loop: members + - name: build volume_io metrics scope: none + metrics: + # read and write io per second + - metric_name: volume_read_io_per_second + help: Number of IO read operations per second. + type: gauge + key_labels: $key_labels + values: + _: $item.IO.read - - metric_name: volume_write_bytes_per_second - help: Number of kilobytes per second. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ convertToBytes .item.KBytes.write "Kb" }}' - loop: members - scope: none + - metric_name: volume_write_io_per_second + help: Number of IO write operations per second. + type: gauge + key_labels: $key_labels + values: + _: $item.IO.write - # read and write latency Service Time - - metric_name: volume_read_latency_second - help: Number of kilobytes per second. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ mulf .item.serviceTimeMS.read 1E-3}}' - loop: members - scope: none + # read and write bytes per seconds + - metric_name: volume_read_bytes_per_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.KBytes.read "Kb"}}' - - metric_name: volume_write_latency_second - help: Write service time in millisecond statistic data. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ mulf .item.serviceTimeMS.write 1E-3 }}' - loop: members - scope: none + - metric_name: volume_write_bytes_per_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ convertToBytes .item.KBytes.write "Kb" }}' - # busy percent - - metric_name: volume_busy_percent - help: Busy percentage. - type: gauge - key_labels: - name: "{{ .item.volumeName }}" - values: - _: '{{ .item.busyPct }}' - loop: members - scope: none + # read and write latency Service Time + - metric_name: volume_read_latency_second + help: Number of kilobytes per second. + type: gauge + key_labels: $key_labels + values: + _: '{{ mulf .item.serviceTimeMS.read 1E-3}}' + + - metric_name: volume_write_latency_second + help: Write service time in second statistic data. + type: gauge + key_labels: $key_labels + values: + _: '{{ mulf .item.serviceTimeMS.write 1E-3 }}' + + # busy percent + - metric_name: volume_busy_percent + help: Busy percentage. + type: gauge + key_labels: $key_labels + values: + _: $item.busyPct diff --git a/contribs/netscaler/dashboards/CITRIX ADC Netscaler LB Services Stats.json b/contribs/netscaler/dashboards/CITRIX ADC Netscaler LB Services Stats.json index a7c124a..d9fa098 100644 --- a/contribs/netscaler/dashboards/CITRIX ADC Netscaler LB Services Stats.json +++ b/contribs/netscaler/dashboards/CITRIX ADC Netscaler LB Services Stats.json @@ -1,26 +1,21 @@ { "__inputs": [ { - "name": "DS_THANOS", - "label": "Thanos", + "name": "DS_PROMETHEUS", + "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], + "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "7.5.11" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" + "version": "9.5.15" }, { "type": "datasource", @@ -28,18 +23,33 @@ "name": "Prometheus", "version": "1.0.0" }, + { + "type": "panel", + "id": "state-timeline", + "name": "State timeline", + "version": "" + }, { "type": "panel", "id": "table", "name": "Table", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -49,15 +59,18 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, - "iteration": 1703412136498, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -67,169 +80,197 @@ "id": 46, "panels": [], "repeat": "service", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "LB service Stats $service", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", "fieldConfig": { "defaults": { - "unit": "reqps" + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 1 }, - "hiddenSeries": false, - "id": 893, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", + "id": 894, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:2923", - "alias": "/Response/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, - "expr": "sum( rate(citrixadc_lb_requests_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", + "expr": "sum(citrixadc_lb_current_client_connection_count{host=~\"$host\", lb_name=~\"$service\"})", "interval": "", - "legendFormat": "requests {{ lb_name}}", + "legendFormat": "client connection {{ lb_name }}", "refId": "A" - }, - { - "exemplar": true, - "expr": "sum( rate(citrixadc_lb_responses_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", - "hide": false, - "interval": "", - "legendFormat": "Responses {{ lb_name}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "requests & responses by second for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "current client connection for $service", + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "cps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 1 }, - "hiddenSeries": false, "id": 44, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(rate(citrixadc_lb_hits_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "interval": "", @@ -237,6 +278,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_responses_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "hide": true, @@ -245,6 +290,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(rate(citrixadc_lb_surge_count_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -253,6 +302,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_tolerable_transactions_count_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "hide": false, @@ -261,6 +314,10 @@ "refId": "D" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_ttlb_calculated_transactions_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -269,6 +326,10 @@ "refId": "E" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_deffered_requests_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -277,6 +338,10 @@ "refId": "F" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_spillover_count_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -285,6 +350,10 @@ "refId": "G" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_invalid_response_request_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -293,6 +362,10 @@ "refId": "H" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_invalid_response_request_dropped_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "hide": false, @@ -301,6 +374,10 @@ "refId": "I" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_busy_error_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "hide": false, @@ -309,104 +386,107 @@ "refId": "J" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Stats by second for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "cps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "Bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 10 }, - "hiddenSeries": false, "id": 864, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:3086", - "alias": "/^Out/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(rate(citrixadc_lb_request_bytes_received_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "interval": "", @@ -414,6 +494,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_response_bytes_received_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "hide": false, @@ -422,104 +506,107 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Bytes In/Out by sec for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 10 }, - "hiddenSeries": false, "id": 43, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:3048", - "alias": "/^Out/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum( rate(citrixadc_lb_packets_received_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "interval": "", @@ -527,6 +614,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(rate(citrixadc_lb_packets_sent_total{host=~\"$host\", lb_name=~\"$service\"}[2m]))", "hide": false, @@ -535,197 +626,217 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Packet In/Out by sec for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "description": "", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Only for HTTP services, total requests and responses by second", "fieldConfig": { "defaults": { - "unit": "short" + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/Response/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 19 }, - "hiddenSeries": false, - "id": 894, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", + "id": 893, "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "sum(citrixadc_lb_current_client_connection_count{host=~\"$host\", lb_name=~\"$service\"})", + "expr": "sum( rate(citrixadc_lb_requests_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", "interval": "", - "legendFormat": "client connection {{ lb_name }}", + "legendFormat": "requests {{ lb_name}}", + "range": true, "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "current client connection for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true }, { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "sum( rate(citrixadc_lb_responses_total{host=~\"$host\", lb_name=~\"$service\"}[2m]) )", + "hide": false, + "interval": "", + "legendFormat": "Responses {{ lb_name}}", + "refId": "B" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "requests & responses by second for $service", + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "percent" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 19 }, - "hiddenSeries": false, "id": 895, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(citrixadc_lb_members_up_total{host=~\"$host\", lb_name=~\"$service\"})", "interval": "", @@ -733,52 +844,15 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "percent of members UP for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -787,11 +861,25 @@ }, "id": 52, "panels": [], + "repeat": "service", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": " $service Service Member Details", "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -799,8 +887,12 @@ "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -828,20 +920,15 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "UP", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "UP" + } + }, + "type": "value" } ] }, @@ -862,8 +949,11 @@ } }, { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "custom.align", @@ -881,11 +971,24 @@ }, "id": 1178, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_status{host=~\"$host\", lb_name\r=~\"$service\"}", "format": "table", @@ -895,6 +998,10 @@ "refId": "Status" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_current_client_connections{host=~\"$host\", lb_name=~\"$service\"}", "format": "table", @@ -905,6 +1012,10 @@ "refId": "Client cnx" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_current_server_connections{host=~\"$host\", lb_name=~\"$service\"}", "format": "table", @@ -970,54 +1081,92 @@ "type": "table" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 0, "y": 35 }, - "hiddenSeries": false, "id": 1171, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_current_client_connections{host=~\"$host\", lb_name=~\"$service\"}", "interval": "", @@ -1025,98 +1174,96 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "client connection for $service by members", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "Number of current connections to the actual servers behind the virtual server", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 8, "y": 35 }, - "hiddenSeries": false, "id": 1173, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_current_server_connections{host=~\"$host\", lb_name=~\"$service\"}", "interval": "", @@ -1124,203 +1271,198 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "current server connections for $service by members", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { - "unit": "short" + "color": { + "mode": "continuous-RdYlGr" + }, + "custom": { + "fillOpacity": 70, + "lineWidth": 0, + "spanNulls": false + }, + "mappings": [ + { + "options": { + "0": { + "color": "red", + "index": 0, + "text": "Down" + }, + "1": { + "color": "green", + "index": 1, + "text": "Up" + } + }, + "type": "value" + } + ], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + } + ] + }, + "unit": "bool" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 16, "y": 35 }, - "hiddenSeries": false, "id": 1172, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": true, + "rowHeight": 0.9, + "showValue": "auto", + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, "expr": "citrixadc_servicegroup_status{host=~\"$host\", lb_name=~\"$service\"}", "interval": "", "legendFormat": "{{ servicegroup_membername}} status", + "range": true, "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Member status for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "state-timeline" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "Number of responses received on this service or virtual server. (This applies to HTTP/SSL services and servers.)\nTotal number of requests received on this service or virtual server. (This applies to HTTP/SSL services and servers.)", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "- Request / + Reponses ", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^req/s/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 44 }, - "hiddenSeries": false, "id": 1174, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:489", - "alias": "/^req/s/", - "transform": "negative-Y" + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_servicegroup_tot_requests{host=~\"$host\", lb_name=~\"$service\"}[1m])", "interval": "", @@ -1328,6 +1470,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_servicegroup_tot_responses{host=~\"$host\", lb_name=~\"$service\"}[1m])", "hide": false, @@ -1336,104 +1482,109 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "req / rep rate for $service by members", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": "- Request / + Reponses ", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "rate of total number of response bytes received by this service or virtual server\nrate of total number of request bytes received on this service or virtual server", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "- Request / + Reponses ", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "binBps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^req/s/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 44 }, - "hiddenSeries": false, "id": 1175, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:489", - "alias": "/^req/s/", - "transform": "negative-Y" + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_servicegroup_tot_request_bytes{host=~\"$host\", lb_name=~\"$service\"}[1m])", "interval": "", @@ -1441,6 +1592,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_servicegroup_tot_response_bytes{host=~\"$host\", lb_name=~\"$service\"}[1m])", "hide": false, @@ -1449,98 +1604,94 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "req / rep bytes rate for $service by members", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "binBps", - "label": "- Request / + Reponses ", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "Average TTFB between the NetScaler appliance and the server.TTFB is the time interval between sending the request packet to a service and receiving the first response from the service", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 8, "x": 8, "y": 53 }, - "hiddenSeries": false, "id": 1176, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_servicegroup_avg_server_ttfb{host=~\"$host\", lb_name=~\"$service\"}", "interval": "", @@ -1548,63 +1699,23 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "avg TTFB for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], "refresh": "1m", - "schemaVersion": 27, + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up, segment)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "Segment", @@ -1620,18 +1731,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up{segment=~\"$segment\"}, host)", - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "Hostname", @@ -1647,18 +1757,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_lb_status{segment=~\"$segment\", host=~\"$host\"}, lb_name)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "LBC service", @@ -1674,7 +1783,6 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -1711,5 +1819,6 @@ "timezone": "", "title": "CITRIX ADC Netscaler LB Services Stats", "uid": "o1Hsj1vIz", - "version": 5 + "version": 16, + "weekStart": "" } \ No newline at end of file diff --git a/contribs/netscaler/dashboards/CITRIX ADC Netscaler SSL Services Stats.json b/contribs/netscaler/dashboards/CITRIX ADC Netscaler SSL Services Stats.json index 768073b..04cddc9 100644 --- a/contribs/netscaler/dashboards/CITRIX ADC Netscaler SSL Services Stats.json +++ b/contribs/netscaler/dashboards/CITRIX ADC Netscaler SSL Services Stats.json @@ -1,39 +1,43 @@ { "__inputs": [ { - "name": "DS_THANOS", - "label": "Thanos", + "name": "DS_PROMETHEUS", + "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], + "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "7.5.11" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" + "version": "9.5.15" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -43,15 +47,18 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, - "iteration": 1703172370627, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -61,64 +68,116 @@ "id": 46, "panels": [], "repeat": "service", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "SSL Service Stats $service", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "- encrypted/+ decrypted", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "Bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/encrypt.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 1 }, - "hiddenSeries": false, "id": 1229, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:249", - "alias": "/encrypt.*/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_decrypt_bytes{host=~\"$host\", sslvserver_name=~\"$service\"}[2m])", "format": "time_series", @@ -128,6 +187,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_encrypt_bytes{host=~\"$host\", sslvserver_name=~\"$service\"}[2m])", "format": "time_series", @@ -138,98 +201,94 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "SSL Encrypt/Decrypt bytes/s $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "Bps", - "label": "- encrypted/+ decrypted", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "cps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 1 }, - "hiddenSeries": false, "id": 1233, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_auth_success{host=~\"$host\", sslvserver_name=~\"$service\"}[2m])", "format": "time_series", @@ -240,6 +299,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_auth_failure{host=~\"$host\", sslvserver_name=~\"$service\"}[2m])", "format": "time_series", @@ -250,102 +313,126 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "SSL Hardaware Encrypt/Decrypt bytes/s $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "cps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { - "defaults": {}, - "overrides": [] + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 100, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/active.*/" + }, + "properties": [ + { + "id": "unit", + "value": "short" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "active service lb_CTX_StoreFront" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#F2CC0C", + "mode": "fixed" + } + }, + { + "id": "custom.axisSoftMax" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 10 }, - "hiddenSeries": false, "id": 1235, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:433", - "alias": "/active.*/", - "yaxis": 2 + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_sslvserver_health{host=~\"$host\", sslvserver_name=~\"$service\"}", "format": "time_series", @@ -356,6 +443,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_sslvserver_active_services{host=~\"$host\", sslvserver_name=~\"$service\"}", "format": "time_series", @@ -366,98 +457,94 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "SSL SubService Health $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "cps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 10 }, - "hiddenSeries": false, "id": 1231, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_session_new{host=~\"$host\", sslvserver_name=~\"$service\"}[2m])", "format": "time_series", @@ -468,6 +555,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_session_hits{host=~\"$host\", sslvserver_name=~\"$ssl_service\"}[2m])", "format": "time_series", @@ -478,63 +569,23 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "SSL new session and hits /s for $service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "cps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], "refresh": "1m", - "schemaVersion": 27, + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up, segment)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "Segment", @@ -550,18 +601,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up{segment=~\"$segment\"}, host)", - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "Hostname", @@ -577,18 +627,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_sslvserver_status{segment=~\"$segment\", host=~\"$host\"}, sslvserver_name)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "SSL service", @@ -604,7 +653,6 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -641,5 +689,6 @@ "timezone": "", "title": "CITRIX ADC Netscaler SSL Services Stats", "uid": "5UPuhHOIz", - "version": 3 + "version": 5, + "weekStart": "" } \ No newline at end of file diff --git a/contribs/netscaler/dashboards/CITRIX ADC Netscaler Stats.json b/contribs/netscaler/dashboards/CITRIX ADC Netscaler Stats.json index b5408ec..57c5394 100644 --- a/contribs/netscaler/dashboards/CITRIX ADC Netscaler Stats.json +++ b/contribs/netscaler/dashboards/CITRIX ADC Netscaler Stats.json @@ -1,25 +1,26 @@ { "__inputs": [ { - "name": "DS_THANOS", - "label": "Thanos", + "name": "DS_PROMETHEUS", + "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], + "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "7.5.11" + "version": "9.5.15" }, { "type": "panel", "id": "graph", - "name": "Graph", + "name": "Graph (old)", "version": "" }, { @@ -39,13 +40,22 @@ "id": "table", "name": "Table", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -55,15 +65,18 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, - "iteration": 1703170166664, "links": [], + "liveNow": false, "panels": [ { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -73,7 +86,10 @@ "id": 59, "panels": [ { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -81,20 +97,15 @@ }, "mappings": [ { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" } ], "noValue": "N/A", @@ -102,8 +113,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -132,9 +142,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_bandwidth_licensed{host=~\"$host\"}", "format": "table", @@ -147,7 +161,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -155,20 +172,15 @@ }, "mappings": [ { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" } ], "noValue": "N/A", @@ -176,8 +188,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -206,9 +217,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_bandwidth_licensed{host=~\"$host\"}", "format": "table", @@ -221,7 +236,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -229,20 +247,15 @@ }, "mappings": [ { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" } ], "noValue": "N/A", @@ -250,8 +263,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -280,9 +292,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ha_available{host=~\"$host\"}", "format": "table", @@ -295,7 +311,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -303,20 +322,15 @@ }, "mappings": [ { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" } ], "noValue": "N/A", @@ -324,8 +338,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] }, @@ -355,9 +368,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_bandwidth_licensed{host=~\"$host\"}", "format": "table", @@ -370,12 +387,24 @@ "type": "stat" } ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Configuration", "type": "row" }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -384,32 +413,266 @@ }, "id": 61, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "High Availability", "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, - "mappings": [ - { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Status" + }, + "properties": [ + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "Other" + }, + "1": { + "text": "Primary" + }, + "2": { + "text": "Secondary" + }, + "3": { + "text": "StaySecondary" + }, + "4": { + "text": "Claiming" + }, + "5": { + "text": "Force Change" + } + }, + "type": "value" + } + ] + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "HA Status" + }, + "properties": [ + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "UP" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "ID" + }, + "properties": [ + { + "id": "custom.width", + "value": 58 + } + ] + } + ] + }, + "gridPos": { + "h": 4, + "w": 24, + "x": 0, + "y": 2 + }, + "id": 2257, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_ha_cluster_node_status{host=~\"$host\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_ha_cluster_node_hastatus{host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + } + ], + "title": "HA Cluster Overview", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "hanode_id", + "hanode_ip", + "Value #A", + "Value #B", + "hanode_name" + ] + } + } + }, + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Value #A": 3, + "Value #B": 4, + "hanode_id": 0, + "hanode_ip": 2, + "hanode_name": 1 }, + "renameByName": { + "Value #A": "HA Status", + "Value #B": "Status", + "hanode_id": "ID", + "hanode_ip": "IP" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" } ], "noValue": "Down (n/a)", @@ -431,9 +694,9 @@ }, "gridPos": { "h": 3, - "w": 6, + "w": 4, "x": 0, - "y": 2 + "y": 6 }, "id": 63, "options": { @@ -451,11 +714,15 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, - "expr": "citrixadc_ha_state{host=~\"$host\"}", + "expr": "citrixadc_ha_node_state{host=~\"$host\"}", "format": "time_series", "interval": "", "legendFormat": "", @@ -466,7 +733,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -474,52 +744,27 @@ }, "mappings": [ { - "from": "", - "id": 1, - "text": "Other", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Primary", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 3, - "text": "Secondary", - "to": "", - "type": 1, - "value": "2" - }, - { - "from": "", - "id": 4, - "text": "STAYSECONDARY", - "to": "", - "type": 1, - "value": "3" - }, - { - "from": "", - "id": 5, - "text": "CLAIMING", - "to": "", - "type": 1, - "value": "4" - }, - { - "from": "", - "id": 6, - "text": "FORCE CHANGE", - "to": "", - "type": 1, - "value": "5" + "options": { + "0": { + "text": "Other" + }, + "1": { + "text": "Primary" + }, + "2": { + "text": "Secondary" + }, + "3": { + "text": "STAYSECONDARY" + }, + "4": { + "text": "CLAIMING" + }, + "5": { + "text": "FORCE CHANGE" + } + }, + "type": "value" } ], "noValue": "N/A", @@ -545,9 +790,9 @@ }, "gridPos": { "h": 3, - "w": 6, - "x": 6, - "y": 2 + "w": 4, + "x": 4, + "y": 6 }, "id": 64, "options": { @@ -565,9 +810,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ha_node_state{host=~\"$host\"}", "format": "time_series", @@ -581,7 +830,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -604,9 +856,9 @@ }, "gridPos": { "h": 3, - "w": 12, - "x": 12, - "y": 2 + "w": 6, + "x": 8, + "y": 6 }, "id": 65, "options": { @@ -624,9 +876,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ha_node_start_timestamp{host=~\"$host\"}*1000", "format": "time_series", @@ -640,7 +896,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -667,9 +926,9 @@ }, "gridPos": { "h": 3, - "w": 6, - "x": 6, - "y": 5 + "w": 5, + "x": 14, + "y": 6 }, "id": 66, "options": { @@ -687,9 +946,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ha_node_propagation_timeout{host=~\"$host\"}", "format": "time_series", @@ -702,7 +965,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -729,9 +995,9 @@ }, "gridPos": { "h": 3, - "w": 6, - "x": 12, - "y": 5 + "w": 5, + "x": 19, + "y": 6 }, "id": 67, "options": { @@ -749,9 +1015,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ha_node_sync_failure{host=~\"$host\"}", "format": "time_series", @@ -764,1092 +1034,1274 @@ "type": "stat" }, { - "collapsed": true, - "datasource": null, + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 8 + "y": 9 }, "id": 18, - "panels": [ + "panels": [], + "targets": [ { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Up", - "to": "", - "type": 1, - "value": "1" - } - ], - "noValue": "Down", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 0, - "y": 9 + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" }, - "id": 16, - "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "refId": "A" + } + ], + "title": "System", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "pluginVersion": "7.5.11", - "targets": [ + "mappings": [ { - "exemplar": true, - "expr": "citrixadc_up{host=~\"$host\"}", - "format": "time_series", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "State", - "type": "stat" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - } - ] + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } }, - "unit": "dateTimeAsIso" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 6, - "y": 9 - }, - "id": 2137, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.5.11", - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_start_timestamp{host=~\"$host\"} * 1000", - "format": "time_series", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" + "type": "value" } ], - "title": "Start time", - "type": "stat" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - } - ] + "noValue": "Down", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red", + "value": null }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 14, - "y": 9 - }, - "id": 48, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.5.11", - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_cpu_count{host=~\"$host\"}", - "format": "table", - "interval": "", - "legendFormat": "", - "refId": "A" - } + { + "color": "dark-green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 6, + "x": 0, + "y": 10 + }, + "id": 16, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" ], - "title": "CPU ", - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.5.15", + "targets": [ { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "noValue": "N/A", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "blue", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 9 + "exemplar": true, + "expr": "citrixadc_up{host=~\"$host\"}", + "format": "time_series", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "State", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "id": 173, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "mappings": [], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] }, - "pluginVersion": "7.5.11", - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_memory_total_available_bytes{host=~\"$host\"}", - "format": "table", - "interval": "", - "legendFormat": "", - "refId": "A" - } + "unit": "dateTimeAsIso" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 8, + "x": 6, + "y": 10 + }, + "id": 2137, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" ], - "title": "Memory", - "type": "stat" + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "percentunit" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 16, - "x": 0, - "y": 12 - }, - "hiddenSeries": false, - "id": 13, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true + "exemplar": true, + "expr": "citrixadc_system_start_timestamp{host=~\"$host\"} * 1000", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Start time", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "mappings": [], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:7745", - "alias": "Total", - "hiddenSeries": true - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "( citrixadc_ns_rx_mbits_rate {host=~\"$host\"} / sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) )", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "received", - "refId": "A" - }, - { - "exemplar": true, - "expr": "( citrixadc_ns_tx_mbits_rate {host=~\"$host\"} / sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) )", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "transmitted", - "refId": "B" - }, - { - "exemplar": true, - "expr": "( (citrixadc_ns_rx_mbits_rate {host=~\"$host\"} + citrixadc_ns_tx_mbits_rate {host=~\"$host\"}) / sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) )", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Total", - "refId": "C" - } - ], - "thresholds": [ - { - "$$hashKey": "object:7758", - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 1, - "yaxis": "left" - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 14, + "y": 10 + }, + "id": 48, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Licensed Throughput percent (stacked)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "exemplar": true, + "expr": "citrixadc_system_cpu_count{host=~\"$host\"}", + "format": "table", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "CPU ", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "yaxes": [ - { - "$$hashKey": "object:82", - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:83", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } + "mappings": [], + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 6, + "x": 18, + "y": 10 + }, + "id": 173, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" ], - "yaxis": { - "align": false, - "alignLevel": null - } + "fields": "", + "values": false }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "Mbits" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 11, - "w": 8, - "x": 16, - "y": 12 + "exemplar": true, + "expr": "citrixadc_system_memory_total_available_bytes{host=~\"$host\"}", + "format": "table", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Memory", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "hiddenSeries": false, - "id": 1179, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "line+area" + } }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:5767", - "alias": "transmitted", - "stack": "B" - }, - { - "$$hashKey": "object:5774", - "alias": "received", - "stack": "B" - }, - { - "$$hashKey": "object:5871", - "alias": "Licensed Bandwidth", - "color": "#C4162A", - "fill": 0 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_ns_rx_mbits_rate {host=~\"$host\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "received", - "refId": "A" - }, - { - "exemplar": true, - "expr": "citrixadc_ns_tx_mbits_rate {host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "transmitted", - "refId": "B" + "unit": "percentunit" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Total" }, - { - "exemplar": true, - "expr": "citrixadc_bandwidth_licensed{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Licensed Bandwidth", - "refId": "C" - } + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + { + "id": "custom.stacking", + "value": { + "group": "A", + "mode": "none" + } + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 16, + "x": 0, + "y": 13 + }, + "id": 13, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min", + "lastNotNull" ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Licensed Throughput rate (stacked) ", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "editorMode": "code", + "exemplar": true, + "expr": "( sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_rx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) * 8 / (sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) * 1E6) )", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "received", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "yaxes": [ - { - "$$hashKey": "object:82", - "format": "Mbits", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:83", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "editorMode": "code", + "exemplar": true, + "expr": "( sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_tx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) * 8 / (sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) * 1E6) )", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "transmitted", + "range": true, + "refId": "B" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "percent" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 23 + "editorMode": "code", + "exemplar": true, + "expr": "((sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_rx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) \r\n +sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_tx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) ) * 8 / (sum(citrixadc_bandwidth_licensed{host=~\"$host\"}) without(edition,version) * 1E6) )", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Total", + "range": true, + "refId": "C" + } + ], + "title": "Licensed Throughput percent (stacked)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "hiddenSeries": false, - "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_packet_cpu_usage_percent{host=~\"$host\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "pkt processing usage", - "refId": "A" - }, - { - "exemplar": true, - "expr": "citrixadc_system_management_cpu_usage_percent{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "management", - "refId": "B" - }, - { - "exemplar": true, - "expr": "citrixadc_system_res_cpu_usage_percent{host=~\"$host\"} / 1E9", - "format": "time_series", - "hide": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "response processing usage", - "refId": "C" + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "transmitted" }, - { - "exemplar": true, - "expr": "citrixadc_system_cpu_usage_percent{host=~\"$host\"} / 1E9", - "format": "time_series", - "hide": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "total cpu usage", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "CPU Utilization Percentage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "B", + "mode": "normal" + } + } + ] }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + { + "matcher": { + "id": "byName", + "options": "received" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "B", + "mode": "normal" + } + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:113", - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + { + "matcher": { + "id": "byName", + "options": "Licensed Bandwidth" }, - { - "$$hashKey": "object:114", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#C4162A", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": false, + "viz": false + } + } + ] } + ] + }, + "gridPos": { + "h": 11, + "w": 8, + "x": 16, + "y": 13 + }, + "id": 1179, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "min", + "lastNotNull" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "percent" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 23 + "editorMode": "code", + "exemplar": true, + "expr": "sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_rx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) * 8", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "received", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 11, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "editorMode": "code", + "exemplar": true, + "expr": "sum without(citrixadc_interface_id) (rate(citrixadc_interface_tot_tx_bytes{host=~\"$host\",citrixadc_interface_id!~\"LO.*\"}[2m])) * 8", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "transmitted", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "editorMode": "code", + "exemplar": true, + "expr": "citrixadc_bandwidth_licensed{host=~\"$host\"} * 1E6", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Licensed Bandwidth", + "range": true, + "refId": "C" + } + ], + "title": "Licensed Throughput rate (stacked) ", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_memory_usage_percent{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "mem % used", - "refId": "A" - }, - { - "exemplar": true, - "expr": "citrixadc_system_memory_shared_usage_percent{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "shared % used", - "refId": "B" - }, - { - "exemplar": true, - "expr": "citrixadc_system_memory_allocated_percent{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "allocated % used", - "refId": "C" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Utilization Percentage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "decimals": 2, - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 3, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "percent" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 32 + "exemplar": true, + "expr": "citrixadc_system_packet_cpu_usage_percent{host=~\"$host\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "pkt processing usage", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "exemplar": true, + "expr": "citrixadc_system_management_cpu_usage_percent{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "management", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "exemplar": true, + "expr": "citrixadc_system_res_cpu_usage_percent{host=~\"$host\"} / 1E9", + "format": "time_series", + "hide": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "response processing usage", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_disk_used_percent{host=~\"$host\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ mount }}", - "refId": "A" + "exemplar": true, + "expr": "citrixadc_system_cpu_usage_percent{host=~\"$host\"} / 1E9", + "format": "time_series", + "hide": true, + "interval": "", + "intervalFactor": 1, + "legendFormat": "total cpu usage", + "refId": "D" + } + ], + "title": "CPU Utilization Percentage", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Disk Usage %", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": "0", - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 11, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": { - "unit": "decbytes" - }, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 32 + "exemplar": true, + "expr": "citrixadc_system_memory_usage_percent{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "mem % used", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 2136, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "exemplar": true, + "expr": "citrixadc_system_memory_shared_usage_percent{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "shared % used", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "exemplar": true, + "expr": "citrixadc_system_memory_allocated_percent{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "allocated % used", + "refId": "C" + } + ], + "title": "Memory Utilization Percentage", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:499", - "alias": "/.*total/", - "color": "#F2495C", - "fillGradient": 0, - "linewidth": 2, - "transform": "constant" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_system_disk_free_bytes{host=~\"$host\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ mount }} free", - "refId": "A" - }, - { - "exemplar": true, - "expr": "citrixadc_system_disk_total_bytes{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ mount }} total", - "refId": "C" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 33 + }, + "id": 14, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_system_disk_used_percent{host=~\"$host\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{ mount }}", + "refId": "A" + } + ], + "title": "Disk Usage %", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Disk Free bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*total/" }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#F2495C", + "mode": "fixed" + } + }, + { + "id": "custom.lineWidth", + "value": 2 + }, + { + "id": "custom.transform", + "value": "constant" + } + ] } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 33 + }, + "id": 2136, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_system_disk_free_bytes{host=~\"$host\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{ mount }} free", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_system_disk_total_bytes{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{ mount }} total", + "refId": "C" } ], - "title": "System", - "type": "row" + "title": "Disk Free bytes", + "type": "timeseries" }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 9 + "y": 42 }, "id": 35, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 10, "w": 12, "x": 0, - "y": 48 + "y": 43 }, - "hiddenSeries": false, "id": 36, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:369", - "alias": "/^Out.*/", - "transform": "negative-Y" + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_interface_tot_rx_bytes{host=~\"$host\"}[2m]) * 8", "interval": "", @@ -1857,6 +2309,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_interface_tot_tx_bytes{host=~\"$host\"}[2m]) * 8", "hide": false, @@ -1865,104 +2321,110 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Average In/out Bits by second by interface", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 10, "w": 12, "x": 12, - "y": 48 + "y": 43 }, - "hiddenSeries": false, "id": 1453, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:369", - "alias": "/^Out.*/", - "transform": "negative-Y" + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_interface_rx_bytes_rate{host=~\"$host\"} * 8", "hide": false, @@ -1971,63 +2433,30 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_interface_tx_bytes_rate{host=~\"$host\"} * 8", - "hide": false, - "interval": "", - "legendFormat": "Out {{ citrixadc_interface_id }}", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Instant In/out Bits by second by interface", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "hide": false, + "interval": "", + "legendFormat": "Out {{ citrixadc_interface_id }}", + "refId": "D" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Instant In/out Bits by second by interface", + "type": "timeseries" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "unit": "pps" @@ -2040,7 +2469,7 @@ "h": 8, "w": 12, "x": 0, - "y": 58 + "y": 53 }, "hiddenSeries": false, "id": 38, @@ -2060,7 +2489,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "pointradius": 2, "points": false, "renderer": "flot", @@ -2070,6 +2499,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_interface_tot_multicast_packets{host=~\"$host\"}[2m])", "interval": "", @@ -2078,9 +2511,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Multicast Packet by second by interface", "tooltip": { "shared": true, @@ -2089,9 +2520,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2099,25 +2528,18 @@ { "$$hashKey": "object:305", "format": "pps", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:306", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2125,7 +2547,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "unit": "pps" @@ -2138,7 +2563,7 @@ "h": 8, "w": 12, "x": 12, - "y": 58 + "y": 53 }, "hiddenSeries": false, "id": 37, @@ -2158,7 +2583,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "pointradius": 2, "points": false, "renderer": "flot", @@ -2174,6 +2599,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_interface_err_dropped_rx_packets{host=~\"$host\"}[2m])", "interval": "", @@ -2181,6 +2610,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_interface_err_dropped_tx_packets{host=~\"$host\"}[2m])", "hide": false, @@ -2190,9 +2623,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "In/out Dropped Pkt by second by Interface", "tooltip": { "shared": true, @@ -2201,9 +2632,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2211,96 +2640,143 @@ { "$$hashKey": "object:305", "format": "pps", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:306", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Interfaces Stats", "type": "row" }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 10 + "y": 43 }, "id": 29, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Out" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 17 + "y": 44 }, - "hiddenSeries": false, "id": 32, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:583", - "alias": "Out", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_rx_bytes{host=~\"$host\"}[2m]) * 8", "interval": "", @@ -2308,6 +2784,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tx_bytes{host=~\"$host\"}[2m]) *8 ", "hide": false, @@ -2316,103 +2796,105 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In/out Bits by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Out" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 17 + "y": 44 }, - "hiddenSeries": false, "id": 30, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "Out", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_rx_bytes{host=~\"$host\"}[2m])", "interval": "", @@ -2420,6 +2902,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tx_bytes{host=~\"$host\"}[2m])", "hide": false, @@ -2428,97 +2914,92 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In/out Packets by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "cps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, - "x": 0, - "y": 25 - }, - "hiddenSeries": false, - "id": 31, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", + "x": 0, + "y": 52 + }, + "id": 31, "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_routed_packets{host=~\"$host\"}[2m])", "interval": "", @@ -2526,97 +3007,92 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Packet routed by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "cps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "cps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 25 + "y": 52 }, - "hiddenSeries": false, "id": 33, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_fragments{host=~\"$host\"}[2m])", "interval": "", @@ -2624,6 +3100,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_successful_assembly{host=~\"$host\"}[2m])", "hide": false, @@ -2632,6 +3112,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_address_lookup{host=~\"$host\"}[2m])", "hide": false, @@ -2640,6 +3124,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_address_lookup_fail{host=~\"$host\"}[2m])", "hide": false, @@ -2648,6 +3136,10 @@ "refId": "D" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_udp_fragments_forwarded{host=~\"$host\"}[2m])", "hide": false, @@ -2656,6 +3148,10 @@ "refId": "E" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_tcp_fragments_forwarded{host=~\"$host\"}[2m])", "hide": false, @@ -2664,6 +3160,10 @@ "refId": "F" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ip_tot_bad_checksums{host=~\"$host\"}[2m])", "hide": false, @@ -2672,48 +3172,17 @@ "refId": "G" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "packet stats", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "timeseries" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "cps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "refId": "A" } ], "title": "IP stats", @@ -2721,69 +3190,114 @@ }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 11 + "y": 44 }, "id": 313, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "decbits" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out .*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 18 + "y": 45 }, - "hiddenSeries": false, "id": 447, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "/^Out .*/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_rx_bytes{host=~\"$host\"}[2m])", "interval": "", @@ -2791,6 +3305,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_tx_bytes{host=~\"$host\"}[2m])", "hide": false, @@ -2799,103 +3317,105 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In/out bits by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "decbits", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out /" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 18 + "y": 45 }, - "hiddenSeries": false, "id": 453, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:1966", - "alias": "/^Out /", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_rx_packets{host=~\"$host\"}[2m]) * 8", "interval": "", @@ -2903,6 +3423,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_tx_packets{host=~\"$host\"}[2m]) *8 ", "hide": false, @@ -2911,98 +3435,96 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In / Out packets by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "bps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 6, - "y": 26 + "y": 53 }, - "hiddenSeries": false, "id": 448, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": false, - "min": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "sum" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_unknown_service_packets{host=~\"$host\"}[2m]) * 8", "interval": "", @@ -3010,6 +3532,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_udp_tot_bad_checksum_packets{host=~\"$host\"}[2m]) *8 ", "hide": false, @@ -3018,48 +3544,17 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Unknown - bad checksum packets by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "timeseries" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "refId": "A" } ], "title": "UDP stats", @@ -3067,69 +3562,114 @@ }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 12 + "y": 45 }, "id": 451, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out .*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 13 + "y": 46 }, - "hiddenSeries": false, "id": 449, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "/^Out .*/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_rx_bytes{host=~\"$host\"}[2m]) * 8 ", "interval": "", @@ -3137,6 +3677,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_tx_bytes{host=~\"$host\"}[2m]) * 8", "hide": false, @@ -3145,103 +3689,105 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In/out bits by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Out .*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 13 + "y": 46 }, - "hiddenSeries": false, "id": 724, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "/^Out .*/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_rx_packets{host=~\"$host\"}[2m])", "interval": "", @@ -3249,6 +3795,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_tx_packets{host=~\"$host\"}[2m])", "hide": false, @@ -3257,99 +3807,97 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "In/out packets by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 11, "w": 12, "x": 0, - "y": 21 + "y": 54 }, - "hiddenSeries": false, "id": 455, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_client_connections_opened{host=~\"$host\"}[2m])", "interval": "", @@ -3357,6 +3905,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_server_connections_opened{host=~\"$host\"}[2m])", "hide": false, @@ -3365,6 +3917,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_syn{host=~\"$host\"}[2m])", "hide": false, @@ -3373,6 +3929,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_client_fin{host=~\"$host\"}[2m])", "hide": false, @@ -3381,6 +3941,10 @@ "refId": "D" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_server_fin{host=~\"$host\"}[2m])", "hide": false, @@ -3389,6 +3953,10 @@ "refId": "E" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_tot_syn_probe{host=~\"$host\"}[2m])", "hide": false, @@ -3397,99 +3965,97 @@ "refId": "F" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "TCP metrics by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "pps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 11, "w": 12, "x": 12, - "y": 21 + "y": 54 }, - "hiddenSeries": false, "id": 1727, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_full_retransmit{host=~\"$host\"}[2m])", "hide": false, @@ -3498,6 +4064,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_badchecksum{host=~\"$host\"}[2m])", "hide": false, @@ -3506,6 +4076,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_reset_threshold{host=~\"$host\"}[2m])", "hide": false, @@ -3514,6 +4088,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_bad_connection_state{host=~\"$host\"}[2m])", "hide": false, @@ -3522,6 +4100,10 @@ "refId": "D" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_out_of_window{host=~\"$host\"}[2m])", "hide": false, @@ -3530,6 +4112,10 @@ "refId": "E" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_syn_dropped_congestion{host=~\"$host\"}[2m])", "hide": false, @@ -3538,56 +4124,29 @@ "refId": "F" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_tcp_err_any_port_fail{host=~\"$host\"}[2m])", - "hide": false, - "interval": "", - "legendFormat": "any port fail {{ host }}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "TCP \"errors\" packets by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "pps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "hide": false, + "interval": "", + "legendFormat": "any port fail {{ host }}", + "refId": "G" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "TCP \"errors\" packets by second", + "type": "timeseries" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" } ], "title": "TCP Stats", @@ -3595,72 +4154,126 @@ }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 13 + "y": 46 }, "id": 590, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "HTTP Stats", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Responses /" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 14 + "y": 47 }, - "hiddenSeries": false, "id": 454, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "/^Responses /", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_requests{host=~\"$host\"}[2m])", "interval": "", @@ -3668,6 +4281,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_responses{host=~\"$host\"}[2m])", "hide": false, @@ -3676,103 +4293,105 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Request, Response by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/^Responses /" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 14 + "y": 47 }, - "hiddenSeries": false, "id": 728, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:547", - "alias": "/^Responses /", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_http_requests_rate{host=~\"$host\"}", "interval": "", @@ -3780,6 +4399,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_http_responses_rate{host=~\"$host\"}", "hide": false, @@ -3788,103 +4411,105 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Request, Response instant value by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*response.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 22 + "y": 55 }, - "hiddenSeries": false, "id": 726, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:2495", - "alias": "/.*response.*/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_10_requests{host=~\"$host\"}[2m])", "interval": "", @@ -3892,6 +4517,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_11_requests{host=~\"$host\"}[2m])", "hide": false, @@ -3900,6 +4529,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_10_responses{host=~\"$host\"}[2m])", "hide": false, @@ -3908,6 +4541,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_10_responses{host=~\"$host\"}[2m])", "hide": false, @@ -3916,97 +4553,92 @@ "refId": "D" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HTTP request/response by version by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 22 + "y": 55 }, - "hiddenSeries": false, "id": 725, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_gets{host=~\"$host\"}[2m])", "interval": "", @@ -4014,6 +4646,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_posts{host=~\"$host\"}[2m])", "hide": false, @@ -4022,6 +4658,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_others{host=~\"$host\"}[2m])", "hide": false, @@ -4030,97 +4670,92 @@ "refId": "C" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HTTP methods by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 30 + "y": 63 }, - "hiddenSeries": false, "id": 727, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_chunked_requests{host=~\"$host\"}[2m])", "interval": "", @@ -4128,6 +4763,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_tot_chunked_responses{host=~\"$host\"}[2m])", "hide": false, @@ -4136,97 +4775,92 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "HTTP chunked by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "reqps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 30 + "y": 63 }, - "hiddenSeries": false, "id": 729, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_err_tot_incomplete_header_packets{host=~\"$host\"}[2m])", "interval": "", @@ -4234,6 +4868,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_err_tot_server_responses{host=~\"$host\"}[2m])", "hide": false, @@ -4242,6 +4880,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_err_tot_large_body_packets{host=~\"$host\"}[2m])", "hide": false, @@ -4250,6 +4892,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_err_tot_large_chunk_requests{host=~\"$host\"}[2m])", "hide": false, @@ -4258,742 +4904,822 @@ "refId": "D" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_http_err_tot_large_content_requests{host=~\"$host\"}[2m])", "hide": false, "interval": "", "legendFormat": "too large content size {{ host }}", - "refId": "E" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "HTTP \"errors\" by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "reqps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "refId": "E" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "HTTP \"errors\" by second", + "type": "timeseries" }, { - "collapsed": true, - "datasource": null, + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 38 + "y": 71 }, "id": 40, - "panels": [ + "panels": [], + "targets": [ { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": null, - "filterable": false + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], + "title": "Load Balacing", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + { + "color": "red", + "value": 80 } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Inactive Count" }, - "overrides": [ + "properties": [ { - "matcher": { - "id": "byName", - "options": "Inactive Count" - }, - "properties": [ - { - "id": "custom.width", - "value": 109 - }, - { - "id": "custom.displayMode", - "value": "color-background" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "red", - "value": 2 - } - ] - } - } - ] + "id": "custom.width", + "value": 109 }, { - "matcher": { - "id": "byName", - "options": "Hit Rate/s" - }, - "properties": [ - { - "id": "custom.width", - "value": 85 - } - ] + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { - "matcher": { - "id": "byName", - "options": "Sessions" - }, - "properties": [ - { - "id": "custom.width", - "value": 89 - }, - { - "id": "custom.displayMode", - "value": "color-background" - } - ] - }, + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "#EAB839", + "value": 1 + }, + { + "color": "red", + "value": 2 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Hit Rate/s" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "TTLB" - }, - "properties": [ - { - "id": "custom.width", - "value": 88 - } - ] - }, + "id": "custom.width", + "value": 85 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Sessions" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Bussy Error" - }, - "properties": [ - { - "id": "custom.width", - "value": 100 - } - ] + "id": "custom.width", + "value": 89 }, { - "matcher": { - "id": "byName", - "options": "Srv cnx" - }, - "properties": [ - { - "id": "custom.width", - "value": 80 - } - ] - }, + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "TTLB" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Client cnx" - }, - "properties": [ - { - "id": "custom.width", - "value": 91 - } - ] - }, + "id": "custom.width", + "value": 88 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Bussy Error" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Service Type" - }, - "properties": [ - { - "id": "custom.width", - "value": 95 - } - ] - }, + "id": "custom.width", + "value": 100 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Srv cnx" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Tot member" - }, - "properties": [ - { - "id": "custom.width", - "value": 101 - } - ] - }, + "id": "custom.width", + "value": 80 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Client cnx" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Service" - }, - "properties": [ - { - "id": "links", - "value": [ - { - "targetBlank": true, - "title": "Show Group Details", - "url": "/d/o1Hsj1vIz/citrix-adc-netscaler-services-stats?orgId=1&refresh=1m&${segment:queryparam}&${host:queryparam}&var-service=${__data.fields.lb_name}&$__url_time_range" - } - ] - } - ] - }, + "id": "custom.width", + "value": 91 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Service Type" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "hits/s" - }, - "properties": [ - { - "id": "custom.width", - "value": 83 - } - ] - }, + "id": "custom.width", + "value": 95 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Tot member" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "In req/s" - }, - "properties": [ - { - "id": "custom.width", - "value": 82 - } - ] - }, + "id": "custom.width", + "value": 101 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Service" + }, + "properties": [ { - "matcher": { - "id": "byName", - "options": "Out req/s" - }, - "properties": [ + "id": "links", + "value": [ { - "id": "custom.width", - "value": 86 + "targetBlank": true, + "title": "Show Group Details", + "url": "/d/o1Hsj1vIz/citrix-adc-netscaler-services-stats?orgId=1&refresh=1m&${segment:queryparam}&${host:queryparam}&var-service=${__data.fields.lb_name}&$__url_time_range" } ] } ] }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 39 - }, - "id": 1932, - "options": { - "showHeader": true, - "sortBy": [ + { + "matcher": { + "id": "byName", + "options": "hits/s" + }, + "properties": [ { - "desc": true, - "displayName": "Service" + "id": "custom.width", + "value": 83 } ] }, - "pluginVersion": "7.5.11", - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_lb_inactive_services_count{host=~\"$host\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_count" - }, - { - "exemplar": true, - "expr": "count(citrixadc_servicegroup_status{host=~\"$host\"}) without(citrixadc_service_ip, citrixadc_service_port, citrixadc_servicegroup_name,citrixadc_servicegroup_membername)", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_members_count" - }, - { - "exemplar": true, - "expr": "citrixadc_lb_hits_rate{host=~\"$host\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_hists_rate" - }, - { - "exemplar": true, - "expr": "citrixadc_lb_actual_server_current_connections{host=~\"$host\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_current_srv_cnx" - }, - { - "exemplar": true, - "expr": "citrixadc_lb_current_client_connection_count{host=~\"$host\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_current_client_cnx" - }, - { - "exemplar": true, - "expr": "citrixadc_lb_active_sessions_count {host=~\"$host\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_sessions_count" - }, - { - "exemplar": true, - "expr": "citrixadc_lb_average_ttlb{host=~\"$host\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_average_ttlb" - }, - { - "exemplar": true, - "expr": "rate(citrixadc_lb_hits_total{host=~\"$host\"}[2m])", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_hits_total" - }, - { - "exemplar": true, - "expr": "avg_over_time(citrixadc_lb_busy_error_total{host=~\"$host\"}[$__range])", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_busy_error_total" - }, - { - "exemplar": true, - "expr": "rate(citrixadc_lb_requests_total{host=~\"$host\"}[2m])", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_rate_request_bytes" + { + "matcher": { + "id": "byName", + "options": "In req/s" }, - { - "exemplar": true, - "expr": "rate(citrixadc_lb_responses_total{host=~\"$host\"}[2m])", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "lb_service_rate_response_bytes" - } - ], - "title": "LBC Overview", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "lb_name", - "lb_type", - "Value #lb_service_count", - "Value #lb_service_members_count", - "Value #lb_service_hists_rate", - "Value #lb_service_current_srv_cnx", - "Value #lb_service_current_client_cnx", - "Value #lb_service_sessions_count", - "Value #lb_average_ttlb", - "Value #lb_service_hits_total", - "Value #lb_service_busy_error_total", - "Value #lb_service_rate_request_bytes", - "Value #lb_service_rate_response_bytes" - ] - } + "properties": [ + { + "id": "custom.width", + "value": 82 } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Out req/s" }, - { - "id": "merge", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #lb_average_ttlb": 8, - "Value #lb_service_busy_error_total": 12, - "Value #lb_service_count": 3, - "Value #lb_service_current_client_cnx": 5, - "Value #lb_service_current_srv_cnx": 6, - "Value #lb_service_hists_rate": 4, - "Value #lb_service_hits_total": 9, - "Value #lb_service_members_count": 2, - "Value #lb_service_rate_request_bytes": 10, - "Value #lb_service_rate_response_bytes": 11, - "Value #lb_service_sessions_count": 7, - "lb_name": 0, - "lb_type": 1 - }, - "renameByName": { - "Value #lb_average_ttlb": "TTLB", - "Value #lb_service_busy_error_total": "Bussy Error", - "Value #lb_service_count": "Inactive Count", - "Value #lb_service_current_client_cnx": "Client cnx", - "Value #lb_service_current_cnx": "Cnx", - "Value #lb_service_current_srv_cnx": "Srv cnx", - "Value #lb_service_hists_rate": "Hit Rate/s", - "Value #lb_service_hits_total": "hits/s", - "Value #lb_service_members_count": "Tot member", - "Value #lb_service_rate_request_bytes": "In req/s", - "Value #lb_service_rate_response_bytes": "Out req/s", - "Value #lb_service_sessions_count": "Sessions", - "lb_name": "Service", - "lb_type": "Service Type" - } + "properties": [ + { + "id": "custom.width", + "value": 86 } - } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 72 + }, + "id": 1932, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "table" + "show": false }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Service" + } + ] + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": {}, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 14, - "w": 24, - "x": 0, - "y": 47 + "exemplar": true, + "expr": "citrixadc_lb_inactive_services_count{host=~\"$host\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_count" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 42, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "exemplar": true, + "expr": "count(citrixadc_servicegroup_status{host=~\"$host\"}) without(citrixadc_service_ip, citrixadc_service_port, citrixadc_servicegroup_name,citrixadc_servicegroup_membername)", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_members_count" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true + "exemplar": true, + "expr": "citrixadc_lb_hits_rate{host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_hists_rate" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "rate(citrixadc_lb_hits_total{host=~\"$host\"}[2m])", - "interval": "", - "legendFormat": "{{ lb_name }} {{ lb_type }}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total Hits/s by LB Service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "exemplar": true, + "expr": "citrixadc_lb_actual_server_current_connections{host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_current_srv_cnx" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_lb_current_client_connection_count{host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_current_client_cnx" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_lb_active_sessions_count {host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_sessions_count" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_lb_average_ttlb{host=~\"$host\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_average_ttlb" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(citrixadc_lb_hits_total{host=~\"$host\"}[2m])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_hits_total" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "exemplar": true, + "expr": "avg_over_time(citrixadc_lb_busy_error_total{host=~\"$host\"}[$__range])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_busy_error_total" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "exemplar": true, + "expr": "rate(citrixadc_lb_requests_total{host=~\"$host\"}[2m])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_rate_request_bytes" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(citrixadc_lb_responses_total{host=~\"$host\"}[2m])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "lb_service_rate_response_bytes" + } + ], + "title": "LBC Overview", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "lb_name", + "lb_type", + "Value #lb_service_count", + "Value #lb_service_members_count", + "Value #lb_service_hists_rate", + "Value #lb_service_current_srv_cnx", + "Value #lb_service_current_client_cnx", + "Value #lb_service_sessions_count", + "Value #lb_average_ttlb", + "Value #lb_service_hits_total", + "Value #lb_service_busy_error_total", + "Value #lb_service_rate_request_bytes", + "Value #lb_service_rate_response_bytes" + ] } - ], - "yaxis": { - "align": false, - "alignLevel": null } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "description": "", - "fieldConfig": { - "defaults": { - "unit": "percent" + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Value #lb_average_ttlb": 8, + "Value #lb_service_busy_error_total": 12, + "Value #lb_service_count": 3, + "Value #lb_service_current_client_cnx": 5, + "Value #lb_service_current_srv_cnx": 6, + "Value #lb_service_hists_rate": 4, + "Value #lb_service_hits_total": 9, + "Value #lb_service_members_count": 2, + "Value #lb_service_rate_request_bytes": 10, + "Value #lb_service_rate_response_bytes": 11, + "Value #lb_service_sessions_count": 7, + "lb_name": 0, + "lb_type": 1 }, - "overrides": [] + "renameByName": { + "Value #lb_average_ttlb": "TTLB", + "Value #lb_service_busy_error_total": "Bussy Error", + "Value #lb_service_count": "Inactive Count", + "Value #lb_service_current_client_cnx": "Client cnx", + "Value #lb_service_current_cnx": "Cnx", + "Value #lb_service_current_srv_cnx": "Srv cnx", + "Value #lb_service_hists_rate": "Hit Rate/s", + "Value #lb_service_hits_total": "hits/s", + "Value #lb_service_members_count": "Tot member", + "Value #lb_service_rate_request_bytes": "In req/s", + "Value #lb_service_rate_response_bytes": "Out req/s", + "Value #lb_service_sessions_count": "Sessions", + "lb_name": "Service", + "lb_type": "Service Type" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "fill": 0, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 61 + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "hiddenSeries": false, - "id": 896, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 14, + "w": 24, + "x": 0, + "y": 80 + }, + "id": 42, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "sum by(lb_name) (citrixadc_lb_members_up_total{host=~\"$host\"})", - "interval": "", - "legendFormat": "client connection {{ lb_name }}", - "refId": "A" + "exemplar": true, + "expr": "rate(citrixadc_lb_hits_total{host=~\"$host\"}[2m])", + "interval": "", + "legendFormat": "{{ lb_name }} {{ lb_type }}", + "refId": "A" + } + ], + "title": "Total Hits/s by LB Service", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "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": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "percent of members UP for service", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:1198", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": null, - "show": true - }, - { - "$$hashKey": "object:1199", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 94 + }, + "id": 896, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "sum by(lb_name) (citrixadc_lb_members_up_total{host=~\"$host\"})", + "interval": "", + "legendFormat": "client connection {{ lb_name }}", + "refId": "A" } ], - "title": "Load Balacing", - "type": "row" + "title": "percent of members UP for service", + "type": "timeseries" }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 39 + "y": 103 }, "id": 20, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "SSL", "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 40 + "y": 104 }, - "hiddenSeries": false, "id": 22, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ssl_tot_tlsv11_sessions{host=~\"$host\"}[2m])", "interval": "", @@ -5001,6 +5727,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ssl_tot_v2_sessions{host=~\"$host\"}[2m])", "hide": false, @@ -5009,95 +5739,92 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "SSL V2 session by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": {}, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 40 + "y": 104 }, - "hiddenSeries": false, "id": 23, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ssl_tot_sessions{host=~\"$host\"}[2m])", "interval": "", @@ -5105,95 +5832,92 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Total SSL session by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 48 + "y": 112 }, - "hiddenSeries": false, "id": 24, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ssl_tot_encode{host=~\"$host\"}[2m])", "hide": false, @@ -5202,95 +5926,92 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Total SSL encode by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { - "defaults": {}, + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 48 + "y": 112 }, - "hiddenSeries": false, "id": 25, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_ssl_crypto_utilization_stat{host=~\"$host\"}[2m])", "hide": false, @@ -5299,67 +6020,32 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Total SSL crypto usage by second", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:305", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:306", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -5387,12 +6073,12 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "_", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "_" + } + }, + "type": "value" } ] } @@ -5412,12 +6098,12 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "None", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "None" + } + }, + "type": "value" } ] } @@ -5457,28 +6143,18 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Up", - "to": "", - "type": 1, - "value": "7" - }, - { - "from": "", - "id": 2, - "text": "Down", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 3, - "text": "Unknown", - "to": "", - "type": 1, - "value": "2" + "options": { + "1": { + "text": "Down" + }, + "2": { + "text": "Unknown" + }, + "7": { + "text": "Up" + } + }, + "type": "value" } ] }, @@ -5488,8 +6164,7 @@ "mode": "absolute", "steps": [ { - "color": "red", - "value": null + "color": "red" }, { "color": "rgb(176, 171, 171)", @@ -5507,8 +6182,11 @@ } }, { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "custom.align", @@ -5544,16 +6222,29 @@ "h": 8, "w": 24, "x": 0, - "y": 56 + "y": 120 }, "id": 2255, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_sslvserver_status{host=~\"$host\"}", "format": "table", @@ -5563,6 +6254,10 @@ "refId": "Status" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_sslvserver_active_services{host=~\"$host\"}", "format": "table", @@ -5573,6 +6268,10 @@ "refId": "Active Service" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_sslvserver_health{host=~\"$host\"}", "format": "table", @@ -5583,6 +6282,10 @@ "refId": "Health_Percent" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_session_new{host=~\"$host\"}[5m])", "format": "table", @@ -5593,6 +6296,10 @@ "refId": "New_session_rate" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_decrypt_bytes{host=~\"$host\"}[5m])", "format": "table", @@ -5603,6 +6310,10 @@ "refId": "Decrypted_bytes_rate" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_encrypt_bytes{host=~\"$host\"}[5m])", "format": "table", @@ -5613,6 +6324,10 @@ "refId": "Encrypted_bytes_rate" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_decrypt_hardware_bytes{host=~\"$host\"}[5m])", "format": "table", @@ -5623,6 +6338,10 @@ "refId": "Decrypted_hw_bytes_rate" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(citrixadc_sslvserver_total_encrypt_hardware_bytes{host=~\"$host\"}[5m])", "format": "table", @@ -5694,23 +6413,28 @@ "type": "table" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -5737,8 +6461,7 @@ "mode": "absolute", "steps": [ { - "color": "red", - "value": null + "color": "red" }, { "color": "#EAB839", @@ -5752,8 +6475,11 @@ } }, { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } } ] }, @@ -5775,15 +6501,34 @@ "h": 7, "w": 24, "x": 0, - "y": 64 + "y": 128 }, "id": 27, "options": { - "showHeader": true + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "Expiration in Days" + } + ] }, - "pluginVersion": "7.5.11", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "citrixadc_ssl_cert_days_to_expire{host=~\"$host\"}", "format": "table", @@ -5793,6 +6538,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "(time() + (citrixadc_ssl_cert_days_to_expire{host=~\"$host\"} * 86400)) * 1000", "format": "table", @@ -5836,372 +6585,390 @@ "type": "table" }, { - "collapsed": true, - "datasource": null, + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 71 + "y": 135 }, "id": 52, - "panels": [ + "panels": [], + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 158 - }, - "hiddenSeries": false, - "id": 49, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "refId": "A" + } + ], + "title": "AAA Stats", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "rate(citrixadc_aaa_auth_success{host=~\"$host\"}[2m])", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "success auth", - "refId": "A" - }, - { - "exemplar": true, - "expr": "rate(citrixadc_aaa_auth_fail{host=~\"$host\"}[2m])", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "failed auth", - "refId": "B" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Auth", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 136 + }, + "id": 49, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "rate(citrixadc_aaa_auth_success{host=~\"$host\"}[2m])", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "success auth", + "refId": "A" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 158 + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 53, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "exemplar": true, + "expr": "rate(citrixadc_aaa_auth_fail{host=~\"$host\"}[2m])", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "failed auth", + "refId": "B" + } + ], + "title": "Auth", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "rate(citrixadc_aaa_tot_sessions{host=~\"$host\"}[2m])", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "Total session", - "refId": "A" - }, - { - "exemplar": true, - "expr": "rate(citrixadc_aaa_tot_sessiontimeout{host=~\"$host\"}[2m])", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Timeout session", - "refId": "B" - }, - { - "exemplar": true, - "expr": "rate(citrixadc_aaa_tot_tm_sessions{host=~\"$host\"}[2m])", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "TM? session", - "refId": "C" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Session", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 136 + }, + "id": 53, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "description": "Count of current Basic ICA only connections.\nCount of current SmartAccess ICA connections.", - "fieldConfig": { - "defaults": {}, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 167 + "exemplar": true, + "expr": "rate(citrixadc_aaa_tot_sessions{host=~\"$host\"}[2m])", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Total session", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "hiddenSeries": false, - "id": 1170, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "exemplar": true, + "expr": "rate(citrixadc_aaa_tot_sessiontimeout{host=~\"$host\"}[2m])", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Timeout session", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "exemplar": true, + "expr": "rate(citrixadc_aaa_tot_tm_sessions{host=~\"$host\"}[2m])", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "TM? session", + "refId": "C" + } + ], + "title": "Session", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Count of current Basic ICA only connections.\nCount of current SmartAccess ICA connections.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "percentage": false, - "pluginVersion": "7.5.11", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "citrixadc_aaa_cur_ica_conn{host=~\"$host\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "SmartAccess ICA", - "refId": "A" - }, - { - "exemplar": true, - "expr": "citrixadc_aaa_cur_ica_only_conn{host=~\"$host\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Basic ICA only conn", - "refId": "B" + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "ICA", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] }, - "yaxes": [ - { - "$$hashKey": "object:144", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:145", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 145 + }, + "id": 1170, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_aaa_cur_ica_conn{host=~\"$host\"}", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "SmartAccess ICA", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "citrixadc_aaa_cur_ica_only_conn{host=~\"$host\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Basic ICA only conn", + "refId": "B" } ], - "title": "AAA Stats", - "type": "row" + "title": "ICA", + "type": "timeseries" } ], "refresh": "1m", - "schemaVersion": 27, + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up, segment)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "Segment", @@ -6217,18 +6984,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_THANOS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(citrixadc_up{segment=~\"$segment\"}, host)", - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "Hostname", @@ -6244,7 +7010,6 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -6285,5 +7050,6 @@ "timezone": "", "title": "CITRIX ADC Netscaler Stats", "uid": "NT3Z0MJkk", - "version": 12 + "version": 88, + "weekStart": "" } \ No newline at end of file diff --git a/contribs/netscaler/etc/netscaler/metrics/hanode_metrics.collector.yml b/contribs/netscaler/etc/netscaler/metrics/hanode_metrics.collector.yml index 94e3235..fa8c116 100644 --- a/contribs/netscaler/etc/netscaler/metrics/hanode_metrics.collector.yml +++ b/contribs/netscaler/etc/netscaler/metrics/hanode_metrics.collector.yml @@ -87,10 +87,10 @@ scripts: query: url: /stat/hanode var_name: results - # debug: true + debug: true - name: proceed elements - when: eq .hacurstatus "YES" + when: eq .results.hanode.hacurstatus "YES" scope: results.hanode metrics: - metric_name: available diff --git a/contribs/veeam/dashboards/Veeam Enterprise Manager.json b/contribs/veeam/dashboards/Veeam Enterprise Manager.json index df641f6..1e5e0e7 100644 --- a/contribs/veeam/dashboards/Veeam Enterprise Manager.json +++ b/contribs/veeam/dashboards/Veeam Enterprise Manager.json @@ -9,6 +9,7 @@ "pluginName": "Prometheus" } ], + "__elements": {}, "__requires": [ { "type": "panel", @@ -20,18 +21,18 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "7.5.16" + "version": "9.5.15" }, { "type": "panel", "id": "graph", - "name": "Graph", + "name": "Graph (old)", "version": "" }, { "type": "panel", "id": "piechart", - "name": "Pie chart v2", + "name": "Pie chart", "version": "" }, { @@ -46,18 +47,33 @@ "name": "Stat", "version": "" }, + { + "type": "panel", + "id": "state-timeline", + "name": "State timeline", + "version": "" + }, { "type": "panel", "id": "table", "name": "Table", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -68,15 +84,18 @@ }, "description": "", "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, - "iteration": 1695551238041, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -85,11 +104,23 @@ }, "id": 2, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Enterprise Manager - Summary", "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -167,9 +198,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"server\", type=\"backup\"}", "interval": "", @@ -181,7 +216,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -222,9 +260,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"server\", type=\"repository\"}", "interval": "", @@ -236,7 +278,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -277,9 +322,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"server\", type=\"proxy\"}", "interval": "", @@ -291,7 +340,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -332,9 +384,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"tasks\", type=\"scheduled_jobs\"}", "interval": "", @@ -346,7 +402,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -388,9 +447,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_vms_total_bytes{instance=~\"$enterprisemanager\", type=\"source_vms\"}", "interval": "", @@ -402,7 +465,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -444,9 +510,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_vms_total_bytes{instance=~\"$enterprisemanager\", type=\"full_backup_points\"}", "interval": "", @@ -458,7 +528,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -499,9 +572,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"tasks\", type=\"successful_vms\"}", "interval": "", @@ -513,7 +590,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -554,9 +634,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"tasks\", type=\"warning_vms\"}", "interval": "", @@ -568,7 +652,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -609,9 +696,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_element_count{instance=~\"$enterprisemanager\", count_type=\"tasks\", type=\"failed_vms\"}", "interval": "", @@ -623,7 +714,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -664,9 +758,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_vms_count{instance=~\"$enterprisemanager\", type=\"protected\"}", "interval": "", @@ -678,7 +776,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -720,9 +821,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_vms_total_bytes{instance=~\"$enterprisemanager\", type=\"incremental_backup_points\"}", "interval": "", @@ -734,7 +839,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -776,9 +884,13 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_vms_total_bytes{instance=~\"$enterprisemanager\", type=\"replica_restore_points\"}", "interval": "", @@ -791,7 +903,10 @@ }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -801,7 +916,10 @@ "id": 157, "panels": [ { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -809,16 +927,19 @@ "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "#EAB839", @@ -840,8 +961,11 @@ }, "properties": [ { - "id": "custom.displayMode", - "value": "lcd-gauge" + "id": "custom.cellOptions", + "value": { + "mode": "lcd", + "type": "gauge" + } }, { "id": "thresholds", @@ -849,8 +973,7 @@ "mode": "percentage", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "#EAB839", @@ -862,6 +985,10 @@ } ] } + }, + { + "id": "max", + "value": 1 } ] }, @@ -919,6 +1046,15 @@ }, "id": 14, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -927,9 +1063,13 @@ } ] }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "1 - (sum(veeam_em_overview_repositories_capacity_free_bytes{}) by (name, type) / sum(veeam_em_overview_repositories_capacity_total_bytes{}) by (name, type) )", "format": "table", @@ -939,6 +1079,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(veeam_em_overview_repositories_capacity_total_bytes{}) by (name, type)", "format": "table", @@ -949,6 +1093,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "sum(veeam_em_overview_repositories_capacity_free_bytes{}) by (name, type)", "format": "table", @@ -1002,12 +1150,24 @@ "type": "table" } ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Repositories", "type": "row" }, { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, @@ -1016,26 +1176,36 @@ }, "id": 36, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Job Historical Performance and Duration", "type": "row" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } }, + "mappings": [], "unit": "short" }, "overrides": [ @@ -1101,8 +1271,8 @@ }, { "matcher": { - "id": "byRegexp", - "options": "/(Idle)|(Working)/" + "id": "byName", + "options": "Working" }, "properties": [ { @@ -1131,6 +1301,7 @@ "legend": { "displayMode": "table", "placement": "right", + "showLegend": true, "values": [ "value" ] @@ -1143,11 +1314,19 @@ "fields": "", "values": false }, - "text": {} + "text": {}, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "pluginVersion": "7.5.5", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 1) or vector(0)", "instant": true, @@ -1156,6 +1335,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 2) or vector(0)", "hide": false, @@ -1165,6 +1348,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 3) or vector(0)", "hide": false, @@ -1174,6 +1361,10 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 4) or vector(0)", "hide": false, @@ -1183,36 +1374,42 @@ "refId": "D" }, { - "exemplar": true, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 5) or vector(0)", "hide": false, + "instant": true, "interval": "", "legendFormat": "Working", + "range": false, "refId": "E" } ], - "timeFrom": null, - "timeShift": null, "title": "Backup Job State (last 24 hours)", "type": "piechart" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } }, + "mappings": [], "unit": "short" }, "overrides": [ @@ -1278,8 +1475,8 @@ }, { "matcher": { - "id": "byRegexp", - "options": "/(Idle)|(Working)/" + "id": "byName", + "options": "Working" }, "properties": [ { @@ -1308,6 +1505,7 @@ "legend": { "displayMode": "table", "placement": "right", + "showLegend": true, "values": [ "value" ] @@ -1320,58 +1518,170 @@ "fields": "", "values": false }, - "text": {} + "text": {}, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "pluginVersion": "7.5.5", "targets": [ { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\"} == 1) or vector(0)", - "instant": false, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"} == 1) or vector(0)", + "instant": true, "interval": "", "legendFormat": "Success", + "range": false, "refId": "A" }, { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\"} == 2) or vector(0)", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"} == 2) or vector(0)", "hide": false, + "instant": true, "interval": "", "legendFormat": "Warning", + "range": false, "refId": "B" }, { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\"} == 3) or vector(0)", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"} == 3) or vector(0)", "hide": false, + "instant": true, "interval": "", "legendFormat": "Failed", + "range": false, "refId": "C" }, { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 4) or vector(0)", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"} == 4) or vector(0)", "hide": false, + "instant": true, "interval": "", "legendFormat": "Idle", + "range": false, "refId": "D" }, { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"} == 5) or vector(0)", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"} == 5) or vector(0)", "hide": false, + "instant": true, "interval": "", "legendFormat": "Working", + "range": false, "refId": "E" } ], - "timeFrom": null, - "timeShift": null, - "title": "Backup VM Jobs State (last 24 hours)", + "title": "Backup VM Jobs Tasks State (last 24 hours)", "type": "piechart" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "fillOpacity": 70, + "lineWidth": 0, + "spanNulls": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "#EAB839", + "value": 1 + }, + { + "color": "red", + "value": 3 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 22 + }, + "id": 231, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": true, + "rowHeight": 0.9, + "showValue": "auto", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "avg without(name)(veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\"})\r\n\r\n+ 0 * (avg without(name) (veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"}==3) )", + "legendFormat": "{{ jobname }}", + "range": true, + "refId": "A" + } + ], + "title": "Failed Jobs Retries", + "type": "state-timeline" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1379,16 +1689,19 @@ "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1405,59 +1718,37 @@ }, "properties": [ { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Success", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 2, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" - }, - { - "from": "", - "id": 3, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" - }, - { - "from": "", - "id": 4, - "text": "Idle", - "to": "", - "type": 1, - "value": "4" - }, - { - "from": "", - "id": 6, - "text": "Working", - "to": "", - "type": 1, - "value": "5" - }, - { - "from": "", - "id": 7, - "text": "!! undefined !!", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "!! undefined !!" + }, + "1": { + "text": "Success" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Idle" + }, + "5": { + "text": "Working" + } + }, + "type": "value" } ] }, @@ -1467,8 +1758,7 @@ "mode": "absolute", "steps": [ { - "color": "rgb(106, 107, 105)", - "value": null + "color": "rgb(106, 107, 105)" }, { "color": "green", @@ -1485,6 +1775,10 @@ { "color": "rgb(164, 168, 168)", "value": 4 + }, + { + "color": "super-light-purple", + "value": 5 } ] } @@ -1555,7 +1849,7 @@ "properties": [ { "id": "custom.width", - "value": 308 + "value": 509 } ] }, @@ -1579,7 +1873,7 @@ "properties": [ { "id": "custom.width", - "value": 602 + "value": 649 } ] }, @@ -1601,10 +1895,19 @@ "h": 8, "w": 24, "x": 0, - "y": 22 + "y": 32 }, "id": 87, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -1613,9 +1916,13 @@ } ] }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\"}", "format": "table", @@ -1626,6 +1933,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_jobs_sessions_duration{instance=~\"$enterprisemanager\"}", "format": "table", @@ -1636,6 +1947,10 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\"}", "format": "table", @@ -1690,7 +2005,10 @@ "type": "table" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1698,16 +2016,19 @@ "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1724,59 +2045,37 @@ }, "properties": [ { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Success", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 2, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" - }, - { - "from": "", - "id": 3, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" - }, - { - "from": "", - "id": 4, - "text": "Idle", - "to": "", - "type": 1, - "value": "4" - }, - { - "from": "", - "id": 5, - "text": "!! Undefined !!", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 6, - "text": "Working", - "to": "", - "type": 1, - "value": "5" + "options": { + "0": { + "text": "!! Undefined !!" + }, + "1": { + "text": "Success" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Idle" + }, + "5": { + "text": "Working" + } + }, + "type": "value" } ] }, @@ -1786,8 +2085,7 @@ "mode": "absolute", "steps": [ { - "color": "rgb(106, 107, 105)", - "value": null + "color": "rgb(106, 107, 105)" }, { "color": "green", @@ -1804,6 +2102,10 @@ { "color": "rgb(164, 168, 168)", "value": 4 + }, + { + "color": "super-light-purple", + "value": 5 } ] } @@ -1912,23 +2214,37 @@ "h": 9, "w": 24, "x": 0, - "y": 30 + "y": 40 }, "id": 160, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { - "desc": false, - "displayName": "vmname" + "desc": true, + "displayName": "Status" } ] }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\"}", + "expr": "veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\"}", "format": "table", "hide": false, "instant": true, @@ -1937,8 +2253,13 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_duration{instance=~\"$enterprisemanager\"}", + "expr": "veeam_em_jobs_tasks_sessions_duration{instance=~\"$enterprisemanager\"}", "format": "table", "hide": false, "instant": true, @@ -1947,8 +2268,13 @@ "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_retries{instance=~\"$enterprisemanager\"}", + "expr": "veeam_em_jobs_tasks_sessions_retries{instance=~\"$enterprisemanager\"}", "format": "table", "hide": true, "instant": true, @@ -1957,8 +2283,13 @@ "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_total_bytes{instance=~\"$enterprisemanager\"}", + "expr": "veeam_em_jobs_tasks_sessions_total_bytes{instance=~\"$enterprisemanager\"}", "format": "table", "hide": false, "instant": true, @@ -1967,7 +2298,7 @@ "refId": "D" } ], - "title": "Backup VMJob Status", + "title": "Backup VM JobTasks Status", "transformations": [ { "id": "filterFieldsByName", @@ -2014,23 +2345,29 @@ "type": "table" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2050,50 +2387,33 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Undefined", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" - }, - { - "from": "", - "id": 3, - "text": "Pending", - "to": "", - "type": 1, - "value": "4" - }, - { - "from": "", - "id": 4, - "text": "Working", - "to": "", - "type": 1, - "value": "5" - }, - { - "from": "", - "id": 5, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" + "options": { + "0": { + "text": "Undefined" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Pending" + }, + "5": { + "text": "Working" + } + }, + "type": "value" } ] }, { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "thresholds", @@ -2101,8 +2421,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "rgb(131, 135, 135)", @@ -2171,18 +2490,32 @@ "h": 8, "w": 24, "x": 0, - "y": 39 + "y": 49 }, "id": 169, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_error{instance=~\"$enterprisemanager\"}", + "expr": "veeam_em_jobs_tasks_sessions_error{instance=~\"$enterprisemanager\"}", "format": "table", "instant": true, "interval": "", @@ -2190,7 +2523,7 @@ "refId": "A" } ], - "title": "Backup VMJob Errors", + "title": "Backup VM JobTasks Errors", "transformations": [ { "id": "filterFieldsByName", @@ -2233,7 +2566,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "unit": "s" @@ -2246,7 +2582,7 @@ "h": 8, "w": 12, "x": 0, - "y": 47 + "y": 57 }, "hiddenSeries": false, "id": 34, @@ -2266,7 +2602,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.16", + "pluginVersion": "9.5.15", "pointradius": 2, "points": false, "renderer": "flot", @@ -2276,6 +2612,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_overview_jobs_max_duration{instance=~\"$enterprisemanager\"}", "interval": "", @@ -2283,6 +2623,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "avg(veeam_em_jobs_sessions_duration{instance=~\"$enterprisemanager\"}) by(backupserver)", "hide": false, @@ -2292,9 +2636,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Job Duration (All type)", "tooltip": { "shared": true, @@ -2303,9 +2645,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2313,75 +2653,103 @@ { "$$hashKey": "object:341", "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:342", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "percentunit" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 47 + "y": 57 }, - "hiddenSeries": false, "id": 133, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "7.5.16", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "1 - (count (veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\"} != 0 ) by(instance, backupserver)/ count(veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\"} ) by(instance, backupserver) )", "interval": "", @@ -2389,1301 +2757,1364 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Job Reries percent (All type)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:341", - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:342", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Job Retries percent (All type)", + "type": "timeseries" }, { - "collapsed": false, - "datasource": null, + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 55 + "y": 65 }, "id": 135, - "panels": [], - "repeat": "backupserver", - "title": "backup Jobs for [$backupserver]", - "type": "row" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Warning" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Success" + }, + "mappings": [], + "unit": "short" }, - "properties": [ + "overrides": [ { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Failed" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "Warning" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + }, { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } + "matcher": { + "id": "byName", + "options": "Success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Failed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Idle" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Working" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] } ] }, - { - "matcher": { - "id": "byName", - "options": "Idle" + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 26 + }, + "id": 136, + "options": { + "displayLabels": [ + "value", + "name" + ], + "legend": { + "displayMode": "table", + "placement": "right", + "showLegend": true, + "values": [ + "value" + ] }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-purple", - "mode": "fixed" - } - } - ] + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - { - "matcher": { - "id": "byName", - "options": "Working" + "pluginVersion": "7.5.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 1) or vector(0)", + "instant": false, + "interval": "", + "legendFormat": "Success", + "refId": "A" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "super-light-purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 56 - }, - "id": 136, - "options": { - "displayLabels": [ - "value", - "name" - ], - "legend": { - "displayMode": "table", - "placement": "right", - "values": [ - "value" - ] - }, - "pieType": "donut", - "reduceOptions": { - "calcs": [ - "lastNotNull" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 2) or vector(0)", + "hide": false, + "interval": "", + "legendFormat": "Warning", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 3) or vector(0)", + "hide": false, + "interval": "", + "legendFormat": "Failed", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 4) or vector(0)", + "hide": false, + "interval": "", + "legendFormat": "Idle", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 5) or vector(0)", + "hide": false, + "interval": "", + "legendFormat": "Working", + "refId": "E" + } ], - "fields": "", - "values": false - }, - "text": {} - }, - "pluginVersion": "7.5.5", - "targets": [ - { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 1) or vector(0)", - "instant": false, - "interval": "", - "legendFormat": "Success", - "refId": "A" - }, - { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 2) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Warning", - "refId": "B" - }, - { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 3) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Failed", - "refId": "C" - }, - { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 4) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Idle", - "refId": "D" + "title": "Job State", + "type": "piechart" }, { - "exemplar": true, - "expr": "count(veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 5) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Working", - "refId": "E" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Job State", - "type": "piechart" - }, - { - "datasource": null, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": null, - "filterable": false + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "red", - "value": 80 + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Status" }, - "properties": [ - { - "id": "custom.displayMode", - "value": "color-background" - }, + "overrides": [ { - "id": "mappings", - "value": [ + "matcher": { + "id": "byName", + "options": "Status" + }, + "properties": [ { - "from": "", - "id": 1, - "text": "Success", - "to": "", - "type": 1, - "value": "1" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { - "from": "", - "id": 2, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "!! Undefined !!" + }, + "1": { + "text": "Success" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Idle" + }, + "5": { + "text": "Working" + } + }, + "type": "value" + } + ] }, { - "from": "", - "id": 3, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(106, 107, 105)" + }, + { + "color": "green", + "value": 1 + }, + { + "color": "#EAB839", + "value": 2 + }, + { + "color": "red", + "value": 3 + }, + { + "color": "rgb(164, 168, 168)", + "value": 4 + } + ] + } }, { - "from": "", - "id": 4, - "text": "Idle", - "to": "", - "type": 1, - "value": "4" - }, + "id": "custom.width", + "value": 86 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ { - "from": "", - "id": 5, - "text": "!! Undefined !!", - "to": "", - "type": 1, - "value": "0" + "id": "custom.width", + "value": 99 }, { - "from": "", - "id": 6, - "text": "Working", - "to": "", - "type": 1, - "value": "5" + "id": "unit", + "value": "s" } ] }, { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgb(106, 107, 105)", - "value": null - }, - { - "color": "green", - "value": 1 - }, - { - "color": "#EAB839", - "value": 2 - }, - { - "color": "red", - "value": 3 - }, - { - "color": "rgb(164, 168, 168)", - "value": 4 - } - ] - } + "matcher": { + "id": "byName", + "options": "type" + }, + "properties": [ + { + "id": "custom.width", + "value": 146 + } + ] }, { - "id": "custom.width", - "value": 86 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Duration" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "startdate" + }, + "properties": [ + { + "id": "custom.width", + "value": 193 + } + ] + }, { - "id": "custom.width", - "value": 99 + "matcher": { + "id": "byName", + "options": "backupserver" + }, + "properties": [ + { + "id": "custom.width", + "value": 197 + } + ] }, { - "id": "unit", - "value": "s" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "type" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "jobname" + }, + "properties": [ + { + "id": "custom.width", + "value": 256 + } + ] + }, { - "id": "custom.width", - "value": 146 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "startdate" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "jobretries" + }, + "properties": [ + { + "id": "custom.width", + "value": 75 + } + ] + }, { - "id": "custom.width", - "value": 193 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "backupserver" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "custom.width", + "value": 369 + } + ] + }, { - "id": "custom.width", - "value": 197 + "matcher": { + "id": "byName", + "options": "Retries" + }, + "properties": [ + { + "id": "custom.width", + "value": 54 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "jobtype" + }, + "properties": [ + { + "id": "custom.width", + "value": 86 + } + ] } ] }, - { - "matcher": { - "id": "byName", - "options": "jobname" + "gridPos": { + "h": 9, + "w": 16, + "x": 8, + "y": 26 + }, + "id": 155, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false }, - "properties": [ + "showHeader": true, + "sortBy": [ { - "id": "custom.width", - "value": 256 + "desc": false, + "displayName": "Status" } ] }, - { - "matcher": { - "id": "byName", - "options": "jobretries" + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" }, - "properties": [ - { - "id": "custom.width", - "value": 75 + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "veeam_em_jobs_sessions_duration{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + } + ], + "title": "Backup Job Status", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "jobname", + "name", + "Value #A", + "Value #B", + "Value #C", + "jobtype" + ] + } } - ] - }, - { - "matcher": { - "id": "byName", - "options": "name" }, - "properties": [ - { - "id": "custom.width", - "value": 369 + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Value #A": 1, + "Value #B": 3, + "Value #C": 4, + "jobname": 0, + "name": 2 + }, + "renameByName": { + "Value #A": "Status", + "Value #B": "Duration", + "Value #C": "Retries" + } } - ] + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "matcher": { - "id": "byName", - "options": "Retries" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "short" }, - "properties": [ + "overrides": [ { - "id": "custom.width", - "value": 54 + "matcher": { + "id": "byName", + "options": "Warning" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Failed" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Idle" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Working" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "super-light-purple", + "mode": "fixed" + } + } + ] } ] }, - { - "matcher": { - "id": "byName", - "options": "jobtype" + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 35 + }, + "id": 158, + "options": { + "displayLabels": [ + "value", + "name" + ], + "legend": { + "displayMode": "table", + "placement": "right", + "showLegend": true, + "values": [ + "value" + ] }, - "properties": [ - { - "id": "custom.width", - "value": 86 - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 16, - "x": 8, - "y": 56 - }, - "id": 155, - "options": { - "showHeader": true, - "sortBy": [ - { - "desc": false, - "displayName": "Status" - } - ] - }, - "pluginVersion": "7.5.16", - "targets": [ - { - "exemplar": true, - "expr": "veeam_em_jobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "exemplar": true, - "expr": "veeam_em_jobs_sessions_duration{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "B" - }, - { - "exemplar": true, - "expr": "veeam_em_jobs_sessions_retries{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "C" - } - ], - "title": "Backup Job Status", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "jobname", - "name", - "Value #A", - "Value #B", - "Value #C", - "jobtype" - ] - } - } - }, - { - "id": "merge", - "options": {} - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #A": 1, - "Value #B": 3, - "Value #C": 4, - "jobname": 0, - "name": 2 + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "renameByName": { - "Value #A": "Status", - "Value #B": "Duration", - "Value #C": "Retries" + "text": {}, + "tooltip": { + "mode": "single", + "sort": "none" } - } - } - ], - "type": "table" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Warning" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Success" + "pluginVersion": "7.5.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 1) or vector(0)", + "instant": true, + "interval": "", + "legendFormat": "Success", + "range": false, + "refId": "A" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "green", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Failed" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 2) or vector(0)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Warning", + "range": false, + "refId": "B" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "red", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Idle" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 3) or vector(0)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Failed", + "range": false, + "refId": "C" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-purple", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Working" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 4) or vector(0)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Idle", + "range": false, + "refId": "D" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "super-light-purple", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 65 - }, - "id": 158, - "options": { - "displayLabels": [ - "value", - "name" - ], - "legend": { - "displayMode": "table", - "placement": "right", - "values": [ - "value" - ] - }, - "pieType": "donut", - "reduceOptions": { - "calcs": [ - "lastNotNull" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "count(veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 5) or vector(0)", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "Working", + "range": false, + "refId": "E" + } ], - "fields": "", - "values": false + "title": "VM Jobs Tasks State", + "type": "piechart" }, - "text": {} - }, - "pluginVersion": "7.5.5", - "targets": [ { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 1) or vector(0)", - "instant": false, - "interval": "", - "legendFormat": "Success", - "refId": "A" - }, - { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 2) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Warning", - "refId": "B" - }, - { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 3) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Failed", - "refId": "C" - }, - { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 4) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Idle", - "refId": "D" - }, - { - "exemplar": true, - "expr": "count(veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"} == 5) or vector(0)", - "hide": false, - "interval": "", - "legendFormat": "Working", - "refId": "E" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "VM Jobs State", - "type": "piechart" - }, - { - "datasource": null, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": null, - "filterable": false + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "red", - "value": 80 + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Status" }, - "properties": [ - { - "id": "custom.displayMode", - "value": "color-background" - }, + "overrides": [ { - "id": "mappings", - "value": [ + "matcher": { + "id": "byName", + "options": "Status" + }, + "properties": [ { - "from": "", - "id": 1, - "text": "Success", - "to": "", - "type": 1, - "value": "1" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { - "from": "", - "id": 2, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "!! Undefined !!" + }, + "1": { + "text": "Success" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Idle" + }, + "5": { + "text": "Working" + } + }, + "type": "value" + } + ] }, { - "from": "", - "id": 3, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(106, 107, 105)" + }, + { + "color": "green", + "value": 1 + }, + { + "color": "#EAB839", + "value": 2 + }, + { + "color": "red", + "value": 3 + }, + { + "color": "rgb(164, 168, 168)", + "value": 4 + } + ] + } }, { - "from": "", - "id": 4, - "text": "Idle", - "to": "", - "type": 1, - "value": "4" - }, + "id": "custom.width", + "value": 86 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Duration" + }, + "properties": [ { - "from": "", - "id": 5, - "text": "!! Undefined !!", - "to": "", - "type": 1, - "value": "0" + "id": "custom.width", + "value": 99 }, { - "from": "", - "id": 6, - "text": "Working", - "to": "", - "type": 1, - "value": "5" + "id": "unit", + "value": "s" } ] }, { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "rgb(106, 107, 105)", - "value": null - }, - { - "color": "green", - "value": 1 - }, - { - "color": "#EAB839", - "value": 2 - }, - { - "color": "red", - "value": 3 - }, - { - "color": "rgb(164, 168, 168)", - "value": 4 - } - ] - } + "matcher": { + "id": "byName", + "options": "jobname" + }, + "properties": [ + { + "id": "custom.width", + "value": 240 + } + ] }, { - "id": "custom.width", - "value": 86 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Duration" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "Retries" + }, + "properties": [ + { + "id": "custom.width", + "value": 65 + } + ] + }, { - "id": "custom.width", - "value": 99 + "matcher": { + "id": "byName", + "options": "vmname" + }, + "properties": [ + { + "id": "custom.width", + "value": 131 + } + ] }, { - "id": "unit", - "value": "s" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "jobname" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "VM Size" + }, + "properties": [ + { + "id": "unit", + "value": "decbytes" + }, + { + "id": "custom.width", + "value": 91 + } + ] + }, { - "id": "custom.width", - "value": 240 + "matcher": { + "id": "byName", + "options": "taskname" + }, + "properties": [ + { + "id": "custom.width", + "value": 271 + } + ] } ] }, - { - "matcher": { - "id": "byName", - "options": "Retries" - }, - "properties": [ - { - "id": "custom.width", - "value": 65 - } - ] + "gridPos": { + "h": 9, + "w": 16, + "x": 8, + "y": 35 }, - { - "matcher": { - "id": "byName", - "options": "vmname" + "id": 159, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false }, - "properties": [ + "showHeader": true, + "sortBy": [ { - "id": "custom.width", - "value": 131 + "desc": true, + "displayName": "Status" } ] }, - { - "matcher": { - "id": "byName", - "options": "VM Size" + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "veeam_em_jobs_tasks_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "veeam_em_jobs_tasks_sessions_duration{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "veeam_em_jobs_tasks_sessions_retries{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" }, - "properties": [ - { - "id": "unit", - "value": "decbytes" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "id": "custom.width", - "value": 91 + "editorMode": "code", + "exemplar": true, + "expr": "veeam_em_jobs_tasks_sessions_total_bytes{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + } + ], + "title": "Backup VM Job Tasks Status", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "jobname", + "taskname", + "vmname", + "Value #A", + "Value #B", + "Value #D" + ] + } } - ] - }, - { - "matcher": { - "id": "byName", - "options": "taskname" }, - "properties": [ - { - "id": "custom.width", - "value": 271 + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Value #A": 3, + "Value #B": 4, + "Value #C": 5, + "jobname": 1, + "taskname": 2, + "vmname": 0 + }, + "renameByName": { + "Value #A": "Status", + "Value #B": "Duration", + "Value #C": "Retries", + "Value #D": "VM Size" + } } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 16, - "x": 8, - "y": 65 - }, - "id": 159, - "options": { - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "Status" - } - ] - }, - "pluginVersion": "7.5.16", - "targets": [ - { - "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_state{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_duration{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "B" - }, - { - "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_retries{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "C" - }, - { - "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_total_bytes{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "D" - } - ], - "title": "Backup VMJob Status", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "jobname", - "taskname", - "vmname", - "Value #A", - "Value #B", - "Value #D" - ] } - } - }, - { - "id": "merge", - "options": {} + ], + "type": "table" }, { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #A": 3, - "Value #B": 4, - "Value #C": 5, - "jobname": 1, - "taskname": 2, - "vmname": 0 - }, - "renameByName": { - "Value #A": "Status", - "Value #B": "Duration", - "Value #C": "Retries", - "Value #D": "VM Size" - } - } - } - ], - "type": "table" - }, - { - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": null, - "filterable": false + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Status" - }, - "properties": [ - { - "id": "mappings", - "value": [ + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "from": "", - "id": 1, - "text": "Undefined", - "to": "", - "type": 1, - "value": "0" + "color": "green" }, { - "from": "", - "id": 2, - "text": "Failed", - "to": "", - "type": 1, - "value": "3" - }, + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Status" + }, + "properties": [ { - "from": "", - "id": 3, - "text": "Pending", - "to": "", - "type": 1, - "value": "4" + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "Undefined" + }, + "2": { + "text": "Warning" + }, + "3": { + "text": "Failed" + }, + "4": { + "text": "Pending" + }, + "5": { + "text": "Working" + } + }, + "type": "value" + } + ] }, { - "from": "", - "id": 4, - "text": "Working", - "to": "", - "type": 1, - "value": "5" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { - "from": "", - "id": 5, - "text": "Warning", - "to": "", - "type": 1, - "value": "2" - } - ] - }, - { - "id": "custom.displayMode", - "value": "color-background" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "rgb(131, 135, 135)", - "value": 1 - }, - { - "color": "#EAB839", - "value": 2 - }, - { - "color": "red", - "value": 3 - }, - { - "color": "dark-purple", - "value": 4 + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "rgb(131, 135, 135)", + "value": 1 + }, + { + "color": "#EAB839", + "value": 2 + }, + { + "color": "red", + "value": 3 + }, + { + "color": "dark-purple", + "value": 4 + } + ] } - ] - } + }, + { + "id": "custom.width", + "value": 108 + } + ] }, { - "id": "custom.width", - "value": 108 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "vmname" - }, - "properties": [ + "matcher": { + "id": "byName", + "options": "vmname" + }, + "properties": [ + { + "id": "custom.width", + "value": 108 + } + ] + }, { - "id": "custom.width", - "value": 108 + "matcher": { + "id": "byName", + "options": "message" + }, + "properties": [ + { + "id": "custom.width", + "value": 507 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "taskname" + }, + "properties": [ + { + "id": "custom.width", + "value": 283 + } + ] } ] }, - { - "matcher": { - "id": "byName", - "options": "message" + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 44 + }, + "id": 170, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false }, - "properties": [ + "showHeader": true, + "sortBy": [ { - "id": "custom.width", - "value": 507 + "desc": true, + "displayName": "Status" } ] }, - { - "matcher": { - "id": "byName", - "options": "taskname" + "pluginVersion": "9.5.15", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "veeam_em_jobs_tasks_sessions_error{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "VM Backup Errors", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "backupserver", + "jobname", + "message", + "taskname", + "vmname", + "Value" + ] + } + } }, - "properties": [ - { - "id": "custom.width", - "value": 283 + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Value #A": 4, + "backupserver": 0, + "jobname": 1, + "message": 5, + "taskname": 3, + "vmname": 2 + }, + "renameByName": { + "Value": "Status", + "Value #A": "Status" + } } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 74 - }, - "id": 170, - "options": { - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "Status" - } - ] - }, - "pluginVersion": "7.5.16", - "targets": [ - { - "exemplar": true, - "expr": "veeam_em_vmjobs_sessions_error{instance=~\"$enterprisemanager\", backupserver=~\"$backupserver\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" + } + ], + "type": "table" } ], - "title": "VM Backup Errors", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "backupserver", - "jobname", - "message", - "taskname", - "vmname", - "Value" - ] - } - } - }, + "repeat": "backupserver", + "repeatDirection": "h", + "targets": [ { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": { - "Value #A": 4, - "backupserver": 0, - "jobname": 1, - "message": 5, - "taskname": 3, - "vmname": 2 - }, - "renameByName": { - "Value": "Status", - "Value #A": "Status" - } - } + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" } ], - "type": "table" + "title": "backup Jobs for [$backupserver]", + "type": "row" }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 325 + "y": 76 }, "id": 38, "panels": [ { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { - "align": null, - "filterable": false + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3703,34 +4134,27 @@ "id": "mappings", "value": [ { - "from": "", - "id": 1, - "text": "Unknown", - "to": "", - "type": 1, - "value": "0" - }, - { - "from": "", - "id": 2, - "text": "Online", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 3, - "text": "Offline", - "to": "", - "type": 1, - "value": "2" + "options": { + "0": { + "text": "Unknown" + }, + "1": { + "text": "Online" + }, + "2": { + "text": "Offline" + } + }, + "type": "value" } ] }, { - "id": "custom.displayMode", - "value": "color-background" + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } }, { "id": "thresholds", @@ -3738,8 +4162,7 @@ "mode": "absolute", "steps": [ { - "color": "rgb(142, 143, 142)", - "value": null + "color": "rgb(142, 143, 142)" }, { "color": "green", @@ -3788,10 +4211,19 @@ "h": 9, "w": 24, "x": 0, - "y": 24 + "y": 67 }, "id": 40, "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -3800,9 +4232,13 @@ } ] }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_agents_status{instance=~\"$enterprisemanager\"}", "format": "table", @@ -3845,23 +4281,37 @@ "type": "table" } ], - "repeat": null, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Veeam Agent Overview", "type": "row" }, { "collapsed": true, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 326 + "y": 77 }, "id": 16, "panels": [ { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -3872,8 +4322,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -3884,7 +4333,7 @@ "h": 3, "w": 7, "x": 0, - "y": 149 + "y": 16 }, "id": 164, "options": { @@ -3902,9 +4351,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_backup_servers_config{instance=~\"$enterprisemanager\", name=~\"$backupserver\"}", "format": "table", @@ -3918,7 +4371,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -3929,8 +4385,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -3941,7 +4396,7 @@ "h": 3, "w": 7, "x": 7, - "y": 149 + "y": 16 }, "id": 166, "options": { @@ -3959,9 +4414,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_backup_servers_config{instance=~\"$enterprisemanager\", name=~\"$backupserver\"}", "format": "table", @@ -3975,7 +4434,10 @@ "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -3986,8 +4448,7 @@ "mode": "absolute", "steps": [ { - "color": "blue", - "value": null + "color": "blue" } ] } @@ -3998,7 +4459,7 @@ "h": 3, "w": 7, "x": 14, - "y": 149 + "y": 16 }, "id": 165, "options": { @@ -4016,9 +4477,13 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "veeam_em_backup_servers_config{instance=~\"$enterprisemanager\", name=~\"$backupserver\"}", "format": "table", @@ -4038,7 +4503,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "unit": "percentunit" @@ -4049,9 +4517,9 @@ "fillGradient": 0, "gridPos": { "h": 8, - "w": 24, + "w": 6, "x": 0, - "y": 152 + "y": 19 }, "hiddenSeries": false, "hideTimeOverride": false, @@ -4075,18 +4543,11 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "pointradius": 5, "points": false, "renderer": "flot", "repeat": "backupserver", - "scopedVars": { - "backupserver": { - "selected": true, - "text": "", - "value": "" - } - }, "seriesOverrides": [], "spaceLength": 10, "stack": true, @@ -4096,6 +4557,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "1 - (sum by (host) (rate(windows_cpu_time_total{host=\"$backupserver\", mode=\"idle\"}[5m])) / count by (host) (windows_cpu_core_frequency_mhz{host=\"$backupserver\"}) )", "format": "time_series", @@ -4123,9 +4588,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CPU Usage / $backupserver", "tooltip": { "shared": false, @@ -4134,9 +4597,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -4144,25 +4605,19 @@ { "$$hashKey": "object:104", "format": "percentunit", - "label": null, "logBase": 1, - "max": null, "min": "0", "show": true }, { "$$hashKey": "object:105", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -4170,18 +4625,17 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": {}, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, - "w": 24, + "w": 6, "x": 0, - "y": 168 + "y": 43 }, "hiddenSeries": false, "hideTimeOverride": false, @@ -4205,18 +4659,11 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "pointradius": 5, "points": false, "renderer": "flot", "repeat": "backupserver", - "scopedVars": { - "backupserver": { - "selected": true, - "text": "", - "value": "" - } - }, "seriesOverrides": [], "spaceLength": 10, "stack": false, @@ -4226,6 +4673,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "windows_os_virtual_memory_bytes{host=~\"$backupserver\"}", "format": "time_series", @@ -4255,6 +4706,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "windows_cs_physical_memory_bytes{host=~\"$backupserver\"}", "format": "time_series", @@ -4284,6 +4739,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "windows_os_physical_memory_free_bytes{host=~\"$backupserver\"}", "format": "time_series", @@ -4311,9 +4770,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Memory / $backupserver", "tooltip": { "shared": true, @@ -4322,9 +4779,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -4332,63 +4787,54 @@ { "$$hashKey": "object:271", "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:272", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "mappings": [ { - "from": "", - "id": 0, - "text": "Up", - "to": "", - "type": 1, - "value": "1" - }, - { - "from": "", - "id": 1, - "text": "Down", - "to": "", - "type": 1, - "value": "0" + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" }, { - "from": "", - "id": 2, - "text": "No Data", - "to": "", - "type": 1, - "value": "null" + "options": { + "match": "null", + "result": { + "text": "No Data" + } + }, + "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "semi-dark-red", - "value": null + "color": "semi-dark-red" }, { "color": "semi-dark-green", @@ -4401,9 +4847,9 @@ }, "gridPos": { "h": 4, - "w": 24, + "w": 6, "x": 0, - "y": 184 + "y": 67 }, "id": 21, "options": { @@ -4421,17 +4867,14 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "repeat": "backupserver", - "scopedVars": { - "backupserver": { - "selected": true, - "text": "", - "value": "" - } - }, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "up{host=~\"$backupserver\"}", "format": "time_series", @@ -4441,22 +4884,24 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Satus $backupserver", "type": "stat" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "mappings": [], + "max": 100, + "min": 0, "thresholds": { "mode": "percentage", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -4470,13 +4915,15 @@ }, "gridPos": { "h": 7, - "w": 24, + "w": 6, "x": 0, - "y": 192 + "y": 79 }, "id": 27, "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -4486,19 +4933,17 @@ "values": false }, "showUnfilled": true, - "text": {} + "text": {}, + "valueMode": "color" }, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "repeat": "backupserver", - "scopedVars": { - "backupserver": { - "selected": true, - "text": "", - "value": "" - } - }, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "100 - (windows_logical_disk_free_bytes{host=~\"$backupserver\"} / windows_logical_disk_size_bytes{host=~\"$backupserver\"})*100", "interval": "", @@ -4506,8 +4951,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Disks $backupserver", "type": "bargauge" }, @@ -4516,18 +4959,17 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "fieldConfig": { - "defaults": {}, - "overrides": [] + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 24, + "w": 6, "x": 0, - "y": 206 + "y": 100 }, "hiddenSeries": false, "hideTimeOverride": false, @@ -4551,18 +4993,11 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.5", + "pluginVersion": "9.5.15", "pointradius": 5, "points": false, "renderer": "flot", "repeat": "backupserver", - "scopedVars": { - "backupserver": { - "selected": true, - "text": "", - "value": "" - } - }, "seriesOverrides": [ { "$$hashKey": "object:305", @@ -4578,6 +5013,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(windows_net_bytes_sent_total{host=~\"$backupserver\"}[5m]) >0", "format": "time_series", @@ -4607,6 +5046,10 @@ "application": { "filter": "" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(windows_net_bytes_received_total{host=~\"$backupserver\"}[5m]) <0", "format": "time_series", @@ -4634,9 +5077,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Network $backupserver", "tooltip": { "shared": true, @@ -4645,9 +5086,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -4655,46 +5094,49 @@ { "$$hashKey": "object:439", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:440", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], - "repeat": null, + "repeat": "backupserver", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "ww63Ic7Mk" + }, + "refId": "A" + } + ], "title": "Backup Server Performance [ $backupserver ( $backupserver_version )] (node_exporter)", "type": "row" } ], "refresh": "5m", - "schemaVersion": 27, + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { - "allValue": null, "current": {}, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(veeam_em_up, instance)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "Enterprise Manager", @@ -4710,21 +5152,19 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(veeam_em_backup_servers_config, name)", - "description": null, - "error": null, "hide": 0, "includeAll": true, - "label": null, "multi": true, "name": "backupserver", "options": [], @@ -4737,18 +5177,17 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": {}, - "datasource": "${DS_PROMETHEUS}", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "definition": "label_values(veeam_em_backup_servers_config{name=~\"$backupserver\"},version)", - "description": null, - "error": null, "hide": 2, "includeAll": false, "label": "BackupServer Version", @@ -4764,20 +5203,16 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": { "selected": false, "text": "Warning", "value": "2" }, - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "VM BackupJob Status", @@ -4823,12 +5258,13 @@ ] }, "time": { - "from": "now-6h", + "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Veeam Enterprise Manager", "uid": "bpHLHK6Mk", - "version": 28 + "version": 38, + "weekStart": "" } \ No newline at end of file diff --git a/contribs/veeam/etc/veeam/metrics/backup_agent_metrics.collector.yml b/contribs/veeam/etc/veeam/metrics/backup_agent_metrics.collector.yml index c0dd106..f74e74a 100644 --- a/contribs/veeam/etc/veeam/metrics/backup_agent_metrics.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/backup_agent_metrics.collector.yml @@ -36,7 +36,7 @@ scripts: actions: - name: proceed elements # scope: results - loop: '{{ .results.DiscoveredComputers | toRawJson }}' + loop: $results.DiscoveredComputers loop_var: agent actions: - name: add element @@ -48,9 +48,9 @@ scripts: key_labels: # item.Links[0].Name ! backupserver: "{{ (index .Links 0).Name }}" - name: Name - version: AgentVersion - osversion: OsVersion + name: $Name + version: $AgentVersion + osversion: $OsVersion values: _: '{{ template "agentStatus" .HostStatus }}' diff --git a/contribs/veeam/etc/veeam/metrics/backup_jobs_sessions.collector.yml b/contribs/veeam/etc/veeam/metrics/backup_jobs_sessions.collector.yml index 28af0ae..75aa654 100644 --- a/contribs/veeam/etc/veeam/metrics/backup_jobs_sessions.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/backup_jobs_sessions.collector.yml @@ -136,40 +136,36 @@ scripts: loop_var: job # default: scope: cur_var=> job actions: + - name: build labels + set_fact: + key_labels: + backupserver: $job.backupserver + name: $job.name + jobname: $job.jobname + jobtype: $job.jobtype + - name: build metrics from computed jobs metrics: - metric_name: state help: "resulting status of the job (0: undefined - 1: Success - 2: Warning - 3: Failed - 4: Idle - 5: Working)" type: gauge - key_labels: - backupserver: backupserver - name: name - jobname: jobname - jobtype: jobtype + key_labels: $root.key_labels values: - _: state + _: $state - metric_name: duration help: 'operation duration in second' type: gauge - key_labels: - backupserver: backupserver - name: name - jobname: jobname - jobtype: jobtype + key_labels: $root.key_labels values: _: "{{ sub .endtimestamp .starttimestamp }}" - metric_name: retries help: "number of times of the job has been retried (0: no retry)" type: gauge - key_labels: - backupserver: backupserver - name: name - jobname: jobname - jobtype: jobtype + key_labels: $root.key_labels values: - _: retries + _: $retries ... diff --git a/contribs/veeam/etc/veeam/metrics/backup_jobs_tasks_sessions_metrics.collector.yml b/contribs/veeam/etc/veeam/metrics/backup_jobs_tasks_sessions_metrics.collector.yml index 2e4afb4..29899d5 100644 --- a/contribs/veeam/etc/veeam/metrics/backup_jobs_tasks_sessions_metrics.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/backup_jobs_tasks_sessions_metrics.collector.yml @@ -167,51 +167,43 @@ scripts: loop_var: task # default: scope: cur_var=> task actions: + - name: build labels + set_fact: + key_labels: + backupserver: $task.backupserver + jobname: $task.jobname + taskname: $task.taskname + vmname: $task.vmname + - name: build metrics from computed jobs metrics: - metric_name: state help: "vm backup task status (0 undefined / 1 Success / 2 Warning / 3 Failed / 4 Pending-Idle / 5 Working-In Progress)" type: gauge - key_labels: - backupserver: _ - jobname: _ - taskname: _ - vmname: _ + key_labels: $root.key_labels values: - _: state + _: $state - metric_name: duration help: 'vm backup task operation duration in second' type: gauge - key_labels: - backupserver: _ - jobname: _ - taskname: _ - vmname: _ + key_labels: $root.key_labels values: _: "{{ sub .endtimestamp .starttimestamp }}" - metric_name: retries help: "number of times of the vm backup task has been retried (0: no retry)" type: gauge - key_labels: - backupserver: _ - jobname: _ - taskname: _ - vmname: _ + key_labels: $root.key_labels values: - _: retries + _: $retries - metric_name: total_bytes help: "total bytes save by the vm backup task for vm" type: gauge - key_labels: - backupserver: _ - jobname: _ - taskname: _ - vmname: _ + key_labels: $root.key_labels values: - _: total_size_bytes + _: $total_size_bytes - metric_name: error help: "use to set error's message label" @@ -223,8 +215,7 @@ scripts: vmname: _ message: reason values: - _: state + _: $state when: - or ( EQ (toString .task.state) "2" ) ( EQ (toString .task.state) "3" ) - ... diff --git a/contribs/veeam/etc/veeam/metrics/backup_servers_metrics.collector.yml b/contribs/veeam/etc/veeam/metrics/backup_servers_metrics.collector.yml index a2a6fd5..17b8789 100644 --- a/contribs/veeam/etc/veeam/metrics/backup_servers_metrics.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/backup_servers_metrics.collector.yml @@ -62,19 +62,19 @@ scripts: - metric_name: config help: config of each backup repository type: gauge - # implicit scopr item ! + # implicit scope to item ! key_labels: - name: Name - description: Description - port: Port - version: '{{ template "backupServerVersion" .Version }}' - full_version: Version + name: $Name + description: $Description + port: $Port + version: '{{ template "backupServerVersion" .Version }}' + full_version: $Version # - name: version # value: "{{ item.Version | backup_server }}" # - name: full_version # value: "{{ item.Version }}" values: _: 1 - loop: BackupServers + loop: $BackupServers ... diff --git a/contribs/veeam/etc/veeam/metrics/jobs_overview.collector.yml b/contribs/veeam/etc/veeam/metrics/jobs_overview.collector.yml index e352c63..5b2897e 100644 --- a/contribs/veeam/etc/veeam/metrics/jobs_overview.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/jobs_overview.collector.yml @@ -19,37 +19,41 @@ scripts: - name: procceed elements count with_items: - - type: "running" - value: "{{ .results.RunningJobs }}" - - type: "scheduled" - value: "{{ .results.ScheduledJobs }}" - - type: "scheduled_backup" - value: "{{ .results.ScheduledBackupJobs }}" - - type: "scheduled_replica" - value: "{{ .results.ScheduledReplicaJobs }}" + - type: running + value: $results.RunningJobs + - type: scheduled + value: $results.ScheduledJobs + - type: scheduled_backup + value: $results.ScheduledBackupJobs + - type: scheduled_replica + value: $results.ScheduledReplicaJobs metrics: - metric_name: count help: various count of job types "running", "scheduled", "scheduled_backup" "scheduled_replica_jobs_count" type: gauge key_labels: - type: _ + type: $type values: - _: value + _: $value - name: procceed elements count with_items: - - { type: "total", value: "{{ .results.TotalJobRuns }}" } - - { type: "successfull", value: "{{ .results.SuccessfulJobRuns }}" } - - { type: "warning", value: "{{ .results.WarningsJobRuns }}" } - - { type: "failed", value: "{{ .results.FailedJobRuns }}" } + - type: total + value: $results.TotalJobRuns + - type: successfull + value: $results.SuccessfulJobRuns + - type: warning + value: $results.WarningsJobRuns + - type: failed + value: $results.FailedJobRuns metrics: - metric_name: runs_count help: total number of job runs by type "total", "successfull", "warning", "failed" type: gauge key_labels: - type: _ + type: $type values: - _: value + _: $value - name: procceed elements duration with_items: diff --git a/contribs/veeam/etc/veeam/metrics/repositories_overview.collector.yml b/contribs/veeam/etc/veeam/metrics/repositories_overview.collector.yml index 8cbdeab..791a490 100644 --- a/contribs/veeam/etc/veeam/metrics/repositories_overview.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/repositories_overview.collector.yml @@ -19,36 +19,38 @@ scripts: var_name: results # debug: true - - name: procceed elements - scope: results - metrics: - # - name: build metric - # vars: - # labels: - # - name: name - # value: "{{ item.Name }}" - # - name: type - # value: "{{ item.Kind }}" - # implicit scope to item element [=> repository] - - metric_name: capacity_total_bytes - help: total size in bytes of each repository by name and type - type: gauge - values: - _: Capacity - key_labels: - name: Name - type: Kind - uid: UID - loop: Repositories + - name: procceed repositories config elements + loop: $results.Repositories + actions: + - name: build labels + set_fact: + key_labels: + name: $item.Name + type: $item.Kind + uid: $item.UID - - metric_name: capacity_free_bytes - help: free size in bytes of each repository by name and type - type: gauge - values: - value: FreeSpace - key_labels: - name: Name - type: Kind - uid: UID - loop: Repositories + - name: build metrics + # default scope: item + metrics: + # - name: build metric + # vars: + # labels: + # - name: name + # value: "{{ item.Name }}" + # - name: type + # value: "{{ item.Kind }}" + # implicit scope to item element [=> repository] + - metric_name: capacity_total_bytes + help: total size in bytes of each repository by name and type + type: gauge + values: + _: $Capacity + key_labels: $root.key_labels + + - metric_name: capacity_free_bytes + help: free size in bytes of each repository by name and type + type: gauge + key_labels: $root.key_labels + values: + value: $FreeSpace ... \ No newline at end of file diff --git a/contribs/veeam/etc/veeam/metrics/veeam_overview.collector.yml b/contribs/veeam/etc/veeam/metrics/veeam_overview.collector.yml index e06d8bb..ffa6752 100644 --- a/contribs/veeam/etc/veeam/metrics/veeam_overview.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/veeam_overview.collector.yml @@ -17,23 +17,38 @@ scripts: query: url: /reports/summary/overview var_name: results + - name: proceed elements loop: - - { type: "backup", count_type: "server", value: "{{ .results.BackupServers }}" } - - { type: "proxy", count_type: "server", value: "{{ .results.ProxyServers }}" } - - { type: "repository", count_type: "server", value: "{{ .results.RepositoryServers }}" } - - { type: "scheduled_jobs", count_type: "tasks", value: "{{ .results.ScheduledJobs }}" } - - { type: "successful_vms", count_type: "tasks", value: "{{ .results.SuccessfulVmLastestStates }}" } - - { type: "warning_vms", count_type: "tasks", value: "{{ .results.WarningVmLastestStates }}" } - - { type: "failed_vms", count_type: "tasks", value: "{{ .results.FailedVmLastestStates }}" } + - type: backup + count_type: server + value: $results.BackupServers + - type: proxy + count_type: server + value: $results.ProxyServers + - type: repository + count_type: server + value: $results.RepositoryServers + - type: scheduled_jobs + count_type: tasks + value: $results.ScheduledJobs + - type: successful_vms + count_type: tasks + value: $results.SuccessfulVmLastestStates + - type: warning_vms + count_type: tasks + value: $results.WarningVmLastestStates + - type: failed_vms + count_type: tasks + value: $results.FailedVmLastestStates metrics: - metric_name: element_count help: count by type "backup", "proxy", "repository", "scheduled_jobs", "successful_vms", "warning_vms" type: gauge key_labels: - type: _ - count_type: _ + type: $type + count_type: $count_type values: - _: value + _: $value ... diff --git a/contribs/veeam/etc/veeam/metrics/vm_overview_metrics.collector.yml b/contribs/veeam/etc/veeam/metrics/vm_overview_metrics.collector.yml index a3a681e..269a483 100644 --- a/contribs/veeam/etc/veeam/metrics/vm_overview_metrics.collector.yml +++ b/contribs/veeam/etc/veeam/metrics/vm_overview_metrics.collector.yml @@ -22,33 +22,41 @@ scripts: - name: proceed elements count with_items: - - { type: "protected", value: "{{ .results.ProtectedVms }}" } - - { type: "backedup", value: "{{ .results.BackedUpVms }}" } - - { type: "replicated", value: "{{ .results.ReplicatedVms }}" } - - { type: "restore_points", value: "{{ .results.RestorePoints }}" } + - type: protected + value: $results.ProtectedVms + - type: backedup + value: $results.BackedUpVms + - type: replicated + value: $results.ReplicatedVms + - type: restore_points + value: $results.RestorePoints metrics: - metric_name: count help: VMs count by protection type "protected","backedup","replicated","restore_points" type: gauge key_labels: - type: _ + type: $type values: - _: value + _: $value - name: proceed elements total_bytes with_items: - - { type: "full_backup_points", value: "{{ .results.FullBackupPointsSize }}" } - - { type: "incremental_backup_points", value: "{{ .results.IncrementalBackupPointsSize }}" } - - { type: "replica_restore_points", value: "{{ .results.ReplicaRestorePointsSize }}" } - - { type: "source_vms", value: "{{ .results.SourceVmsSize }}" } + - type: full_backup_points + value: $results.FullBackupPointsSize + - type: incremental_backup_points + value: $results.IncrementalBackupPointsSize + - type: replica_restore_points + value: $results.ReplicaRestorePointsSize + - type: source_vms + value: $results.SourceVmsSize metrics: - metric_name: total_bytes help: VMs total size in bytes by type "full_backup_points", "incremental_backup_points", "replica_restore_points", "source_vms" type: gauge key_labels: - type: _ + type: $type values: - _: value + _: $value - name: proceed elements total_bytes metrics: @@ -57,6 +65,6 @@ scripts: help: percent of sucessful backup of VMs type: gauge values: - _: "{{ .results.SuccessBackupPercents }}" + _: $results.SuccessBackupPercents ... diff --git a/template.go b/template.go index 340bc1d..294613a 100644 --- a/template.go +++ b/template.go @@ -374,10 +374,10 @@ func exporterDecryptPass(passwd string, auth_key string) (string, error) { } func exportLookupAddr(ip string) (string, error) { - host := "" + host := "" res, err := net.LookupAddr(ip) if err != nil { - return host, err + return host, nil } if len(res) > 0 { host = res[0] diff --git a/yaml_script.go b/yaml_script.go index cb29b05..1258c30 100644 --- a/yaml_script.go +++ b/yaml_script.go @@ -281,7 +281,7 @@ func AddCustomTemplate(ba BaseAction, customTemplate *exporterTemplate) error { } // ******************************************************************************** -func ValorizeValue(symtab map[string]any, item any, logger log.Logger, name string, cur_level int) (any, error) { +func ValorizeValue(symtab map[string]any, item any, logger log.Logger, action_name string, cur_level int) (any, error) { var data any var err error // fmt.Println("item = ", reflect.TypeOf(item)) @@ -321,12 +321,12 @@ func ValorizeValue(symtab map[string]any, item any, logger log.Logger, name stri ldata := make(map[string]any, len(curval)) for r_key, r_value := range curval { - key, err := ValorizeValue(symtab, r_key, logger, name, cur_level+1) + key, err := ValorizeValue(symtab, r_key, logger, action_name, cur_level+1) if err != nil { level.Warn(logger).Log( "collid", CollectorId(symtab, logger), "script", ScriptName(symtab, logger), - "name", name, + "name", action_name, "msg", fmt.Sprintf("error building map key: %v", r_key), "errmsg", err) continue } @@ -336,12 +336,12 @@ func ValorizeValue(symtab map[string]any, item any, logger log.Logger, name stri } else { continue } - value, err := ValorizeValue(symtab, r_value, logger, name, cur_level+1) + value, err := ValorizeValue(symtab, r_value, logger, action_name, cur_level+1) if err != nil { level.Warn(logger).Log( "collid", CollectorId(symtab, logger), "script", ScriptName(symtab, logger), - "name", name, + "name", action_name, "msg", fmt.Sprintf("error building map value for key '%s'", key_val), "errmsg", err) continue } @@ -349,7 +349,7 @@ func ValorizeValue(symtab map[string]any, item any, logger log.Logger, name stri level.Warn(logger).Log( "collid", CollectorId(symtab, logger), "script", ScriptName(symtab, logger), - "name", name, + "name", action_name, "msg", fmt.Sprintf("error setting map value for key '%s'", key_val), "errmsg", err) continue } @@ -358,12 +358,12 @@ func ValorizeValue(symtab map[string]any, item any, logger log.Logger, name stri case []any: ldata := make([]any, len(curval)) for idx, r_value := range curval { - values, err := ValorizeValue(symtab, r_value, logger, name, cur_level+1) + values, err := ValorizeValue(symtab, r_value, logger, action_name, cur_level+1) if err != nil { level.Warn(logger).Log( "collid", CollectorId(symtab, logger), "script", ScriptName(symtab, logger), - "name", name, + "name", action_name, "msg", fmt.Sprintf("error building list value for index: %d", idx), "errmsg", err) continue }