Update dashboards.

This commit is contained in:
Mark Nellemann 2022-10-28 13:16:05 +02:00
parent 8a4d6d0ca5
commit 647517eb98
6 changed files with 2488 additions and 795 deletions

View File

@ -0,0 +1,702 @@
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"enable": false,
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "https://bitbucket.org/mnellemann/hmci/",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 1510,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 37,
"options": {
"content": "## Metrics collected from IBM Power HMC\n \nFor more information: [bitbucket.org/mnellemann/hmci](https://bitbucket.org/mnellemann/hmci)\n ",
"mode": "markdown"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "area"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 3
},
"id": 2,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_lparname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "/^$ServerName$/",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"utilizedProcUnits\") / mean(\"maxProcUnits\") AS \"usage\" FROM \"lpar_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"lparname\" =~ /^$LPAR$/) AND $timeFilter GROUP BY time($interval), \"lparname\", \"servername\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"title": "Processor Units - Utilized / Max",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"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",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 19,
"w": 12,
"x": 0,
"y": 14
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_lparname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"lparname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "lpar_net_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"receivedPhysicalBytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"read"
],
"type": "alias"
}
],
[
{
"params": [
"sentPhysicalBytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
"*-1"
],
"type": "math"
},
{
"params": [
"write"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "lparname",
"operator": "=~",
"value": "/^$LPAR$/"
},
{
"condition": "AND",
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"title": "Virtual Network Adapters",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": true,
"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": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 2,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 19,
"w": 12,
"x": 12,
"y": 14
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_lparname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"lparname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "lpar_storage_vFC",
"orderByTime": "ASC",
"policy": "default",
"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)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"readBytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"read"
],
"type": "alias"
}
],
[
{
"params": [
"writeBytes"
],
"type": "field"
},
{
"params": [],
"type": "sum"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"*-1"
],
"type": "math"
},
{
"params": [
"write"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "lparname",
"operator": "=~",
"value": "/^$LPAR$/"
}
]
}
],
"title": "Virtual Fiber Channel Adapters",
"type": "timeseries"
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allFormat": "regex values",
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
"includeAll": true,
"label": "Server Name",
"multi": true,
"multiFormat": "regex values",
"name": "ServerName",
"options": [],
"query": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query",
"useTags": false
},
{
"allFormat": "regex values",
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"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,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"now": false,
"to": "now-30s"
},
"timepicker": {
"nowDelay": "30s",
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "HMCi - Power LPAR Utilization",
"uid": "jFsbpTH4k",
"version": 4,
"weekStart": ""
}

