hmci/doc/dashboards/HMCi - Power System Energy.json

921 lines
21 KiB
JSON
Raw Normal View History

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