Adjustments to demo dashboards.

This commit is contained in:
Mark Nellemann 2021-10-29 08:38:10 +02:00
parent f876bc7f3a
commit 3377661841
6 changed files with 1388 additions and 1955 deletions

View File

@ -7,7 +7,7 @@ Metrics includes:
- *Managed Systems* - the physical Power servers - *Managed Systems* - the physical Power servers
- *Logical Partitions* - the virtualized servers running AIX, Linux and IBM-i (AS/400) - *Logical Partitions* - the virtualized servers running AIX, Linux and IBM-i (AS/400)
- *Virtual I/O Servers* - the i/o partition(s) virtualizing network and storage - *Virtual I/O Servers* - the i/o partition(s) virtualizing network and storage
- *Energy* - power consumption and temperatures (needs to be enabled and is not available for Power7, E870, E880 and E980) - *Energy* - power consumption and temperatures (needs to be enabled and is not available for P7, E870, E880 and E980)
![architecture](https://bitbucket.org/mnellemann/hmci/downloads/HMCi.png) ![architecture](https://bitbucket.org/mnellemann/hmci/downloads/HMCi.png)
@ -15,10 +15,10 @@ Metrics includes:
There are few steps in the installation. There are few steps in the installation.
- 1 - Preparations on the Hardware Management Console (HMC) 1) Preparations on the Hardware Management Console (HMC)
- 2 - Installation of InfluxDB and Grafana software on a Linux LPAR or VM 2) Installation of InfluxDB and Grafana software on a Linux LPAR or VM
- 3 - Installation and configuration of the HMCi software 3) Installation and configuration of the HMCi software
- 4 - Configure Grafana and import example dashboards 4) Configure Grafana and import example dashboards
### 1 - Power HMC Setup Instructions ### 1 - Power HMC Setup Instructions

View File

