From 33776618411240f90021327cc2afd4ddd3209ef2 Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Fri, 29 Oct 2021 08:38:10 +0200 Subject: [PATCH] Adjustments to demo dashboards. --- README.md | 10 +- ...BM Power - HMCi - Logical Partitions.json} | 1280 ++++++++--------- ... => IBM Power - HMCi - System Energy.json} | 294 ++-- ... IBM Power - HMCi - System Resources.json} | 1016 ++++++------- ...M Power - HMCi - Virtual I_O Servers.json} | 704 +++------ doc/hmci.toml | 39 +- 6 files changed, 1388 insertions(+), 1955 deletions(-) rename doc/{IBM Power - HMCi - Logical Partitions-1635180045141.json => IBM Power - HMCi - Logical Partitions.json} (75%) rename doc/{IBM Power - HMCi - System Energy-1623356319253.json => IBM Power - HMCi - System Energy.json} (78%) rename doc/{IBM Power - HMCi - System Resources-1635180059764.json => IBM Power - HMCi - System Resources.json} (67%) rename doc/{IBM Power - HMCi - Virtual I_O Servers-1635180080226.json => IBM Power - HMCi - Virtual I_O Servers.json} (80%) diff --git a/README.md b/README.md index ed39e54..e8c70a4 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Metrics includes: - *Managed Systems* - the physical Power servers - *Logical Partitions* - the virtualized servers running AIX, Linux and IBM-i (AS/400) - *Virtual I/O Servers* - the i/o partition(s) virtualizing network and storage - - *Energy* - power consumption and temperatures (needs to be enabled and is not available for Power7, E870, E880 and E980) + - *Energy* - power consumption and temperatures (needs to be enabled and is not available for P7, E870, E880 and E980) ![architecture](https://bitbucket.org/mnellemann/hmci/downloads/HMCi.png) @@ -15,10 +15,10 @@ Metrics includes: There are few steps in the installation. - - 1 - Preparations on the Hardware Management Console (HMC) - - 2 - Installation of InfluxDB and Grafana software on a Linux LPAR or VM - - 3 - Installation and configuration of the HMCi software - - 4 - Configure Grafana and import example dashboards + 1) Preparations on the Hardware Management Console (HMC) + 2) Installation of InfluxDB and Grafana software on a Linux LPAR or VM + 3) Installation and configuration of the HMCi software + 4) Configure Grafana and import example dashboards ### 1 - Power HMC Setup Instructions diff --git a/doc/IBM Power - HMCi - Logical Partitions-1635180045141.json b/doc/IBM Power - HMCi - Logical Partitions.json similarity index 75% rename from doc/IBM Power - HMCi - Logical Partitions-1635180045141.json rename to doc/IBM Power - HMCi - Logical Partitions.json index 4206c6a..dbc1c32 100644 --- a/doc/IBM Power - HMCi - Logical Partitions-1635180045141.json +++ b/doc/IBM Power - HMCi - Logical Partitions.json @@ -22,12 +22,6 @@ "name": "Grafana", "version": "8.1.4" }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, { "type": "datasource", "id": "influxdb", @@ -78,7 +72,7 @@ "gnetId": 1510, "graphTooltip": 0, "id": null, - "iteration": 1635179885847, + "iteration": 1635428648748, "links": [], "panels": [ { @@ -524,7 +518,7 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 11, "w": 24, "x": 0, "y": 10 @@ -563,7 +557,7 @@ "measurement": "/^$ServerName$/", "orderByTime": "ASC", "policy": "default", - "query": "SELECT (last(\"utilizedProcUnits\") / last(\"maxProcUnits\")) * 100 AS \"usage\" FROM \"lpar_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"lparname\" =~ /^$LPAR$/) AND $timeFilter GROUP BY time($interval), \"lparname\", \"servername\" fill(previous)", + "query": "SELECT (mean(\"utilizedProcUnits\") / mean(\"maxProcUnits\")) * 100 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", @@ -597,7 +591,308 @@ "h": 1, "w": 24, "x": 0, - "y": 18 + "y": 21 + }, + "id": 15, + "panels": [], + "repeat": null, + "title": "Network I/O", + "type": "row" + }, + { + "datasource": "${DS_INFLUXDB-HMCI}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "opacity", + "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": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "binBps" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 22 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } + }, + "pluginVersion": "8.1.4", + "targets": [ + { + "alias": "$tag_lparname", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "lparname" + ], + "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" + }, + { + "params": [ + "linear" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "lpar_net_virtual", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "receivedBytes" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "lparname", + "operator": "=~", + "value": "/^$LPAR$/" + }, + { + "condition": "AND", + "key": "servername", + "operator": "=~", + "value": "/^$ServerName$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Virtual Network Adapters - Received Bytes", + "type": "timeseries" + }, + { + "datasource": "${DS_INFLUXDB-HMCI}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "opacity", + "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": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 22 + }, + "id": 16, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } + }, + "pluginVersion": "8.1.4", + "targets": [ + { + "alias": "$tag_lparname sent", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "lparname" + ], + "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "lpar_net_virtual", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "sentBytes" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "lparname", + "operator": "=~", + "value": "/^$LPAR$/" + }, + { + "condition": "AND", + "key": "servername", + "operator": "=~", + "value": "/^$ServerName$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Virtual Network Adapters - Sent Bytes", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": "${DS_INFLUXDB-HMCI}", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 32 }, "id": 18, "panels": [], @@ -606,62 +901,80 @@ "type": "row" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", - "editable": true, - "error": false, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "Bps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { - "h": 9, + "h": 10, "w": 12, "x": 0, - "y": 19 + "y": 33 }, - "hiddenSeries": false, "id": 11, - "legend": { - "alignAsTable": false, - "avg": true, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_lparname read", @@ -678,6 +991,12 @@ "lparname" ], "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" } ], "hide": false, @@ -698,7 +1017,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -717,107 +1036,86 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Virtual Fiber Channel Adapters - Read Bytes", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3776", - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:3777", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", - "editable": true, - "error": false, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "Bps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { - "h": 9, + "h": 10, "w": 12, "x": 12, - "y": 19 + "y": 33 }, - "hiddenSeries": false, "id": 19, - "legend": { - "alignAsTable": false, - "avg": true, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_lparname write", @@ -834,6 +1132,12 @@ "lparname" ], "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" } ], "hide": false, @@ -854,7 +1158,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -873,102 +1177,87 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Virtual Fiber Channel Adapters - Write Bytes", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3776", - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:3777", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 1, - "grid": {}, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "binBps" + }, + "overrides": [] + }, "gridPos": { - "h": 7, + "h": 8, "w": 12, "x": 0, - "y": 28 + "y": 43 }, - "hiddenSeries": false, "id": 13, - "legend": { - "alignAsTable": false, - "avg": true, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_lparname - $col", @@ -985,6 +1274,12 @@ "lparname" ], "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" } ], "hide": false, @@ -1054,102 +1349,87 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Virtual Adapters", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3776", - "format": "binBps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:3777", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 1, - "grid": {}, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "binBps" + }, + "overrides": [] + }, "gridPos": { - "h": 7, + "h": 8, "w": 12, "x": 12, - "y": 28 + "y": 43 }, - "hiddenSeries": false, "id": 12, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": false, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "max", + "min" + ], + "displayMode": "hidden", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_lparname writeBytes", @@ -1166,6 +1446,12 @@ "lparname" ], "type": "tag" + }, + { + "params": [ + "servername" + ], + "type": "tag" } ], "hide": false, @@ -1235,49 +1521,10 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Generic Adapters", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3776", - "format": "binBps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:3777", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { "collapsed": false, @@ -1286,354 +1533,7 @@ "h": 1, "w": 24, "x": 0, - "y": 35 - }, - "id": 15, - "panels": [], - "repeat": null, - "title": "Network I/O", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB-HMCI}", - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [], - "unit": "binBps" - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 2, - "grid": {}, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 36 - }, - "hiddenSeries": false, - "id": 8, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:193" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, - "targets": [ - { - "alias": "$tag_lparname", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "lparname" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "lpar_net_virtual", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "receivedBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "lparname", - "operator": "=~", - "value": "/^$LPAR$/" - }, - { - "condition": "AND", - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Virtual Network Adapters - Received Bytes", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:10101", - "format": "binBps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:10102", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": true, - "alignLevel": 0 - } - }, - { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB-HMCI}", - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 2, - "grid": {}, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 36 - }, - "hiddenSeries": false, - "id": 16, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "sort": "avg", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "mode": "", - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:193" - } - ], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, - "targets": [ - { - "alias": "$tag_lparname sent", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "lparname" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "lpar_net_virtual", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "sentBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "lparname", - "operator": "=~", - "value": "/^$LPAR$/" - }, - { - "condition": "AND", - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Virtual Network Adapters - Sent Bytes", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:10101", - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:10102", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": true, - "alignLevel": 0 - } - }, - { - "collapsed": false, - "datasource": "${DS_INFLUXDB-HMCI}", - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 44 + "y": 51 }, "id": 23, "panels": [], @@ -1668,7 +1568,7 @@ "h": 8, "w": 12, "x": 0, - "y": 45 + "y": 52 }, "id": 9, "interval": null, @@ -1708,7 +1608,7 @@ }, { "params": [ - "previous" + "linear" ], "type": "fill" } @@ -1729,7 +1629,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -1780,7 +1680,7 @@ "h": 8, "w": 12, "x": 12, - "y": 45 + "y": 52 }, "id": 33, "links": [], @@ -1817,7 +1717,7 @@ }, { "params": [ - "null" + "previous" ], "type": "fill" } @@ -1957,5 +1857,5 @@ "timezone": "browser", "title": "IBM Power - HMCi - Logical Partitions", "uid": "Xl7oHESGz", - "version": 48 + "version": 57 } \ No newline at end of file diff --git a/doc/IBM Power - HMCi - System Energy-1623356319253.json b/doc/IBM Power - HMCi - System Energy.json similarity index 78% rename from doc/IBM Power - HMCi - System Energy-1623356319253.json rename to doc/IBM Power - HMCi - System Energy.json index 9e7cab1..9f84fe8 100644 --- a/doc/IBM Power - HMCi - System Energy-1623356319253.json +++ b/doc/IBM Power - HMCi - System Energy.json @@ -14,13 +14,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.0.0" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" + "version": "8.1.4" }, { "type": "datasource", @@ -33,6 +27,12 @@ "id": "stat", "name": "Stat", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { @@ -44,6 +44,12 @@ "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, "type": "dashboard" } ] @@ -53,57 +59,82 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1623356314349, + "iteration": 1635428793809, "links": [], "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "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": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "watt" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 9, "w": 7, "x": 0, "y": 0 }, - "hiddenSeries": false, "id": 2, - "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" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, - "pluginVersion": "8.0.0", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.1.4", "targets": [ { "alias": "$tag_servername", @@ -155,48 +186,10 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Power Consumption", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:315", - "format": "watt", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:316", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { "datasource": "${DS_INFLUXDB-HMCI}", @@ -246,7 +239,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.0.0", + "pluginVersion": "8.1.4", "targets": [ { "alias": "$tag_servername", @@ -350,7 +343,7 @@ "overrides": [] }, "gridPos": { - "h": 7, + "h": 9, "w": 7, "x": 0, "y": 10 @@ -371,7 +364,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.0.0", + "pluginVersion": "8.1.4", "targets": [ { "alias": "$tag_servername - $tag_name", @@ -429,55 +422,81 @@ "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "celsius" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, "gridPos": { - "h": 7, + "h": 9, "w": 17, "x": 7, "y": 10 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": 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" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, - "pluginVersion": "8.0.0", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.1.4", "targets": [ { "alias": "$col", @@ -591,56 +610,17 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "$ServerName - CPU Temperature", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5961", - "decimals": 0, - "format": "celsius", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:5962", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], - "refresh": "1m", + "refresh": "30s", "schemaVersion": 30, "style": "dark", "tags": [ - "POWER" + "Power" ], "templating": { "list": [ @@ -670,11 +650,11 @@ ] }, "time": { - "from": "now-2d", - "to": "now-1m" + "from": "now-7d", + "to": "now-30s" }, "timepicker": { - "nowDelay": "1m", + "nowDelay": "30s", "refresh_intervals": [ "30s", "1m", @@ -689,5 +669,5 @@ "timezone": "", "title": "IBM Power - HMCi - System Energy", "uid": "oHcrgD1Mk", - "version": 2 + "version": 7 } \ No newline at end of file diff --git a/doc/IBM Power - HMCi - System Resources-1635180059764.json b/doc/IBM Power - HMCi - System Resources.json similarity index 67% rename from doc/IBM Power - HMCi - System Resources-1635180059764.json rename to doc/IBM Power - HMCi - System Resources.json index 67f1797..a4560c4 100644 --- a/doc/IBM Power - HMCi - System Resources-1635180059764.json +++ b/doc/IBM Power - HMCi - System Resources.json @@ -22,12 +22,6 @@ "name": "Grafana", "version": "8.1.4" }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, { "type": "datasource", "id": "influxdb", @@ -39,6 +33,12 @@ "id": "stat", "name": "Stat", "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" } ], "annotations": { @@ -66,7 +66,7 @@ "gnetId": 1465, "graphTooltip": 0, "id": null, - "iteration": 1635180054460, + "iteration": 1635428700870, "links": [], "panels": [ { @@ -85,61 +85,80 @@ "type": "row" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", - "decimals": 2, "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "cores", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 1 }, - "hiddenSeries": false, "id": 19, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_poolname", @@ -171,7 +190,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -213,49 +232,10 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Shared Processor Pools - Core Utilization", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3244", - "format": "short", - "label": "cores", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:3245", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { "datasource": null, @@ -342,7 +322,7 @@ "measurement": "server_sharedProcessorPool", "orderByTime": "ASC", "policy": "default", - "query": "SELECT (mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\")) * 100 AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\" fill(null)", + "query": "SELECT (mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\")) * 100 AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\" fill(linear)", "rawQuery": true, "refId": "A", "resultFormat": "time_series", @@ -369,7 +349,7 @@ ] } ], - "title": "Shared Processor Pools - Utilization Percentage", + "title": "Shared Processor Pools - Utilization / Assigned", "type": "stat" }, { @@ -380,7 +360,6 @@ "mode": "thresholds" }, "decimals": 2, - "displayName": "Physical Pool", "mappings": [], "max": 98, "min": 0, @@ -455,7 +434,7 @@ "measurement": "server_sharedProcessorPool", "orderByTime": "ASC", "policy": "default", - "query": "SELECT (mean(\"utilizedProcUnits\") / mean(\"availableProcUnits\")) * 100 AS \"Utilization\" FROM \"server_physicalProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "query": "SELECT (last(\"utilizedProcUnits\") / last(\"totalProcUnits\")) * 100 AS \"Utilization\" FROM \"server_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval) fill(linear)", "rawQuery": true, "refId": "A", "resultFormat": "time_series", @@ -482,65 +461,84 @@ ] } ], - "title": "Processor Pool - Utilization Percentage", + "title": "Processor - Utilization / Total", "type": "gauge" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", - "decimals": 2, "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "cores", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 10 }, - "hiddenSeries": false, "id": 27, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$col", @@ -560,7 +558,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -654,106 +652,85 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Physical Processor Pool - Core Utilization", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:3244", - "format": "short", - "label": "cores", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:3245", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", - "decimals": 2, "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "Memory", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decmbytes" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 10 }, - "hiddenSeries": false, "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$col", @@ -773,7 +750,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -831,117 +808,118 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Memory Utilization", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:915", - "format": "decmbytes", - "label": "Memory", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:916", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "bytes", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "opacity", + "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" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "binBps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "vlan 1 - tx pkts" + }, + "properties": [ + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.axisLabel", + "value": "pkts" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "vlan 1 - rx pkts" + }, + "properties": [ + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.axisLabel", + "value": "pkts" + } + ] + } + ] }, - "fill": 1, - "fillGradient": 2, - "grid": {}, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 19 }, - "hiddenSeries": false, "id": 11, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "vlan 1 - sent pkts", - "yaxis": 2 + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" }, - { - "alias": "vlan 1 - recv pkts", - "yaxis": 2 + "tooltip": { + "mode": "multi" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "style": {}, + }, + "pluginVersion": "8.1.4", "targets": [ { "alias": "vlan $tag_vlanId - $col bytes", @@ -967,7 +945,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -988,11 +966,11 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ - "recv" + "rx" ], "type": "alias" } @@ -1006,7 +984,7 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ @@ -1016,7 +994,7 @@ }, { "params": [ - "sent" + "tx" ], "type": "alias" } @@ -1054,12 +1032,12 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } ], - "hide": false, + "hide": true, "measurement": "lpar_net_virtual", "orderByTime": "ASC", "policy": "default", @@ -1077,11 +1055,11 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ - "recv" + "rx" ], "type": "alias" } @@ -1095,7 +1073,7 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ @@ -1105,7 +1083,7 @@ }, { "params": [ - "sent" + "tx" ], "type": "alias" } @@ -1120,108 +1098,85 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Network Throughput - By VLAN", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1686", - "format": "binBps", - "label": "bytes", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1687", - "format": "none", - "label": "pkts", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "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": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, - "grid": {}, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 19 }, - "hiddenSeries": false, "id": 16, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "mode": "", - "nullPointMode": "connected", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, "targets": [ { "alias": "$tag_location", @@ -1247,7 +1202,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -1268,7 +1223,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -1281,100 +1236,85 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Physical Fiber Channel Adapters", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:1448", - "format": "Bps", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:1449", - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "celsius" }, "overrides": [] }, - "fill": 1, - "fillGradient": 1, "gridPos": { "h": 10, "w": 12, "x": 0, "y": 28 }, - "hiddenSeries": false, "id": 26, - "legend": { - "avg": false, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "$col", @@ -1488,96 +1428,82 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "CPU Temperature", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:5961", - "decimals": 0, - "format": "celsius", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:5962", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": "${DS_INFLUXDB-HMCI}", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "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": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "watt" }, "overrides": [] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 10, "w": 12, "x": 12, "y": 28 }, - "hiddenSeries": false, "id": 22, - "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": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi" + } }, - "percentage": false, "pluginVersion": "8.1.4", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "alias": "$tag_servername", @@ -1629,46 +1555,10 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, "title": "Power Consumption", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "watt", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" } ], "refresh": false, @@ -1739,5 +1629,5 @@ "timezone": "browser", "title": "IBM Power - HMCi - System Resources", "uid": "ClJhHPIGz", - "version": 24 + "version": 29 } \ No newline at end of file diff --git a/doc/IBM Power - HMCi - Virtual I_O Servers-1635180080226.json b/doc/IBM Power - HMCi - Virtual I_O Servers.json similarity index 80% rename from doc/IBM Power - HMCi - Virtual I_O Servers-1635180080226.json rename to doc/IBM Power - HMCi - Virtual I_O Servers.json index dd56b34..e711f98 100644 --- a/doc/IBM Power - HMCi - Virtual I_O Servers-1635180080226.json +++ b/doc/IBM Power - HMCi - Virtual I_O Servers.json @@ -22,12 +22,6 @@ "name": "Grafana", "version": "8.1.4" }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, { "type": "datasource", "id": "influxdb", @@ -72,7 +66,7 @@ "gnetId": 1465, "graphTooltip": 0, "id": null, - "iteration": 1635180069953, + "iteration": 1635485979203, "links": [], "panels": [ { @@ -143,7 +137,7 @@ "properties": [ { "id": "custom.width", - "value": 330 + "value": 159 } ] } @@ -151,7 +145,7 @@ }, "gridPos": { "h": 6, - "w": 12, + "w": 10, "x": 0, "y": 0 }, @@ -392,8 +386,8 @@ }, "gridPos": { "h": 6, - "w": 12, - "x": 12, + "w": 14, + "x": 10, "y": 0 }, "id": 27, @@ -529,6 +523,9 @@ "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "thresholds" + }, "links": [], "mappings": [], "max": 100, @@ -551,7 +548,7 @@ "overrides": [] }, "gridPos": { - "h": 7, + "h": 9, "w": 6, "x": 0, "y": 6 @@ -559,6 +556,7 @@ "id": 16, "links": [], "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -590,7 +588,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -611,7 +609,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -691,7 +689,7 @@ "overrides": [] }, "gridPos": { - "h": 7, + "h": 9, "w": 18, "x": 6, "y": 6 @@ -728,7 +726,13 @@ }, { "params": [ - "null" + "servername" + ], + "type": "tag" + }, + { + "params": [ + "linear" ], "type": "fill" } @@ -749,7 +753,7 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ @@ -767,7 +771,7 @@ }, { "params": [], - "type": "last" + "type": "mean" }, { "params": [ @@ -806,7 +810,7 @@ "mode": "palette-classic" }, "custom": { - "axisLabel": "Read", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", @@ -841,10 +845,6 @@ { "color": "green", "value": null - }, - { - "color": "red", - "value": 80 } ] }, @@ -853,12 +853,12 @@ "overrides": [] }, "gridPos": { - "h": 14, - "w": 12, + "h": 10, + "w": 24, "x": 0, - "y": 13 + "y": 15 }, - "id": 18, + "id": 17, "links": [], "options": { "legend": { @@ -867,13 +867,13 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "multi" } }, "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_viosname: $tag_id ($tag_location)", + "alias": "$tag_viosname - $tag_location (shared)", "dsType": "influxdb", "groupBy": [ { @@ -896,19 +896,13 @@ }, { "params": [ - "id" - ], - "type": "tag" - }, - { - "params": [ - "null" + "linear" ], "type": "fill" } ], "hide": false, - "measurement": "vios_storage_FC", + "measurement": "vios_network_shared", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -917,7 +911,127 @@ [ { "params": [ - "readBytes" + "transferredBytes" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "servername", + "operator": "=~", + "value": "/^$ServerName$/" + }, + { + "condition": "AND", + "key": "viosname", + "operator": "=~", + "value": "/^$ViosName$/" + } + ] + }, + { + "alias": "$tag_viosname - $tag_location (generic)", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "viosname" + ], + "type": "tag" + }, + { + "params": [ + "location" + ], + "type": "tag" + }, + { + "params": [ + "linear" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "vios_network_generic", + "orderByTime": "ASC", + "policy": "default", + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "transferredBytes" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "servername", + "operator": "=~", + "value": "/^$ServerName$/" + }, + { + "condition": "AND", + "key": "viosname", + "operator": "=~", + "value": "/^$ViosName$/" + } + ] + }, + { + "alias": "$tag_viosname - $tag_location (virtual)", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "viosname" + ], + "type": "tag" + }, + { + "params": [ + "linear" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "vios_network_virtual", + "orderByTime": "ASC", + "policy": "default", + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "transferredBytes" ], "type": "field" }, @@ -944,7 +1058,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Fiber Channel Adapters - $ServerName - $ViosName - Read", + "title": "Network - $ServerName - $ViosName", "type": "timeseries" }, { @@ -956,7 +1070,7 @@ "mode": "palette-classic" }, "custom": { - "axisLabel": "Write", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", @@ -1003,12 +1117,12 @@ "overrides": [] }, "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 13 + "h": 11, + "w": 24, + "x": 0, + "y": 25 }, - "id": 24, + "id": 18, "links": [], "options": { "legend": { @@ -1017,13 +1131,13 @@ "placement": "bottom" }, "tooltip": { - "mode": "single" + "mode": "multi" } }, "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_viosname: $tag_id ($tag_location", + "alias": "$tag_viosname - $tag_id ($tag_location)", "dsType": "influxdb", "groupBy": [ { @@ -1052,7 +1166,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -1061,145 +1175,13 @@ "measurement": "vios_storage_FC", "orderByTime": "ASC", "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "writeBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - }, - { - "condition": "AND", - "key": "viosname", - "operator": "=~", - "value": "/^$ViosName$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Fiber Channel Adapters - $ServerName - $ViosName - Write", - "type": "timeseries" - }, - { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB-HMCI}", - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 1, - "grid": {}, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 27 - }, - "hiddenSeries": false, - "id": 22, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "mode": "", - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, - "targets": [ - { - "alias": "$tag_viosname: $tag_id ($tag_location) read", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "viosname" - ], - "type": "tag" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "id" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "vios_storage_vFC", - "orderByTime": "ASC", - "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ - "readBytes" + "transmittedBytes" ], "type": "field" }, @@ -1224,220 +1206,10 @@ ] } ], - "thresholds": [], "timeFrom": null, - "timeRegions": [], "timeShift": null, - "title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName - Read", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2511", - "format": "Bps", - "label": "Read", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:2512", - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "content": "", - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB-HMCI}", - "description": "", - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 1, - "grid": {}, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 27 - }, - "hiddenSeries": false, - "id": 25, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "mode": "", - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.4", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "style": {}, - "targets": [ - { - "alias": "$tag_viosname: $tag_id ($tag_location) write", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "viosname" - ], - "type": "tag" - }, - { - "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "id" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "vios_storage_vFC", - "orderByTime": "ASC", - "policy": "default", - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "writeBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - }, - { - "condition": "AND", - "key": "viosname", - "operator": "=~", - "value": "/^$ViosName$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName - Write", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:2511", - "format": "Bps", - "label": "Write", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "$$hashKey": "object:2512", - "format": "none", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Fiber Channel Adapters - $ServerName - $ViosName", + "type": "timeseries" }, { "datasource": "${DS_INFLUXDB-HMCI}", @@ -1507,7 +1279,7 @@ "h": 11, "w": 12, "x": 0, - "y": 41 + "y": 36 }, "id": 23, "links": [], @@ -1547,7 +1319,7 @@ }, { "params": [ - "null" + "linear" ], "type": "fill" } @@ -1568,7 +1340,7 @@ }, { "params": [], - "type": "last" + "type": "mean" } ] ], @@ -1636,6 +1408,10 @@ { "color": "green", "value": null + }, + { + "color": "red", + "value": 80 } ] }, @@ -1647,9 +1423,9 @@ "h": 11, "w": 12, "x": 12, - "y": 41 + "y": 36 }, - "id": 17, + "id": 25, "links": [], "options": { "legend": { @@ -1664,7 +1440,7 @@ "pluginVersion": "8.1.4", "targets": [ { - "alias": "$tag_viosname - $tag_location (shared)", + "alias": "$tag_viosname - $tag_id ($tag_location)", "dsType": "influxdb", "groupBy": [ { @@ -1687,76 +1463,19 @@ }, { "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "vios_network_shared", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "transferredBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - }, - { - "condition": "AND", - "key": "viosname", - "operator": "=~", - "value": "/^$ViosName$/" - } - ] - }, - { - "alias": "$tag_viosname - $tag_location (generic)", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "viosname" + "id" ], "type": "tag" }, { "params": [ - "location" - ], - "type": "tag" - }, - { - "params": [ - "null" + "linear" ], "type": "fill" } ], "hide": false, - "measurement": "vios_network_generic", + "measurement": "vios_storage_vFC", "orderByTime": "ASC", "policy": "default", "refId": "B", @@ -1765,70 +1484,13 @@ [ { "params": [ - "transferredBytes" + "transmittedBytes" ], "type": "field" }, { "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "servername", - "operator": "=~", - "value": "/^$ServerName$/" - }, - { - "condition": "AND", - "key": "viosname", - "operator": "=~", - "value": "/^$ViosName$/" - } - ] - }, - { - "alias": "$tag_viosname - $tag_location (virtual)", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "viosname" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "vios_network_virtual", - "orderByTime": "ASC", - "policy": "default", - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "transferredBytes" - ], - "type": "field" - }, - { - "params": [], - "type": "last" + "type": "mean" } ] ], @@ -1849,7 +1511,7 @@ ], "timeFrom": null, "timeShift": null, - "title": "Network - $ServerName - $ViosName", + "title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName", "type": "timeseries" } ], @@ -1949,5 +1611,5 @@ "timezone": "browser", "title": "IBM Power - HMCi - Virtual I/O Servers", "uid": "DDNEv5vGz", - "version": 16 -} \ No newline at end of file + "version": 21 +} diff --git a/doc/hmci.toml b/doc/hmci.toml index bc782dc..16b34c8 100644 --- a/doc/hmci.toml +++ b/doc/hmci.toml @@ -1,32 +1,33 @@ # HMCi Configuration +# Copy this file into /etc/hmci.toml and customize to your environment. # How often to query HMC's for data - in seconds -hmci.update = 25 +hmci.update = 30 # Rescan HMC's for new systems and partitions - every x update -hmci.rescan = 90 +hmci.rescan = 120 -# InfluxDB to save metrics +# InfluxDB to save metrics into [influx] - url = "http://localhost:8086" - username = "root" - password = "" - database = "hmci" +url = "http://localhost:8086" +username = "root" +password = "" +database = "hmci" # One or more HMC's to query for data and metrics [hmc] - # HMC on our primary site - [hmc.site1] - url = "https://10.10.10.10:12443" - username = "hmci" - password = "hmcihmci" - unsafe = true # Ignore SSL cert. errors +# HMC on our primary site +[hmc.site1] +url = "https://10.10.10.10:12443" +username = "hmci" +password = "hmcihmci" +unsafe = true # Ignore SSL cert. errors - # Example - #[hmc.site2] - #url = "https://10.10.20.20:12443" - #username = "viewer" - #password = "someSecret" - #unsafe = false +# Example +#[hmc.site2] +#url = "https://10.10.20.20:12443" +#username = "viewer" +#password = "someSecret" +#unsafe = false