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 - Configure Grafana to use InfluxDB as a new datasource
- **NOTE:** set *Min time interval* to *30s* or *1m* depending on your HMCi *refresh* setting. - **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 ## Notes

View file

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

View file

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

View file

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

View file

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