Update dashboards.

This commit is contained in:
Mark Nellemann 2022-10-28 17:36:42 +02:00
parent 647517eb98
commit 4f341e0909
5 changed files with 352 additions and 409 deletions

View file

@ -73,7 +73,7 @@ Install *HMCi* on a host, that can connect to your Power HMC (on port 12443), an
- Configure Grafana to use InfluxDB as a new datasource
- **NOTE:** set *Min time interval* to *30s* or *1m* depending on your HMCi *refresh* setting.
- Import example dashboards from [doc/*.json](doc/) into Grafana as a starting point and get creative making your own cool dashboards :)
- Import example dashboards from [doc/dashboards/*.json](doc/dashboards/) into Grafana as a starting point and get creative making your own cool dashboards :)
## Notes

View file

@ -11,12 +11,6 @@
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
@ -1048,8 +1042,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1200,8 +1193,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1376,8 +1368,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1390,7 +1381,7 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 11,
"w": 12,
"x": 0,
"y": 45
@ -1398,11 +1389,7 @@
"id": 11,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
@ -1533,8 +1520,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1547,7 +1533,7 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 11,
"w": 12,
"x": 12,
"y": 45
@ -1555,11 +1541,7 @@
"id": 34,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
@ -1689,8 +1671,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1706,16 +1687,12 @@
"h": 10,
"w": 12,
"x": 0,
"y": 55
"y": 56
},
"id": 35,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
@ -1851,8 +1828,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -1868,16 +1844,12 @@
"h": 10,
"w": 12,
"x": 12,
"y": 55
"y": 56
},
"id": 19,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
@ -1890,7 +1862,7 @@
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_lparname ($tag_location)",
"alias": "$tag_lparname",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
@ -2014,8 +1986,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2031,16 +2002,12 @@
"h": 8,
"w": 12,
"x": 0,
"y": 65
"y": 66
},
"id": 13,
"options": {
"legend": {
"calcs": [
"mean",
"max",
"min"
],
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
@ -2213,8 +2180,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2230,7 +2196,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 65
"y": 66
},
"id": 12,
"options": {
@ -2364,7 +2330,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 73
"y": 74
},
"id": 23,
"panels": [],
@ -2398,8 +2364,7 @@
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
"color": "red"
},
{
"color": "orange",
@ -2420,10 +2385,10 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 11,
"w": 12,
"x": 0,
"y": 74
"y": 75
},
"id": 9,
"links": [],
@ -2518,15 +2483,48 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"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": "percent"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
@ -2535,27 +2533,24 @@
"overrides": []
},
"gridPos": {
"h": 8,
"h": 11,
"w": 12,
"x": 12,
"y": 74
"y": 75
},
"id": 33,
"links": [],
"options": {
"displayMode": "basic",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"showUnfilled": true,
"text": {}
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.1.6",
"targets": [
@ -2622,7 +2617,7 @@
}
],
"title": "Memory Assigned",
"type": "bargauge"
"type": "timeseries"
}
],
"refresh": false,
@ -2684,7 +2679,7 @@
]
},
"time": {
"from": "now-6h",
"from": "now-7d",
"now": false,
"to": "now-30s"
},
@ -2715,6 +2710,6 @@
"timezone": "browser",
"title": "HMCi - Power LPAR Overview",
"uid": "Xl7oHESGz",
"version": 2,
"version": 4,
"weekStart": ""
}

View file

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"name": "DS_HMCI",
"label": "hmci",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -13,15 +13,15 @@
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
"version": "9.1.6"
},
{
"type": "datasource",
@ -81,7 +81,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"gridPos": {
"h": 3,
@ -94,12 +94,12 @@
"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",
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"refId": "A"
}
@ -110,7 +110,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"fieldConfig": {
"defaults": {
@ -158,13 +158,13 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$tag_servername",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -220,16 +220,14 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"mode": "continuous-BlYlRd"
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
@ -238,13 +236,9 @@
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 45
},
{
"color": "red",
"value": 65
"value": 80
}
]
},
@ -260,7 +254,10 @@
},
"id": 4,
"options": {
"orientation": "auto",
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
@ -268,16 +265,15 @@
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
"showUnfilled": true
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -390,12 +386,12 @@
}
],
"title": "$ServerName - CPU Temperature",
"type": "gauge"
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -480,7 +476,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -598,7 +594,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "Inlet air temperature.",
"fieldConfig": {
@ -650,13 +646,13 @@
},
"textMode": "auto"
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -718,7 +714,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "Inlet air temperature.",
"fieldConfig": {
@ -804,7 +800,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -876,7 +872,7 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
@ -897,7 +893,7 @@
]
},
"time": {
"from": "now-30d",
"from": "now-7d",
"to": "now-30s"
},
"timepicker": {

View file

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"name": "DS_HMCI",
"label": "hmci",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -11,6 +11,12 @@
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
@ -21,7 +27,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
"version": "9.1.6"
},
{
"type": "datasource",
@ -83,7 +89,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"gridPos": {
"h": 3,
@ -96,12 +102,12 @@
"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",
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"refId": "A"
}
@ -112,7 +118,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -144,12 +150,13 @@
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
@ -187,7 +194,7 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
@ -196,7 +203,7 @@
"alias": "$tag_poolname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -218,12 +225,6 @@
],
"type": "tag"
},
{
"params": [
"pool"
],
"type": "tag"
},
{
"params": [
"none"
@ -274,15 +275,13 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
@ -291,13 +290,9 @@
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.8
},
{
"color": "red",
"value": 0.9
"value": 80
}
]
},
@ -324,16 +319,15 @@
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$tag_poolname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -391,35 +385,28 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"max": 1,
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.7
},
{
"color": "orange",
"value": 0.8
"value": 70
},
{
"color": "red",
"value": 0.9
"value": 85
}
]
},
@ -444,16 +431,15 @@
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"text": {}
"showThresholdMarkers": true
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -511,7 +497,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -592,7 +578,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -710,7 +696,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -791,7 +777,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -909,7 +895,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -992,7 +978,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1074,7 +1060,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -1186,7 +1172,7 @@
"alias": "vlan $tag_vlanId",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1250,7 +1236,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -1333,7 +1319,7 @@
"alias": "$tag_location $col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1397,61 +1383,26 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
"mode": "continuous-BlYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "area"
}
},
"decimals": 0,
"links": [],
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 90
"value": 80
}
]
},
@ -1467,24 +1418,26 @@
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
"showUnfilled": true
},
"pluginVersion": "8.1.4",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -1597,17 +1550,18 @@
}
],
"title": "CPU Temperature",
"type": "timeseries"
"type": "bargauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
"mode": "continuous-BlYlRd"
},
"custom": {
"axisCenteredZero": false,
@ -1616,21 +1570,21 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"fillOpacity": 20,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
@ -1646,10 +1600,13 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
}
},
"overrides": []
},
@ -1659,139 +1616,6 @@
"x": 12,
"y": 30
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.1.4",
"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": "timeseries"
},
{
"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": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"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
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 6,
"x": 18,
"y": 30
},
"id": 34,
"options": {
"legend": {
@ -1801,7 +1625,7 @@
"showLegend": true
},
"tooltip": {
"mode": "multi",
"mode": "single",
"sort": "none"
}
},
@ -1811,7 +1635,7 @@
"alias": "$tag_servername",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -1863,6 +1687,141 @@
],
"title": "Inlet Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 6,
"x": 18,
"y": 30
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"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": "timeseries"
}
],
"refresh": "30s",
@ -1878,7 +1837,7 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
@ -1900,7 +1859,7 @@
]
},
"time": {
"from": "now-24h",
"from": "now-7d",
"now": false,
"to": "now-30s"
},
@ -1931,6 +1890,6 @@
"timezone": "browser",
"title": "HMCi - Power System Overview",
"uid": "ClJhHPIGz",
"version": 5,
"version": 3,
"weekStart": ""
}

View file

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"name": "DS_HMCI",
"label": "hmci",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -21,7 +21,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
"version": "9.1.6"
},
{
"type": "datasource",
@ -83,7 +83,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"gridPos": {
"h": 3,
@ -96,12 +96,12 @@
"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",
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"refId": "A"
}
@ -112,7 +112,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -205,13 +205,13 @@
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "Read",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -314,7 +314,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -426,13 +426,6 @@
"value": 203
}
]
},
{
"matcher": {
"id": "byName",
"options": "viosname"
},
"properties": []
}
]
},
@ -459,13 +452,13 @@
}
]
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "Read",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"groupBy": [
{
@ -582,7 +575,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -632,13 +625,13 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.1.3",
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$tag_servername - $tag_viosname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -662,7 +655,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -708,7 +701,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -792,7 +785,7 @@
"alias": "$tag_servername - $tag_viosname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -886,7 +879,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -965,7 +958,7 @@
"alias": "$tag_servername - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1044,7 +1037,7 @@
"alias": "$tag_servername - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1117,7 +1110,7 @@
"alias": "$tag_systemname - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1187,7 +1180,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -1261,16 +1254,16 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_viosname - ($tag_id - $tag_location)",
"alias": "$tag_servername - $tag_viosname - ($tag_id / $tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1358,7 +1351,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -1450,7 +1443,7 @@
"alias": "$tag_servername - $tag_viosname ($tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1532,7 +1525,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"description": "",
"fieldConfig": {
@ -1615,7 +1608,7 @@
"alias": "$tag_servername - $tag_viosname - ($tag_id - $tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
@ -1716,7 +1709,7 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
@ -1740,7 +1733,7 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
"uid": "${DS_HMCI}"
},
"definition": "SHOW TAG VALUES FROM \"vios_details\" WITH KEY = \"viosname\" WHERE servername =~ /$ServerName/ AND time > now() - 24h",
"hide": 0,
@ -1762,7 +1755,7 @@
]
},
"time": {
"from": "now-6h",
"from": "now-7d",
"now": false,
"to": "now-30s"
},
@ -1793,6 +1786,6 @@
"timezone": "browser",
"title": "HMCi - Power VIO Overview",
"uid": "DDNEv5vGz",
"version": 3,
"version": 2,
"weekStart": ""
}