{ "__inputs": [ { "name": "DS_INFLUXDB", "label": "InfluxDB", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.4.2" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "https://bitbucket.org/mnellemann/hmci/", "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "iteration": 1617197417499, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [], "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 }, "percentage": false, "pluginVersion": "7.4.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_servername", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "server_energy_power", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "powerReading" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "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 } }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 9, "w": 17, "x": 7, "y": 0 }, "id": 7, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.4.2", "targets": [ { "alias": "$tag_servername", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "server_energy_power", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "powerReading" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "Power Consumption", "type": "stat" }, { "collapsed": false, "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 }, "id": 9, "panels": [], "repeat": "ServerName", "title": "$ServerName Thermal", "type": "row" }, { "datasource": "${DS_INFLUXDB}", "description": "Inlet air temperature.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": {}, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 25 }, { "color": "red", "value": 30 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 7, "w": 7, "x": 0, "y": 10 }, "id": 5, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.4.2", "targets": [ { "alias": "$tag_servername - $tag_name", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "server_energy_thermal", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "inletTemperature_1" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "$ServerName - Inlet", "type": "stat" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "celsius" }, "overrides": [] }, "fill": 1, "fillGradient": 1, "gridPos": { "h": 7, "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 }, "percentage": false, "pluginVersion": "7.4.2", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$col", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "system" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "server_energy_thermal", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"cpuTemperature*\") FROM \"server_energy_thermal\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"system\", \"servername\" fill(linear)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "cpuTemperature_1" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "CPU-1" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_2" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "CPU-2" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_3" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "CPU-3" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_4" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "CPU-4" ], "type": "alias" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "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 } } ], "refresh": "1m", "schemaVersion": 27, "style": "dark", "tags": [ "POWER" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": true, "name": "ServerName", "options": [], "query": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-2d", "to": "now-1m" }, "timepicker": { "nowDelay": "1m", "refresh_intervals": [ "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "IBM Power - HMCi - System Energy", "uid": "oHcrgD1Mk", "version": 20 }