From 8f4fbc6a93fa801cb0813d26e9e45dbf3d6133f5 Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Wed, 17 May 2023 18:26:13 +0200 Subject: [PATCH] Update dashboards. --- .../HMCi - Power LPAR Overview.json | 155 ++++++- .../HMCi - Power System Overview.json | 394 +++++++++--------- doc/dashboards/HMCi - Power VIO Overview.json | 10 +- 3 files changed, 348 insertions(+), 211 deletions(-) diff --git a/doc/dashboards/HMCi - Power LPAR Overview.json b/doc/dashboards/HMCi - Power LPAR Overview.json index a6339b8..7c63fe2 100644 --- a/doc/dashboards/HMCi - Power LPAR Overview.json +++ b/doc/dashboards/HMCi - Power LPAR Overview.json @@ -529,6 +529,137 @@ "title": "Processors", "type": "row" }, + { + "datasource": { + "type": "influxdb", + "uid": "${DS_HMCI}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 3, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "decimals": 2, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 12 + }, + "id": 2, + "links": [], + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.1.4", + "targets": [ + { + "alias": "$tag_lparname", + "datasource": { + "type": "influxdb", + "uid": "${DS_HMCI}" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "/^$ServerName$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"utilizedProcUnits\") AS \"usage\" FROM \"lpar_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"lparname\" =~ /^$LPAR$/) AND $timeFilter GROUP BY time($interval), \"lparname\", \"servername\" fill(linear)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Processor Units - Utilization Stacked", + "transformations": [], + "type": "timeseries" + }, { "datasource": { "type": "influxdb", @@ -597,11 +728,11 @@ }, "gridPos": { "h": 11, - "w": 24, - "x": 0, + "w": 12, + "x": 12, "y": 12 }, - "id": 2, + "id": 40, "links": [], "options": { "legend": { @@ -662,7 +793,7 @@ "tags": [] } ], - "title": "Processor Units - Utilization / Entitled Percentage", + "title": "Processor Units - Utilization / Entitled", "transformations": [], "type": "timeseries" }, @@ -2510,7 +2641,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "percent" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -2522,10 +2653,6 @@ "steps": [ { "color": "green" - }, - { - "color": "red", - "value": 80 } ] }, @@ -2617,11 +2744,11 @@ ] } ], - "title": "Memory Assigned", + "title": "Memory Assigned - Stacked", "type": "timeseries" } ], - "refresh": false, + "refresh": "30s", "schemaVersion": 37, "style": "dark", "tags": [ @@ -2660,7 +2787,7 @@ "type": "influxdb", "uid": "${DS_HMCI}" }, - "definition": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/", + "definition": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/ ", "hide": 0, "includeAll": true, "label": "Logical Partition", @@ -2668,7 +2795,7 @@ "multiFormat": "regex values", "name": "LPAR", "options": [], - "query": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/", + "query": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/ ", "refresh": 1, "refresh_on_load": false, "regex": "", @@ -2711,6 +2838,6 @@ "timezone": "browser", "title": "HMCi - Power LPAR Overview", "uid": "Xl7oHESGz", - "version": 3, + "version": 9, "weekStart": "" } diff --git a/doc/dashboards/HMCi - Power System Overview.json b/doc/dashboards/HMCi - Power System Overview.json index 2cb4f27..41e9a2d 100644 --- a/doc/dashboards/HMCi - Power System Overview.json +++ b/doc/dashboards/HMCi - Power System Overview.json @@ -35,12 +35,6 @@ "name": "InfluxDB", "version": "1.0.0" }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, { "type": "panel", "id": "text", @@ -133,7 +127,7 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 4, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -159,7 +153,6 @@ "decimals": 2, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -174,7 +167,7 @@ "overrides": [] }, "gridPos": { - "h": 6, + "h": 7, "w": 12, "x": 0, "y": 3 @@ -186,17 +179,17 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", - "sort": "desc" + "sort": "none" } }, "pluginVersion": "8.1.4", "targets": [ { - "alias": "$col", + "alias": "$col ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -311,7 +304,7 @@ ] } ], - "title": "System Processor Utilization", + "title": "System Processors", "type": "timeseries" }, { @@ -332,20 +325,23 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "opacity", + "fillOpacity": 4, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", @@ -363,10 +359,6 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, @@ -375,7 +367,7 @@ "overrides": [] }, "gridPos": { - "h": 6, + "h": 7, "w": 12, "x": 12, "y": 3 @@ -387,7 +379,7 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", @@ -397,7 +389,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "$col", + "alias": " $col ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -476,7 +468,7 @@ ] } ], - "title": "System Memory Utilization", + "title": "System Memory", "type": "timeseries" }, { @@ -497,7 +489,7 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 4, "gradientMode": "opacity", "hideFrom": { "legend": false, @@ -506,11 +498,11 @@ }, "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 5, + "pointSize": 3, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", @@ -530,10 +522,6 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, @@ -543,9 +531,9 @@ }, "gridPos": { "h": 9, - "w": 15, + "w": 12, "x": 0, - "y": 9 + "y": 10 }, "id": 19, "links": [], @@ -554,17 +542,17 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", - "sort": "desc" + "sort": "none" } }, "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_poolname", + "alias": "$tag_poolname ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -633,9 +621,124 @@ ] } ], - "title": "Shared Processor Pools - Core Utilization", + "title": "Shared Processor Pools", "type": "timeseries" }, + { + "datasource": { + "type": "influxdb", + "uid": "${DS_HMCI}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.75 + }, + { + "color": "red", + "value": 0.85 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 12, + "y": 10 + }, + "id": 29, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "9.1.6", + "targets": [ + { + "alias": "$tag_poolname ($tag_servername)", + "datasource": { + "type": "influxdb", + "uid": "${DS_HMCI}" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "poolname" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "server_sharedProcessorPool", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\") AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\", \"servername\" fill(none)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "utilizedProcUnits" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "servername", + "operator": "=~", + "value": "/^$ServerName$/" + } + ] + } + ], + "title": "Shared Processor Pools", + "type": "gauge" + }, { "datasource": { "type": "influxdb", @@ -649,116 +752,6 @@ "min": 0, "thresholds": { "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 5, - "x": 15, - "y": 9 - }, - "id": 29, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "9.1.6", - "targets": [ - { - "alias": "$tag_poolname", - "datasource": { - "type": "influxdb", - "uid": "${DS_HMCI}" - }, - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "poolname" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "server_sharedProcessorPool", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\") AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\" fill(none)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "utilizedProcUnits" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - } - ] - } - ], - "title": "Shared Processor Pools - Utilization", - "type": "stat" - }, - { - "datasource": { - "type": "influxdb", - "uid": "${DS_HMCI}" - }, - "fieldConfig": { - "defaults": { - "decimals": 2, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "percentage", "steps": [ { "color": "green", @@ -766,11 +759,11 @@ }, { "color": "orange", - "value": 70 + "value": 0.75 }, { "color": "red", - "value": 85 + "value": 0.85 } ] }, @@ -782,7 +775,7 @@ "h": 9, "w": 4, "x": 20, - "y": 9 + "y": 10 }, "id": 30, "options": { @@ -800,7 +793,7 @@ "pluginVersion": "9.1.6", "targets": [ { - "alias": "", + "alias": "$tag_servername", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -828,7 +821,7 @@ "measurement": "server_sharedProcessorPool", "orderByTime": "ASC", "policy": "default", - "query": "SELECT mean(\"utilizedProcUnits\") / mean(\"totalProcUnits\") AS \"Utilization\" FROM \"server_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval) fill(none)", + "query": "SELECT mean(\"utilizedProcUnits\") / mean(\"totalProcUnits\") AS \"Utilization\" FROM \"server_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY \"servername\", time($__interval) fill(none)", "rawQuery": true, "refId": "A", "resultFormat": "time_series", @@ -855,7 +848,7 @@ ] } ], - "title": "System Processors - Utilization", + "title": "System Processors", "type": "gauge" }, { @@ -920,7 +913,7 @@ "h": 9, "w": 12, "x": 0, - "y": 18 + "y": 19 }, "id": 27, "links": [], @@ -929,7 +922,7 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", @@ -939,7 +932,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "$col", + "alias": "$col ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -1008,24 +1001,6 @@ "type": "alias" } ], - [ - { - "params": [ - "availableProcUnits" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "available" - ], - "type": "alias" - } - ], [ { "params": [ @@ -1054,7 +1029,7 @@ ] } ], - "title": "Physical Processor Pool - Core Utilization", + "title": "Physical Processor Pool", "type": "timeseries" }, { @@ -1119,7 +1094,7 @@ "h": 9, "w": 12, "x": 12, - "y": 18 + "y": 19 }, "id": 35, "links": [], @@ -1128,7 +1103,7 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1138,7 +1113,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_poolname", + "alias": "$tag_poolname ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -1157,6 +1132,12 @@ ], "type": "tag" }, + { + "params": [ + "servername" + ], + "type": "tag" + }, { "params": [ "none" @@ -1199,7 +1180,7 @@ ] } ], - "title": "Shared Processor Pools - Core Utilization", + "title": "Shared Processor Pools", "type": "timeseries" }, { @@ -1295,7 +1276,7 @@ "h": 9, "w": 12, "x": 0, - "y": 27 + "y": 28 }, "id": 11, "links": [], @@ -1304,7 +1285,7 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1314,7 +1295,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "vlan $tag_vlanId", + "alias": "vlan $tag_vlanId ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -1339,6 +1320,12 @@ ], "type": "tag" }, + { + "params": [ + "servername" + ], + "type": "tag" + }, { "params": [ "none" @@ -1375,7 +1362,7 @@ ] } ], - "title": "Network Throughput - By VLAN", + "title": "Network Throughput - Transferred By VLAN", "type": "timeseries" }, { @@ -1442,7 +1429,7 @@ "h": 9, "w": 12, "x": 12, - "y": 27 + "y": 28 }, "id": 16, "links": [], @@ -1451,7 +1438,7 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { "mode": "multi", @@ -1461,7 +1448,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_location $col", + "alias": "$tag_location ($tag_servername)", "datasource": { "type": "influxdb", "uid": "${DS_HMCI}" @@ -1486,6 +1473,12 @@ ], "type": "tag" }, + { + "params": [ + "servername" + ], + "type": "tag" + }, { "params": [ "none" @@ -1522,9 +1515,24 @@ ] } ], - "title": "Physical Fiber Channel Adapters", + "title": "Physical Fiber Channel Adapters - Transmitted", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 37 + }, + "id": 39, + "panels": [], + "repeat": "ServerName", + "repeatDirection": "h", + "title": "$ServerName Energy", + "type": "row" + }, { "datasource": { "type": "influxdb", @@ -1559,7 +1567,7 @@ "h": 10, "w": 12, "x": 0, - "y": 36 + "y": 38 }, "id": 26, "options": { @@ -1759,7 +1767,7 @@ "h": 10, "w": 6, "x": 12, - "y": 36 + "y": 38 }, "id": 34, "options": { @@ -1894,7 +1902,7 @@ "h": 10, "w": 6, "x": 18, - "y": 36 + "y": 38 }, "id": 22, "options": { @@ -1986,9 +1994,9 @@ }, "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "hide": 0, - "includeAll": false, + "includeAll": true, "label": "Server", - "multi": false, + "multi": true, "multiFormat": "regex values", "name": "ServerName", "options": [], @@ -2035,6 +2043,6 @@ "timezone": "browser", "title": "HMCi - Power System Overview", "uid": "ClJhHPIGz", - "version": 3, + "version": 9, "weekStart": "" } diff --git a/doc/dashboards/HMCi - Power VIO Overview.json b/doc/dashboards/HMCi - Power VIO Overview.json index 853214f..75fc203 100644 --- a/doc/dashboards/HMCi - Power VIO Overview.json +++ b/doc/dashboards/HMCi - Power VIO Overview.json @@ -1390,7 +1390,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -1563,7 +1564,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1706,7 +1708,7 @@ }, "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "hide": 0, - "includeAll": false, + "includeAll": true, "label": "Server", "multi": true, "multiFormat": "regex values", @@ -1779,6 +1781,6 @@ "timezone": "browser", "title": "HMCi - Power VIO Overview", "uid": "DDNEv5vGz", - "version": 2, + "version": 3, "weekStart": "" }