View File

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_HMCI",
"label": "hmci",
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -11,11 +11,17 @@
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.4"
"version": "9.1.3"
},
{
"type": "datasource",
@ -75,7 +81,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"gridPos": {
"h": 3,
@ -88,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.4",
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"refId": "A"
}
@ -104,145 +110,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"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": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"x": 0,
"y": 3
},
"id": 2,
"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_HMCI}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
],
"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_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
@ -269,9 +137,9 @@
"overrides": []
},
"gridPos": {
"h": 9,
"w": 17,
"x": 7,
"h": 7,
"w": 24,
"x": 0,
"y": 3
},
"id": 7,
@ -290,13 +158,13 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$tag_servername",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -313,7 +181,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -350,43 +218,17 @@
"type": "stat"
},
{
"collapsed": false,
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
"uid": "${DS_INFLUXDB}"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 9,
"panels": [],
"repeat": "ServerName",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
},
"refId": "A"
}
],
"title": "$ServerName Thermal",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"description": "Inlet air temperature.",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
@ -398,11 +240,11 @@
},
{
"color": "#EAB839",
"value": 25
"value": 45
},
{
"color": "red",
"value": 30
"value": 65
}
]
},
@ -411,34 +253,31 @@
"overrides": []
},
"gridPos": {
"h": 9,
"w": 7,
"h": 11,
"w": 8,
"x": 0,
"y": 13
"y": 10
},
"id": 5,
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$tag_servername - $tag_name",
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -449,13 +288,13 @@
},
{
"params": [
"servername"
"system"
],
"type": "tag"
},
{
"params": [
"linear"
"null"
],
"type": "fill"
}
@ -463,19 +302,81 @@
"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": [
"inletTemperature_1"
"cpuTemperature_1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
"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"
}
]
],
@ -488,13 +389,13 @@
]
}
],
"title": "$ServerName - Inlet",
"type": "stat"
"title": "$ServerName - CPU Temperature",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -553,12 +454,12 @@
"overrides": []
},
"gridPos": {
"h": 9,
"w": 17,
"x": 7,
"y": 13
"h": 11,
"w": 16,
"x": 8,
"y": 10
},
"id": 4,
"id": 12,
"options": {
"legend": {
"calcs": [
@ -579,7 +480,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -693,6 +594,274 @@
],
"title": "$ServerName - CPU Temperature",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "Inlet air temperature.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "red",
"value": 30
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 8,
"x": 0,
"y": 21
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "server_energy_thermal",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"inletTemperature_1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"inlet1"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"title": "$ServerName - Inlet Temperature",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "Inlet air temperature.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "area"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
},
{
"color": "#EAB839",
"value": 25
},
{
"color": "red",
"value": 30
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 16,
"x": 8,
"y": 21
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "9.1.6",
"targets": [
{
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "server_energy_thermal",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"inletTemperature_1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"Inlet 1"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"title": "$ServerName - Inlet Temperature",
"type": "timeseries"
}
],
"refresh": "30s",
@ -707,12 +876,12 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
"includeAll": false,
"multi": true,
"multi": false,
"name": "ServerName",
"options": [],
"query": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",

View File

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_HMCI",
"label": "hmci",
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -21,7 +21,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.4"
"version": "9.1.3"
},
{
"type": "datasource",
@ -83,7 +83,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"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.4",
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"refId": "A"
}
@ -110,36 +110,9 @@
"type": "text"
},
{
"collapsed": false,
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 20,
"panels": [],
"repeat": "ServerName",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "5KYZifB7z"
},
"refId": "A"
}
],
"title": "Server - $ServerName",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -201,7 +174,7 @@
"h": 9,
"w": 15,
"x": 0,
"y": 4
"y": 3
},
"id": 19,
"links": [],
@ -223,7 +196,7 @@
"alias": "$tag_poolname",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -253,7 +226,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -301,12 +274,12 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-blues"
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
@ -318,13 +291,17 @@
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.8
},
{
"color": "red",
"value": 80
"value": 0.9
}
]
},
"unit": "short"
"unit": "percentunit"
},
"overrides": []
},
@ -332,7 +309,7 @@
"h": 9,
"w": 5,
"x": 15,
"y": 4
"y": 3
},
"id": 29,
"options": {
@ -350,13 +327,13 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$tag_poolname",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -381,7 +358,7 @@
"measurement": "server_sharedProcessorPool",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT (mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\")) * 100 AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\" fill(linear)",
"query": "SELECT mean(\"utilizedProcUnits\") / mean(\"assignedProcUnits\") AS \"Utilization\" FROM \"server_sharedProcessorPool\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval), \"poolname\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@ -408,13 +385,13 @@
]
}
],
"title": "Shared Processor Pools - Utilization Percentage",
"title": "Shared Processor Pools - Utilization / Assigned",
"type": "stat"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
@ -423,7 +400,7 @@
},
"decimals": 2,
"mappings": [],
"max": 98,
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
@ -434,19 +411,19 @@
},
{
"color": "#EAB839",
"value": 70
"value": 0.7
},
{
"color": "orange",
"value": 80
"value": 0.8
},
{
"color": "red",
"value": 90
"value": 0.9
}
]
},
"unit": "percent"
"unit": "percentunit"
},
"overrides": []
},
@ -454,7 +431,7 @@
"h": 9,
"w": 4,
"x": 20,
"y": 4
"y": 3
},
"id": 30,
"options": {
@ -470,13 +447,13 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -501,7 +478,7 @@
"measurement": "server_sharedProcessorPool",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT (last(\"utilizedProcUnits\") / last(\"totalProcUnits\")) * 100 AS \"Utilization\" FROM \"server_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval) fill(linear)",
"query": "SELECT mean(\"utilizedProcUnits\") / mean(\"totalProcUnits\") AS \"Utilization\" FROM \"server_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
@ -534,7 +511,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -572,6 +549,7 @@
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
@ -581,10 +559,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
@ -596,7 +570,7 @@
"h": 9,
"w": 8,
"x": 0,
"y": 13
"y": 12
},
"id": 27,
"links": [],
@ -618,7 +592,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -636,7 +610,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -701,6 +675,24 @@
],
"type": "alias"
}
],
[
{
"params": [
"configuredProcUnits"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"configured"
],
"type": "alias"
}
]
],
"tags": [
@ -718,7 +710,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -756,6 +748,7 @@
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"min": 0,
@ -765,10 +758,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
@ -780,7 +769,7 @@
"h": 9,
"w": 8,
"x": 8,
"y": 13
"y": 12
},
"id": 31,
"links": [],
@ -793,7 +782,7 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
@ -802,7 +791,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -820,7 +809,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -920,7 +909,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -981,7 +970,7 @@
"h": 9,
"w": 8,
"x": 16,
"y": 13
"y": 12
},
"id": 2,
"links": [],
@ -1003,7 +992,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1021,7 +1010,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -1085,7 +1074,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1117,7 +1106,7 @@
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
@ -1131,10 +1120,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
@ -1179,7 +1164,7 @@
"h": 9,
"w": 12,
"x": 0,
"y": 22
"y": 21
},
"id": 11,
"links": [],
@ -1192,16 +1177,16 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "vlan $tag_vlanId - $col bytes",
"alias": "vlan $tag_vlanId",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1225,7 +1210,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -1240,136 +1225,13 @@
[
{
"params": [
"receivedBytes"
"transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"rx"
],
"type": "alias"
}
],
[
{
"params": [
"sentBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" *-1"
],
"type": "math"
},
{
"params": [
"tx"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
},
{
"alias": "vlan $tag_vlanId - $col pkts",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"vlanId"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": true,
"measurement": "lpar_net_virtual",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"receivedPackets\") AS \"recv\", last(\"sentPackets\") *-1 AS \"sent\" FROM \"lpar_net_virtual\" WHERE (\"servername\" =~ /^$ServerName$/) AND $timeFilter GROUP BY time($interval), \"servername\", \"vlanId\" fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"receivedPackets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"rx"
],
"type": "alias"
}
],
[
{
"params": [
"sentPackets"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" *-1"
],
"type": "math"
},
{
"params": [
"tx"
],
"type": "alias"
}
]
],
@ -1388,7 +1250,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1449,7 +1311,7 @@
"h": 9,
"w": 12,
"x": 12,
"y": 22
"y": 21
},
"id": 16,
"links": [],
@ -1462,16 +1324,16 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_location",
"alias": "$tag_location $col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1495,7 +1357,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -1535,7 +1397,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1570,7 +1432,7 @@
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
"mode": "area"
}
},
"decimals": 0,
@ -1580,12 +1442,16 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"color": "transparent",
"value": null
},
{
"color": "red",
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 90
}
]
},
@ -1597,7 +1463,7 @@
"h": 10,
"w": 12,
"x": 0,
"y": 31
"y": 30
},
"id": 26,
"options": {
@ -1609,7 +1475,7 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
@ -1618,7 +1484,7 @@
"alias": "$col",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -1635,7 +1501,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -1736,7 +1602,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"fieldConfig": {
"defaults": {
@ -1780,10 +1646,6 @@
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
@ -1793,9 +1655,9 @@
},
"gridPos": {
"h": 10,
"w": 12,
"w": 6,
"x": 12,
"y": 31
"y": 30
},
"id": 22,
"options": {
@ -1816,7 +1678,7 @@
"alias": "$tag_servername",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -1833,7 +1695,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -1868,6 +1730,139 @@
],
"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": {
"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_thermal",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"inletTemperature_1"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"title": "Inlet Temperature",
"type": "timeseries"
}
],
"refresh": "30s",
@ -1883,13 +1878,13 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
"includeAll": false,
"label": "Server",
"multi": true,
"multi": false,
"multiFormat": "regex values",
"name": "ServerName",
"options": [],
@ -1934,8 +1929,8 @@
]
},
"timezone": "browser",
"title": "HMCi - Power System Resources",
"title": "HMCi - Power System Overview",
"uid": "ClJhHPIGz",
"version": 2,
"version": 5,
"weekStart": ""
}

