{ "__inputs": [ { "name": "DS_INFLUXDB-HMCI", "label": "InfluxDB-hmci", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.1.4" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "https://bitbucket.org/mnellemann/hmci/", "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "iteration": 1635428793809, "links": [], "panels": [ { "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": [] }, "gridPos": { "h": 9, "w": 7, "x": 0, "y": 0 }, "id": 2, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "pluginVersion": "8.1.4", "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": "timeseries" }, { "datasource": "${DS_INFLUXDB-HMCI}", "fieldConfig": { "defaults": { "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": "8.1.4", "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-HMCI}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 }, "id": 9, "panels": [], "repeat": "ServerName", "title": "$ServerName Thermal", "type": "row" }, { "datasource": "${DS_INFLUXDB-HMCI}", "description": "Inlet air temperature.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 25 }, { "color": "red", "value": 30 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 9, "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": "8.1.4", "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" }, { "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": [] }, "gridPos": { "h": 9, "w": 17, "x": 7, "y": 10 }, "id": 4, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "pluginVersion": "8.1.4", "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$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "$ServerName - CPU Temperature", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 30, "style": "dark", "tags": [ "Power" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB-HMCI}", "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": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-7d", "to": "now-30s" }, "timepicker": { "nowDelay": "30s", "refresh_intervals": [ "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "IBM Power - HMCi - System Energy", "uid": "oHcrgD1Mk", "version": 7 }