{ "__inputs": [ { "name": "DS_INFLUXDB", "label": "InfluxDB", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "gauge", "name": "Gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.1.3" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "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, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 }, "id": 11, "options": { "content": "## Metrics collected from IBM Power HMC\n \nFor more information: [bitbucket.org/mnellemann/hmci](https://bitbucket.org/mnellemann/hmci)\n ", "mode": "markdown" }, "pluginVersion": "9.1.3", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "refId": "A" } ], "transparent": true, "type": "text" }, { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 600 }, { "color": "red", "value": 1000 } ] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 3 }, "id": 7, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "9.1.3", "targets": [ { "alias": "$tag_servername", "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "none" ], "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$/" } ] } ], "title": "Power Consumption", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 45 }, { "color": "red", "value": 65 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 11, "w": 8, "x": 0, "y": 10 }, "id": 4, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.1.3", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "system" ], "type": "tag" }, { "params": [ "null" ], "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": "last" }, { "params": [ "CPU-1" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_2" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "CPU-2" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_3" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "CPU-3" ], "type": "alias" } ], [ { "params": [ "cpuTemperature_4" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "CPU-4" ], "type": "alias" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "title": "$ServerName - CPU Temperature", "type": "gauge" }, { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "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": 11, "w": 16, "x": 8, "y": 10 }, "id": 12, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "8.1.4", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "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$/" } ] } ], "title": "$ServerName - CPU Temperature", "type": "timeseries" }, { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "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": 10, "w": 8, "x": 0, "y": 21 }, "id": 13, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.1.3", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "server_energy_thermal", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "inletTemperature_1" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "inlet1" ], "type": "alias" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "title": "$ServerName - Inlet Temperature", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "description": "Inlet air temperature.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "area" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent", "value": null }, { "color": "#EAB839", "value": 25 }, { "color": "red", "value": 30 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 10, "w": 16, "x": 8, "y": 21 }, "id": 5, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.1.6", "targets": [ { "alias": "$col", "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "servername" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "server_energy_thermal", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "inletTemperature_1" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "Inlet 1" ], "type": "alias" } ] ], "tags": [ { "key": "servername", "operator": "=~", "value": "/^$ServerName$/" } ] } ], "title": "$ServerName - Inlet Temperature", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 37, "style": "dark", "tags": [ "Power" ], "templating": { "list": [ { "current": {}, "datasource": { "type": "influxdb", "uid": "${DS_INFLUXDB}" }, "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "hide": 0, "includeAll": false, "multi": false, "name": "ServerName", "options": [], "query": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-30d", "to": "now-30s" }, "timepicker": { "nowDelay": "30s", "refresh_intervals": [ "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "HMCi - Power System Energy", "uid": "oHcrgD1Mk", "version": 2, "weekStart": "" }