View File

@ -1,8 +1,8 @@
{
"__inputs": [
{
"name": "DS_HMCI",
"label": "hmci",
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
@ -21,7 +21,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.4"
"version": "9.1.3"
},
{
"type": "datasource",
@ -83,7 +83,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"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.4",
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"refId": "A"
}
@ -112,7 +112,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -205,13 +205,13 @@
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "Read",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -314,7 +314,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -399,7 +399,7 @@
"properties": [
{
"id": "custom.width",
"value": 87
"value": 149
}
]
},
@ -432,12 +432,7 @@
"id": "byName",
"options": "viosname"
},
"properties": [
{
"id": "custom.width",
"value": 219
}
]
"properties": []
}
]
},
@ -464,13 +459,13 @@
}
]
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "Read",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"groupBy": [
{
@ -484,7 +479,7 @@
"measurement": "lpar_details",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"weight\") AS \"Weight\", last(\"entitledProcUnits\") AS \"Entitled\", last(\"maxProcUnits\") AS \"VP\", (last(\"utilizedProcUnits\") / last(\"maxProcUnits\")) * 100 AS \"Utilization\", last(\"mode\") AS \"Mode\" FROM \"vios_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND (\"viosname\" =~ /^$ViosName$/) AND $timeFilter GROUP BY \"viosname\" fill(previous)",
"query": "SELECT last(\"weight\") AS \"Weight\", last(\"entitledProcUnits\") AS \"Entitled\", last(\"currentVirtualProcessors\") AS \"VP\", (last(\"utilizedProcUnits\") / last(\"maxProcUnits\")) * 100 AS \"Utilization\", last(\"mode\") AS \"Mode\" FROM \"vios_processor\" WHERE (\"servername\" =~ /^$ServerName$/) AND (\"viosname\" =~ /^$ViosName$/) AND $timeFilter GROUP BY \"viosname\" fill(previous)",
"queryType": "randomWalk",
"rawQuery": true,
"refId": "A",
@ -587,7 +582,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -637,13 +632,13 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "9.1.4",
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$tag_viosname",
"alias": "$tag_servername - $tag_viosname",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -659,6 +654,12 @@
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
@ -707,7 +708,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -745,6 +746,7 @@
"mode": "off"
}
},
"decimals": 2,
"links": [],
"mappings": [],
"thresholds": {
@ -787,10 +789,10 @@
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_viosname - $col",
"alias": "$tag_servername - $tag_viosname ($col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -814,7 +816,7 @@
},
{
"params": [
"linear"
"none"
],
"type": "fill"
}
@ -884,7 +886,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -950,20 +952,20 @@
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_viosname - $tag_location (shared)",
"alias": "$tag_servername - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -985,6 +987,12 @@
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"none"
@ -1033,10 +1041,10 @@
]
},
{
"alias": "$tag_viosname - $tag_location (generic)",
"alias": "$tag_servername - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1058,6 +1066,12 @@
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
@ -1100,10 +1114,10 @@
]
},
{
"alias": "$tag_viosname - $tag_location (virtual)",
"alias": "$tag_systemname - $tag_viosname - ($tag_location shared)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1119,6 +1133,12 @@
],
"type": "tag"
},
{
"params": [
"systemname"
],
"type": "tag"
},
{
"params": [
"linear"
@ -1167,7 +1187,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1247,10 +1267,10 @@
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_viosname - $tag_id ($tag_location)",
"alias": "$tag_servername - $tag_viosname - ($tag_id - $tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1278,6 +1298,12 @@
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
@ -1332,7 +1358,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1376,7 +1402,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
@ -1414,16 +1441,16 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_viosname - $tag_location",
"alias": "$tag_servername - $tag_viosname ($tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1445,6 +1472,12 @@
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
@ -1499,7 +1532,7 @@
{
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
@ -1543,7 +1576,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -1572,16 +1606,16 @@
},
"tooltip": {
"mode": "multi",
"sort": "none"
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_viosname - $tag_id ($tag_location)",
"alias": "$tag_servername - $tag_viosname - ($tag_id - $tag_location)",
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
@ -1611,7 +1645,13 @@
},
{
"params": [
"linear"
"servername"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
@ -1676,11 +1716,11 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
"includeAll": true,
"includeAll": false,
"label": "Server",
"multi": true,
"multiFormat": "regex values",
@ -1700,7 +1740,7 @@
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_HMCI}"
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"vios_details\" WITH KEY = \"viosname\" WHERE servername =~ /$ServerName/ AND time > now() - 24h",
"hide": 0,
@ -1722,7 +1762,7 @@
]
},
"time": {
"from": "now-24h",
"from": "now-6h",
"now": false,
"to": "now-30s"
},
@ -1751,8 +1791,8 @@
]
},
"timezone": "browser",
"title": "HMCi - Power Virtual I/O Servers",
"title": "HMCi - Power VIO Overview",
"uid": "DDNEv5vGz",
"version": 2,
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,942 @@
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.1.3"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"enable": false,
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "https://bitbucket.org/mnellemann/hmci/",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 1465,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"id": 29,
"options": {
"content": "## Metrics collected from IBM Power HMC\n \nFor more information: [bitbucket.org/mnellemann/hmci](https://bitbucket.org/mnellemann/hmci)\n ",
"mode": "markdown"
},
"pluginVersion": "9.1.3",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"refId": "A"
}
],
"transparent": true,
"type": "text"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"links": [],
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 0,
"y": 3
},
"id": 30,
"links": [],
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false
},
"pluginVersion": "9.1.3",
"targets": [
{
"alias": "$tag_servername - $tag_viosname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_processor",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"utilizedProcUnits\") / last(\"maxProcUnits\") AS \"utilization\" FROM \"vios_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"viosname\" =~ /^$ViosName$/) AND $timeFilter GROUP BY time($interval), \"viosname\", \"servername\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"utilizedProcUnits"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"utilized"
],
"type": "alias"
}
],
[
{
"params": [
"maxProcUnits"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"max"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"title": "Processor Utilization",
"type": "gauge"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line+area"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
},
{
"color": "#EAB839",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 18,
"x": 6,
"y": 3
},
"id": 19,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_viosname",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_processor",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"utilizedProcUnits\") / mean(\"maxProcUnits\") AS \"utilization\" FROM \"vios_processor\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"viosname\" =~ /^$ViosName$/) AND $timeFilter GROUP BY time($interval), \"viosname\", \"servername\" fill(none)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"utilizedProcUnits"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"utilized"
],
"type": "alias"
}
],
[
{
"params": [
"maxProcUnits"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"max"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"title": "Processor Utilization",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": true,
"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": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
},
{
"color": "dark-green",
"value": 16000000000
},
{
"color": "dark-blue",
"value": 32000000000
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 20,
"w": 12,
"x": 0,
"y": 12
},
"id": 18,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_viosname ($tag_location - $col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_storage_FC",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"readBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"read"
],
"type": "alias"
}
],
[
{
"params": [
"writeBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"*-1"
],
"type": "math"
},
{
"params": [
"write"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"title": "Fiber Channel Adapters",
"type": "timeseries"
},
{
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": true,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "transparent",
"value": null
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 20,
"w": 12,
"x": 12,
"y": 12
},
"id": 17,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.1.4",
"targets": [
{
"alias": "$tag_servername - $tag_viosname ($tag_location - $col)",
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_network_shared",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT moving_average(mean(\"transferredBytes\"), 10) FROM \"vios_network_shared\" WHERE (\"servername\" =~ /^$ServerName$/ AND \"viosname\" =~ /^$ViosName$/) AND $timeFilter GROUP BY time($interval), \"viosname\", \"servername\", \"location\" fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"receivedBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"recv"
],
"type": "alias"
}
],
[
{
"params": [
"sentBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
5
],
"type": "moving_average"
},
{
"params": [
"*-1"
],
"type": "math"
},
{
"params": [
"sent"
],
"type": "alias"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"title": "Network SEA Traffic",
"type": "timeseries"
}
],
"refresh": "30s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"Power",
"AIX",
"VIOS"
],
"templating": {
"list": [
{
"allFormat": "regex values",
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"hide": 0,
"includeAll": true,
"label": "Server",
"multi": true,
"multiFormat": "regex values",
"name": "ServerName",
"options": [],
"query": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query",
"useTags": false
},
{
"allFormat": "regex values",
"current": {},
"datasource": {
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"definition": "SHOW TAG VALUES FROM \"vios_details\" WITH KEY = \"viosname\" WHERE servername =~ /$ServerName/ AND time > now() - 24h",
"hide": 0,
"includeAll": true,
"label": "Virtual I/O Server",
"multi": true,
"multiFormat": "regex values",
"name": "ViosName",
"options": [],
"query": "SHOW TAG VALUES FROM \"vios_details\" WITH KEY = \"viosname\" WHERE servername =~ /$ServerName/ AND time > now() - 24h",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"skipUrlSync": false,
"sort": 5,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-2d",
"now": false,
"to": "now-30s"
},
"timepicker": {
"nowDelay": "30s",
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "HMCi - Power VIO Utilization",
"uid": "DDNEv5vGy",
"version": 10,
"weekStart": ""
}