@ -14,13 +14,7 @@
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "8.0.0" "version": "8.1.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
}, },
{ {
"type": "datasource", "type": "datasource",
@ -33,6 +27,12 @@
"id": "stat", "id": "stat",
"name": "Stat", "name": "Stat",
"version": "" "version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
} }
], ],
"annotations": { "annotations": {
@ -44,6 +44,12 @@
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts", "name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard" "type": "dashboard"
} }
] ]
@ -53,57 +59,82 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1623356314349, "iteration": 1635428793809,
"links": [], "links": [],
"panels": [ "panels": [
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB-HMCI}", "datasource": "${DS_INFLUXDB-HMCI}",
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"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": [], "links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "watt" "unit": "watt"
}, },
"overrides": [] "overrides": []
}, },
"fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 7, "w": 7,
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
"hiddenSeries": false,
"id": 2, "id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
}, },
"percentage": false, "pluginVersion": "8.1.4",
"pluginVersion": "8.0.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"alias": "$tag_servername", "alias": "$tag_servername",
@ -155,48 +186,10 @@
] ]
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Power Consumption", "title": "Power Consumption",
"tooltip": { "type": "timeseries"
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:315",
"format": "watt",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:316",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
{ {
"datasource": "${DS_INFLUXDB-HMCI}", "datasource": "${DS_INFLUXDB-HMCI}",
@ -246,7 +239,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.0.0", "pluginVersion": "8.1.4",
"targets": [ "targets": [
{ {
"alias": "$tag_servername", "alias": "$tag_servername",
@ -350,7 +343,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 9,
"w": 7, "w": 7,
"x": 0, "x": 0,
"y": 10 "y": 10
@ -371,7 +364,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.0.0", "pluginVersion": "8.1.4",
"targets": [ "targets": [
{ {
"alias": "$tag_servername - $tag_name", "alias": "$tag_servername - $tag_name",
@ -429,55 +422,81 @@
"type": "stat" "type": "stat"
}, },
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB-HMCI}", "datasource": "${DS_INFLUXDB-HMCI}",
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [], "links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius" "unit": "celsius"
}, },
"overrides": [] "overrides": []
}, },
"fill": 1,
"fillGradient": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 9,
"w": 17, "w": 17,
"x": 7, "x": 7,
"y": 10 "y": 10
}, },
"hiddenSeries": false,
"id": 4, "id": 4,
"legend": {
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
}, },
"percentage": false, "pluginVersion": "8.1.4",
"pluginVersion": "8.0.0",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"alias": "$col", "alias": "$col",
@ -591,56 +610,17 @@
] ]
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "$ServerName - CPU Temperature", "title": "$ServerName - CPU Temperature",
"tooltip": { "type": "timeseries"
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:5961",
"decimals": 0,
"format": "celsius",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:5962",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
], ],
"refresh": "1m", "refresh": "30s",
"schemaVersion": 30, "schemaVersion": 30,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"POWER" "Power"
], ],
"templating": { "templating": {
"list": [ "list": [
@ -670,11 +650,11 @@
] ]
}, },
"time": { "time": {
"from": "now-2d", "from": "now-7d",
"to": "now-1m" "to": "now-30s"
}, },
"timepicker": { "timepicker": {
"nowDelay": "1m", "nowDelay": "30s",
"refresh_intervals": [ "refresh_intervals": [
"30s", "30s",
"1m", "1m",
@ -689,5 +669,5 @@
"timezone": "", "timezone": "",
"title": "IBM Power - HMCi - System Energy", "title": "IBM Power - HMCi - System Energy",
"uid": "oHcrgD1Mk", "uid": "oHcrgD1Mk",
"version": 2 "version": 7
} }

View File

@ -22,12 +22,6 @@
"name": "Grafana", "name": "Grafana",
"version": "8.1.4" "version": "8.1.4"
}, },
{
"type": "panel",
"id": "graph",
"name": "Graph (old)",
"version": ""
},
{ {
"type": "datasource", "type": "datasource",
"id": "influxdb", "id": "influxdb",
@ -72,7 +66,7 @@
"gnetId": 1465, "gnetId": 1465,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1635180069953, "iteration": 1635485979203,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -143,7 +137,7 @@
"properties": [ "properties": [
{ {
"id": "custom.width", "id": "custom.width",
"value": 330 "value": 159
} }
] ]
} }
@ -151,7 +145,7 @@
}, },
"gridPos": { "gridPos": {
"h": 6, "h": 6,
"w": 12, "w": 10,
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
@ -392,8 +386,8 @@
}, },
"gridPos": { "gridPos": {
"h": 6, "h": 6,
"w": 12, "w": 14,
"x": 12, "x": 10,
"y": 0 "y": 0
}, },
"id": 27, "id": 27,
@ -529,6 +523,9 @@
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": {
"mode": "thresholds"
},
"links": [], "links": [],
"mappings": [], "mappings": [],
"max": 100, "max": 100,
@ -551,7 +548,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 9,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 6 "y": 6
@ -559,6 +556,7 @@
"id": 16, "id": 16,
"links": [], "links": [],
"options": { "options": {
"orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": [
"lastNotNull" "lastNotNull"
@ -590,7 +588,7 @@
}, },
{ {
"params": [ "params": [
"null" "linear"
], ],
"type": "fill" "type": "fill"
} }
@ -611,7 +609,7 @@
}, },
{ {
"params": [], "params": [],
"type": "last" "type": "mean"
} }
] ]
], ],
@ -691,7 +689,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 9,
"w": 18, "w": 18,
"x": 6, "x": 6,
"y": 6 "y": 6
@ -728,7 +726,13 @@
}, },
{ {
"params": [ "params": [
"null" "servername"
],
"type": "tag"
},
{
"params": [
"linear"
], ],
"type": "fill" "type": "fill"
} }
@ -749,7 +753,7 @@
}, },
{ {
"params": [], "params": [],
"type": "last" "type": "mean"
}, },
{ {
"params": [ "params": [
@ -767,7 +771,7 @@
}, },
{ {
"params": [], "params": [],
"type": "last" "type": "mean"
}, },
{ {
"params": [ "params": [
@ -806,7 +810,7 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisLabel": "Read", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"drawStyle": "line", "drawStyle": "line",
@ -841,10 +845,6 @@
{ {
"color": "green", "color": "green",
"value": null "value": null
},
{
"color": "red",
"value": 80
} }
] ]
}, },
@ -853,12 +853,12 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 14, "h": 10,
"w": 12, "w": 24,
"x": 0, "x": 0,
"y": 13 "y": 15
}, },
"id": 18, "id": 17,
"links": [], "links": [],
"options": { "options": {
"legend": { "legend": {
@ -867,13 +867,13 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "multi"
} }
}, },
"pluginVersion": "8.1.4", "pluginVersion": "8.1.4",
"targets": [ "targets": [
{ {
"alias": "$tag_viosname: $tag_id ($tag_location)", "alias": "$tag_viosname - $tag_location (shared)",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@ -896,19 +896,13 @@
}, },
{ {
"params": [ "params": [
"id" "linear"
],
"type": "tag"
},
{
"params": [
"null"
], ],
"type": "fill" "type": "fill"
} }
], ],
"hide": false, "hide": false,
"measurement": "vios_storage_FC", "measurement": "vios_network_shared",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "A", "refId": "A",
@ -917,7 +911,127 @@
[ [
{ {
"params": [ "params": [
"readBytes" "transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
},
{
"alias": "$tag_viosname - $tag_location (generic)",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_network_generic",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
},
{
"alias": "$tag_viosname - $tag_location (virtual)",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_network_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transferredBytes"
], ],
"type": "field" "type": "field"
}, },
@ -944,7 +1058,7 @@
], ],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Fiber Channel Adapters - $ServerName - $ViosName - Read", "title": "Network - $ServerName - $ViosName",
"type": "timeseries" "type": "timeseries"
}, },
{ {
@ -956,7 +1070,7 @@
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisLabel": "Write", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
"drawStyle": "line", "drawStyle": "line",
@ -1003,12 +1117,12 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 14, "h": 11,
"w": 12, "w": 24,
"x": 12, "x": 0,
"y": 13 "y": 25
}, },
"id": 24, "id": 18,
"links": [], "links": [],
"options": { "options": {
"legend": { "legend": {
@ -1017,13 +1131,13 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "multi"
} }
}, },
"pluginVersion": "8.1.4", "pluginVersion": "8.1.4",
"targets": [ "targets": [
{ {
"alias": "$tag_viosname: $tag_id ($tag_location", "alias": "$tag_viosname - $tag_id ($tag_location)",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@ -1052,7 +1166,7 @@
}, },
{ {
"params": [ "params": [
"null" "linear"
], ],
"type": "fill" "type": "fill"
} }
@ -1061,145 +1175,13 @@
"measurement": "vios_storage_FC", "measurement": "vios_storage_FC",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"writeBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Fiber Channel Adapters - $ServerName - $ViosName - Write",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"content": "",
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB-HMCI}",
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"grid": {},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
"y": 27
},
"hiddenSeries": false,
"id": 22,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.1.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"style": {},
"targets": [
{
"alias": "$tag_viosname: $tag_id ($tag_location) read",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"id"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_storage_vFC",
"orderByTime": "ASC",
"policy": "default",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"select": [ "select": [
[ [
{ {
"params": [ "params": [
"readBytes" "transmittedBytes"
], ],
"type": "field" "type": "field"
}, },
@ -1224,220 +1206,10 @@
] ]
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName - Read", "title": "Fiber Channel Adapters - $ServerName - $ViosName",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:2511",
"format": "Bps",
"label": "Read",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:2512",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"content": "",
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB-HMCI}",
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"grid": {},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
"y": 27
},
"hiddenSeries": false,
"id": 25,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.1.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"style": {},
"targets": [
{
"alias": "$tag_viosname: $tag_id ($tag_location) write",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"id"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_storage_vFC",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"writeBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName - Write",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:2511",
"format": "Bps",
"label": "Write",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:2512",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
{ {
"datasource": "${DS_INFLUXDB-HMCI}", "datasource": "${DS_INFLUXDB-HMCI}",
@ -1507,7 +1279,7 @@
"h": 11, "h": 11,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 41 "y": 36
}, },
"id": 23, "id": 23,
"links": [], "links": [],
@ -1547,7 +1319,7 @@
}, },
{ {
"params": [ "params": [
"null" "linear"
], ],
"type": "fill" "type": "fill"
} }
@ -1568,7 +1340,7 @@
}, },
{ {
"params": [], "params": [],
"type": "last" "type": "mean"
} }
] ]
], ],
@ -1636,6 +1408,10 @@
{ {
"color": "green", "color": "green",
"value": null "value": null
},
{
"color": "red",
"value": 80
} }
] ]
}, },
@ -1647,9 +1423,9 @@
"h": 11, "h": 11,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 41 "y": 36
}, },
"id": 17, "id": 25,
"links": [], "links": [],
"options": { "options": {
"legend": { "legend": {
@ -1664,7 +1440,7 @@
"pluginVersion": "8.1.4", "pluginVersion": "8.1.4",
"targets": [ "targets": [
{ {
"alias": "$tag_viosname - $tag_location (shared)", "alias": "$tag_viosname - $tag_id ($tag_location)",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@ -1687,76 +1463,19 @@
}, },
{ {
"params": [ "params": [
"null" "id"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_network_shared",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
},
{
"alias": "$tag_viosname - $tag_location (generic)",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
], ],
"type": "tag" "type": "tag"
}, },
{ {
"params": [ "params": [
"location" "linear"
],
"type": "tag"
},
{
"params": [
"null"
], ],
"type": "fill" "type": "fill"
} }
], ],
"hide": false, "hide": false,
"measurement": "vios_network_generic", "measurement": "vios_storage_vFC",
"orderByTime": "ASC", "orderByTime": "ASC",
"policy": "default", "policy": "default",
"refId": "B", "refId": "B",
@ -1765,70 +1484,13 @@
[ [
{ {
"params": [ "params": [
"transferredBytes" "transmittedBytes"
], ],
"type": "field" "type": "field"
}, },
{ {
"params": [], "params": [],
"type": "last" "type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
},
{
"alias": "$tag_viosname - $tag_location (virtual)",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"viosname"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_network_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "last"
} }
] ]
], ],
@ -1849,7 +1511,7 @@
], ],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Network - $ServerName - $ViosName", "title": "Virtual Fiber Channel Adapters - $ServerName - $ViosName",
"type": "timeseries" "type": "timeseries"
} }
], ],
@ -1949,5 +1611,5 @@
"timezone": "browser", "timezone": "browser",
"title": "IBM Power - HMCi - Virtual I/O Servers", "title": "IBM Power - HMCi - Virtual I/O Servers",
"uid": "DDNEv5vGz", "uid": "DDNEv5vGz",
"version": 16 "version": 21
} }

