hmci/doc/dashboards/HMCi - Power LPAR Utilization.json

703 lines
16 KiB
JSON
Raw Normal View History

2020-08-13 09:48:00 +00:00
{
"__inputs": [
{
"name": "DS_HMCI",
2022-12-05 14:18:42 +00:00
"label": "Database",
"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": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.6"
2020-08-13 09:48:00 +00:00
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
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": {
2022-10-28 11:16:05 +00:00
"enable": false,
2020-08-13 09:48:00 +00:00
"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"
}
]
},
2023-02-06 18:46:10 +00:00
"description": "https://git.data.coop/nellemann/hmci/ - Metrics from IBM Power Systems",
2020-08-13 09:48:00 +00:00
"editable": true,
2022-04-27 08:36:07 +00:00
"fiscalYearStartMonth": 0,
2022-10-28 11:16:05 +00:00
"gnetId": 1510,
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",
"uid": "${DS_HMCI}"
},
2022-04-27 08:36:07 +00:00
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
2022-10-28 11:16:05 +00:00
"id": 37,
2022-04-27 08:36:07 +00:00
"options": {
2023-02-06 18:46:10 +00:00
"content": "## Metrics collected from IBM Power HMC\n \nFor more information visit: [git.data.coop/nellemann/hmci](https://git.data.coop/nellemann/hmci)\n ",
2022-04-27 08:36:07 +00:00
"mode": "markdown"
},
"pluginVersion": "9.1.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"refId": "A"
}
],
2022-04-27 08:36:07 +00:00
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
2022-04-27 08:36:07 +00:00
},
2021-03-25 19:48:21 +00:00
"description": "",
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,
2021-10-29 06:38:10 +00:00
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
2022-10-28 11:16:05 +00:00
"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
}
},
2022-10-28 11:16:05 +00:00
"decimals": 2,
"links": [],
2021-10-29 06:38:10 +00:00
"mappings": [],
2022-10-28 11:16:05 +00:00
"min": 0,
2021-10-29 06:38:10 +00:00
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
2022-10-28 11:16:05 +00:00
{
"color": "#EAB839",
"value": 0.8
},
2021-10-29 06:38:10 +00:00
{
"color": "red",
2022-10-28 11:16:05 +00:00
"value": 0.9
2021-10-29 06:38:10 +00:00
}
]
},
2022-10-28 11:16:05 +00:00
"unit": "percentunit"
2020-08-13 09:48:00 +00:00
},
"overrides": []
},
"gridPos": {
2022-10-28 11:16:05 +00:00
"h": 11,
"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
},
"id": 2,
2022-10-28 11:16:05 +00:00
"links": [],
2020-12-11 10:14:17 +00:00
"options": {
2021-10-29 06:38:10 +00:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
2022-10-28 11:16:05 +00:00
"showLegend": false
2021-10-29 06:38:10 +00:00
},
"tooltip": {
2022-04-27 08:36:07 +00:00
"mode": "multi",
2022-10-28 11:16:05 +00:00
"sort": "desc"
2021-10-29 06:38:10 +00:00
}
2020-12-11 10:14:17 +00:00
},
2021-10-29 06:38:10 +00:00
"pluginVersion": "8.1.4",
2020-08-13 09:48:00 +00:00
"targets": [
{
2022-10-28 11:16:05 +00:00
"alias": "$tag_lparname",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
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
"null"
2020-08-13 09:48:00 +00:00
],
"type": "fill"
}
],
2022-10-28 11:16:05 +00:00
"hide": false,
"measurement": "/^$ServerName$/",
2020-09-03 14:17:04 +00:00
"orderByTime": "ASC",
2020-08-13 09:48:00 +00:00
"policy": "default",
"query": "SELECT mean(\"utilizedProcUnits\") / mean(\"currentVirtualProcessors\") AS \"usage\" FROM \"lpar_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"lparname\" =~ /^$LPAR$/) AND $timeFilter GROUP BY time($interval), \"lparname\", \"servername\" fill(none)",
2022-10-28 11:16:05 +00:00
"rawQuery": true,
2020-08-13 09:48:00 +00:00
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
2022-10-28 11:16:05 +00:00
"value"
2020-08-13 09:48:00 +00:00
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
2022-10-28 11:16:05 +00:00
"tags": []
2020-08-13 09:48:00 +00:00
}
],
2022-10-28 11:16:05 +00:00
"title": "Processor Units - Utilized / Max",
"transformations": [],
2021-10-29 06:38:10 +00:00
"type": "timeseries"
2020-08-13 09:48:00 +00:00
},
{
2022-04-27 08:36:07 +00:00
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
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": "palette-classic"
},
"custom": {
"axisCenteredZero": true,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
2022-10-28 11:16:05 +00:00
"value": 80
}
]
},
2022-10-28 11:16:05 +00:00
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
2022-10-28 11:16:05 +00:00
"h": 19,
"w": 12,
"x": 0,
"y": 14
},
2022-10-28 11:16:05 +00:00
"id": 8,
"options": {
2022-10-28 11:16:05 +00:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
2022-10-28 11:16:05 +00:00
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
2022-10-28 11:16:05 +00:00
"pluginVersion": "8.1.4",
"targets": [
{
2022-10-28 11:16:05 +00:00
"alias": "$tag_servername - $tag_lparname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
2022-10-28 11:16:05 +00:00
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
2022-10-28 11:16:05 +00:00
{
"params": [
"lparname"
],
"type": "tag"
},
{
"params": [
2021-03-25 19:48:21 +00:00
"servername"
],
"type": "tag"
},
{
"params": [
2022-10-28 11:16:05 +00:00
"none"
],
"type": "fill"
}
],
2022-10-28 11:16:05 +00:00
"hide": false,
"measurement": "lpar_net_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
2022-10-28 11:16:05 +00:00
"receivedPhysicalBytes"
],
"type": "field"
},
{
"params": [],
2022-10-28 11:16:05 +00:00
"type": "sum"
},
{
2022-10-28 11:16:05 +00:00
"params": [
"read"
],
"type": "alias"
}
2022-10-28 11:16:05 +00:00
],
2020-08-13 09:48:00 +00:00
[
{
"params": [
2022-10-28 11:16:05 +00:00
"sentPhysicalBytes"
2020-08-13 09:48:00 +00:00
],
"type": "field"
},
{
"params": [],
2022-10-28 11:16:05 +00:00
"type": "sum"
},
{
"params": [
"*-1"
],
"type": "math"
},
{
"params": [
"write"
],
"type": "alias"
2020-08-13 09:48:00 +00:00
}
]
],
"tags": [
{
2022-10-28 11:16:05 +00:00
"key": "lparname",
"operator": "=~",
"value": "/^$LPAR$/"
},
{
"condition": "AND",
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": "Virtual Network Adapters",
"type": "timeseries"
2020-08-13 09:48:00 +00:00
},
{
2022-04-27 08:36:07 +00:00
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
2022-04-27 08:36:07 +00:00
},
2021-03-25 19:48:21 +00:00
"description": "",
2020-08-13 09:48:00 +00:00
"fieldConfig": {
"defaults": {
2021-10-29 06:38:10 +00:00
"color": {
"mode": "palette-classic"
},
"custom": {
2022-10-28 11:16:05 +00:00
"axisCenteredZero": true,
"axisColorMode": "text",
2021-10-29 06:38:10 +00:00
"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",
2022-10-28 11:16:05 +00:00
"spanNulls": false,
2021-10-29 06:38:10 +00:00
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
2022-10-28 11:16:05 +00:00
"decimals": 2,
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
"unit": "Bps"
2020-08-13 09:48:00 +00:00
},
"overrides": []
},
"gridPos": {
2022-10-28 11:16:05 +00:00
"h": 19,
"w": 12,
"x": 12,
"y": 14
2020-08-13 09:48:00 +00:00
},
2022-10-28 11:16:05 +00:00
"id": 34,
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",
2022-10-28 11:16:05 +00:00
"showLegend": false
2021-10-29 06:38:10 +00:00
},
"tooltip": {
2022-04-27 08:36:07 +00:00
"mode": "multi",
2022-10-28 11:16:05 +00:00
"sort": "desc"
2021-10-29 06:38:10 +00:00
}
2020-12-11 10:14:17 +00:00
},
2021-10-29 06:38:10 +00:00
"pluginVersion": "8.1.4",
2020-08-13 09:48:00 +00:00
"targets": [
{
2022-10-28 11:16:05 +00:00
"alias": "$tag_servername - $tag_lparname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
2022-10-28 11:16:05 +00:00
"dsType": "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
"lparname"
2020-08-13 09:48:00 +00:00
],
"type": "tag"
},
{
"params": [
2022-10-28 11:16:05 +00:00
"servername"
],
"type": "tag"
},
{
"params": [
"none"
2020-08-13 09:48:00 +00:00
],
"type": "fill"
}
],
2022-10-28 11:16:05 +00:00
"hide": false,
"measurement": "lpar_storage_vFC",
2020-09-03 14:17:04 +00:00
"orderByTime": "ASC",
2020-08-13 09:48:00 +00:00
"policy": "default",
2022-10-28 11:16:05 +00:00
"query": "SELECT mean(\"value\") FROM \"PartitionVirtualFiberChannelAdapters\" WHERE (\"system\" =~ /^$ManagedSystem$/ AND \"name\" != 'transmittedBytes' AND \"partition\" =~ /^$Partition$/) AND $timeFilter GROUP BY time($interval), \"wwpn\", \"partition\", \"name\" fill(null)",
2021-03-25 19:48:21 +00:00
"rawQuery": false,
2022-10-28 11:16:05 +00:00
"refId": "B",
2020-08-13 09:48:00 +00:00
"resultFormat": "time_series",
"select": [
[
{
"params": [
2022-10-28 11:16:05 +00:00
"readBytes"
2021-03-25 19:48:21 +00:00
],
"type": "field"
},
{
"params": [],
2022-10-28 11:16:05 +00:00
"type": "sum"
2021-03-25 19:48:21 +00:00
},
{
"params": [
2022-10-28 11:16:05 +00:00
5
2021-03-25 19:48:21 +00:00
],
2022-10-28 11:16:05 +00:00
"type": "moving_average"
2021-03-25 19:48:21 +00:00
},
{
"params": [
2022-10-28 11:16:05 +00:00
"read"
2021-03-25 19:48:21 +00:00
],
"type": "alias"
}
],
[
{
"params": [
2022-10-28 11:16:05 +00:00
"writeBytes"
2021-03-25 19:48:21 +00:00
],
"type": "field"
},
{
"params": [],
2022-10-28 11:16:05 +00:00
"type": "sum"
2021-03-25 19:48:21 +00:00
},
{
"params": [
2022-10-28 11:16:05 +00:00
5
2021-03-25 19:48:21 +00:00
],
2022-10-28 11:16:05 +00:00
"type": "moving_average"
},
2021-03-25 19:48:21 +00:00
{
"params": [
2022-10-28 11:16:05 +00:00
"*-1"
2020-08-13 09:48:00 +00:00
],
2022-10-28 11:16:05 +00:00
"type": "math"
2021-03-25 19:48:21 +00:00
},
{
"params": [
2022-10-28 11:16:05 +00:00
"write"
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$/"
2022-10-28 11:16:05 +00:00
},
{
"condition": "AND",
"key": "lparname",
"operator": "=~",
"value": "/^$LPAR$/"
2020-08-13 09:48:00 +00:00
}
]
}
],
2022-10-28 11:16:05 +00:00
"title": "Virtual Fiber Channel Adapters",
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",
2022-10-28 11:16:05 +00:00
"tags": [],
2020-08-13 09:48:00 +00:00
"templating": {
"list": [
{
2022-10-28 11:16:05 +00:00
"allFormat": "regex values",
2020-08-13 09:48:00 +00:00
"current": {},
2022-04-27 08:36:07 +00:00
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
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,
2022-10-28 11:16:05 +00:00
"includeAll": true,
"label": "Server Name",
2020-08-13 09:48:00 +00:00
"multi": true,
2022-10-28 11:16:05 +00:00
"multiFormat": "regex values",
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,
2022-10-28 11:16:05 +00:00
"refresh_on_load": false,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query",
"useTags": false
},
{
"allFormat": "regex values",
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
2022-10-28 11:16:05 +00:00
},
"definition": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/",
"hide": 0,
"includeAll": true,
"label": "Logical Partition",
"multi": true,
"multiFormat": "regex values",
"name": "LPAR",
"options": [],
"query": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/",
"refresh": 1,
"refresh_on_load": false,
2020-08-13 09:48:00 +00:00
"regex": "",
"skipUrlSync": false,
2022-04-27 08:36:07 +00:00
"sort": 5,
2020-08-13 09:48:00 +00:00
"type": "query",
"useTags": false
}
]
},
"time": {
2022-10-28 11:16:05 +00:00
"from": "now-6h",
"now": false,
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"
2022-10-28 11:16:05 +00:00
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
2020-08-13 09:48:00 +00:00
]
},
2022-10-28 11:16:05 +00:00
"timezone": "browser",
"title": "HMCi - Power LPAR Utilization",
"uid": "jFsbpTH4k",
"version": 2,
2022-04-27 08:36:07 +00:00
"weekStart": ""
2022-12-05 14:18:42 +00:00
}