View File

@ -1,32 +1,33 @@
# HMCi Configuration # HMCi Configuration
# Copy this file into /etc/hmci.toml and customize to your environment.
# How often to query HMC's for data - in seconds # How often to query HMC's for data - in seconds
hmci.update = 25 hmci.update = 30
# Rescan HMC's for new systems and partitions - every x update # Rescan HMC's for new systems and partitions - every x update
hmci.rescan = 90 hmci.rescan = 120
# InfluxDB to save metrics # InfluxDB to save metrics into
[influx] [influx]
url = "http://localhost:8086" url = "http://localhost:8086"
username = "root" username = "root"
password = "" password = ""
database = "hmci" database = "hmci"
# One or more HMC's to query for data and metrics # One or more HMC's to query for data and metrics
[hmc] [hmc]
# HMC on our primary site # HMC on our primary site
[hmc.site1] [hmc.site1]
url = "https://10.10.10.10:12443" url = "https://10.10.10.10:12443"
username = "hmci" username = "hmci"
password = "hmcihmci" password = "hmcihmci"
unsafe = true # Ignore SSL cert. errors unsafe = true # Ignore SSL cert. errors
# Example # Example
#[hmc.site2] #[hmc.site2]
#url = "https://10.10.20.20:12443" #url = "https://10.10.20.20:12443"
#username = "viewer" #username = "viewer"
#password = "someSecret" #password = "someSecret"
#unsafe = false #unsafe = false