Update example dashboards.

This commit is contained in:
Mark Nellemann 2021-03-31 15:33:50 +02:00
parent 3a6d935d4d
commit b1d70e4816
6 changed files with 2021 additions and 999 deletions

View file

@ -61,7 +61,7 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1616701412999, "iteration": 1617197417499,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -361,7 +361,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 10, "h": 7,
"w": 7, "w": 7,
"x": 0, "x": 0,
"y": 10 "y": 10
@ -461,7 +461,7 @@
"fill": 1, "fill": 1,
"fillGradient": 1, "fillGradient": 1,
"gridPos": { "gridPos": {
"h": 10, "h": 7,
"w": 17, "w": 17,
"x": 7, "x": 7,
"y": 10 "y": 10
@ -652,7 +652,7 @@
} }
} }
], ],
"refresh": "30s", "refresh": "1m",
"schemaVersion": 27, "schemaVersion": 27,
"style": "dark", "style": "dark",
"tags": [ "tags": [
@ -687,14 +687,12 @@
] ]
}, },
"time": { "time": {
"from": "now-3h", "from": "now-2d",
"to": "now-1m" "to": "now-1m"
}, },
"timepicker": { "timepicker": {
"nowDelay": "1m", "nowDelay": "1m",
"refresh_intervals": [ "refresh_intervals": [
"5s",
"10s",
"30s", "30s",
"1m", "1m",
"5m", "5m",
@ -706,7 +704,7 @@
] ]
}, },
"timezone": "", "timezone": "",
"title": "IBM Power - HMC Managed Systems - Energy", "title": "IBM Power - HMCi - System Energy",
"uid": "oHcrgD1Mk", "uid": "oHcrgD1Mk",
"version": 18 "version": 20
} }

View file

@ -60,7 +60,7 @@
"gnetId": 1465, "gnetId": 1465,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1616701472507, "iteration": 1617197428882,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -74,8 +74,8 @@
}, },
"id": 20, "id": 20,
"panels": [], "panels": [],
"repeat": "ManagedSystem", "repeat": "ServerName",
"title": "$ServerName Resource Overview", "title": "Processors - $ServerName",
"type": "row" "type": "row"
}, },
{ {
@ -667,331 +667,405 @@
"yBucketSize": null "yBucketSize": null
}, },
{ {
"collapsed": true, "collapsed": false,
"datasource": "${DS_HMCI}", "datasource": "${DS_HMCI}",
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 16 "y": 32
}, },
"id": 22, "id": 22,
"panels": [ "panels": [],
{ "repeat": "ServerName",
"aliasColors": {}, "title": "Network & Storage I/O - $ServerName ",
"bars": false, "type": "row"
"content": "", },
"dashLength": 10, {
"dashes": false, "aliasColors": {},
"datasource": "${DS_HMCI}", "bars": false,
"editable": true, "content": "",
"error": false, "dashLength": 10,
"fieldConfig": { "dashes": false,
"defaults": { "datasource": "${DS_HMCI}",
"custom": {}, "editable": true,
"links": [] "error": false,
}, "fieldConfig": {
"overrides": [] "defaults": {
}, "custom": {},
"fill": 1, "links": []
"fillGradient": 1,
"grid": {},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 17
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"style": {},
"targets": [
{
"alias": "$tag_location",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "vios_storage_FC",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transmittedBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$ServerName - Physical Fiber Channel Adapters",
"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:1448",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1449",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
"overrides": []
},
"fill": 1,
"fillGradient": 1,
"grid": {},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 33
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"style": {},
"targets": [
{ {
"aliasColors": {}, "alias": "$tag_location",
"bars": false, "dsType": "influxdb",
"content": "", "groupBy": [
"dashLength": 10,
"dashes": false,
"datasource": "${DS_HMCI}",
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 2,
"grid": {},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 25
},
"hiddenSeries": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"style": {},
"targets": [
{ {
"alias": "$tag_location", "params": [
"dsType": "influxdb", "$interval"
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"location"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
], ],
"hide": false, "type": "time"
"measurement": "vios_network_shared",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transferredBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$ServerName - Shared Adapters",
"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:1686",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}, },
{ {
"$$hashKey": "object:1687", "params": [
"format": "short", "location"
"label": null, ],
"logBase": 1, "type": "tag"
"max": null, },
"min": null, {
"show": false "params": [
"servername"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
} }
], ],
"yaxis": { "hide": false,
"align": false, "measurement": "vios_storage_FC",
"alignLevel": null "orderByTime": "ASC",
} "policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"transmittedBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
} }
], ],
"repeat": "ManagedSystem", "thresholds": [],
"title": "$ServerName Network", "timeFrom": null,
"type": "row" "timeRegions": [],
"timeShift": null,
"title": "$ServerName - Physical Fiber Channel Adapters",
"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:1448",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1449",
"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_HMCI}",
"description": "",
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 2,
"grid": {},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"hiddenSeries": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"rightSide": false,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"mode": "",
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.2",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"style": {},
"targets": [
{
"alias": "VLAN $tag_vlanId recv",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"vlanId"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "lpar_net_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"receivedBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
},
{
"alias": "VLAN $tag_vlanId sent",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"servername"
],
"type": "tag"
},
{
"params": [
"vlanId"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "lpar_net_virtual",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sentBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*-1"
],
"type": "math"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$ServerName - Network",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1686",
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1687",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
{ {
"collapsed": false, "collapsed": false,
@ -1000,12 +1074,12 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 17 "y": 82
}, },
"id": 21, "id": 21,
"panels": [], "panels": [],
"repeat": "ManagedSystem", "repeat": "ServerName",
"title": "$ServerName By Partition", "title": "Partition Usage - $ServerName",
"type": "row" "type": "row"
}, },
{ {
@ -1032,7 +1106,7 @@
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 18 "y": 83
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 12, "id": 12,
@ -1085,6 +1159,12 @@
], ],
"type": "tag" "type": "tag"
}, },
{
"params": [
"servername"
],
"type": "tag"
},
{ {
"params": [ "params": [
"null" "null"
@ -1122,7 +1202,7 @@
"condition": "AND", "condition": "AND",
"key": "lparname", "key": "lparname",
"operator": "=~", "operator": "=~",
"value": "/^$LparName$/" "value": "/^$LPAR$/"
} }
] ]
} }
@ -1199,7 +1279,7 @@
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 18 "y": 83
}, },
"id": 23, "id": 23,
"links": [], "links": [],
@ -1277,7 +1357,7 @@
"condition": "AND", "condition": "AND",
"key": "lparname", "key": "lparname",
"operator": "=~", "operator": "=~",
"value": "/^$LparName$/" "value": "/^$LPAR$/"
} }
] ]
} }
@ -1288,7 +1368,7 @@
"type": "bargauge" "type": "bargauge"
} }
], ],
"refresh": "30s", "refresh": "1m",
"schemaVersion": 27, "schemaVersion": 27,
"style": "dark", "style": "dark",
"tags": [ "tags": [
@ -1336,7 +1416,7 @@
"label": "Partition", "label": "Partition",
"multi": true, "multi": true,
"multiFormat": "regex values", "multiFormat": "regex values",
"name": "LparName", "name": "LPAR",
"options": [], "options": [],
"query": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/", "query": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/",
"refresh": 1, "refresh": 1,
@ -1353,14 +1433,13 @@
] ]
}, },
"time": { "time": {
"from": "now-3h", "from": "now-2d",
"now": false, "now": false,
"to": "now-1m" "to": "now-1m"
}, },
"timepicker": { "timepicker": {
"nowDelay": "1m", "nowDelay": "1m",
"refresh_intervals": [ "refresh_intervals": [
"10s",
"30s", "30s",
"1m", "1m",
"5m", "5m",
@ -1383,7 +1462,7 @@
] ]
}, },
"timezone": "browser", "timezone": "browser",
"title": "IBM Power - HMC Managed Systems - Resources", "title": "IBM Power - HMCi - System Resources",
"uid": "ClJhHPIGz", "uid": "ClJhHPIGz",
"version": 19 "version": 26
} }

View file

@ -33,6 +33,12 @@
"id": "influxdb", "id": "influxdb",
"name": "InfluxDB", "name": "InfluxDB",
"version": "1.0.0" "version": "1.0.0"
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
} }
], ],
"annotations": { "annotations": {
@ -54,9 +60,148 @@
"gnetId": 1465, "gnetId": 1465,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1616701495725, "iteration": 1617197467456,
"links": [], "links": [],
"panels": [ "panels": [
{
"datasource": "${DS_HMCI}",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"align": "center",
"displayMode": "auto",
"filterable": true
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "lparname"
},
"properties": [
{
"id": "custom.width",
"value": 256
}
]
},
{
"matcher": {
"id": "byName",
"options": "affinityScore"
},
"properties": [
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "unit",
"value": "percent"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 0
},
"id": 21,
"options": {
"showHeader": true,
"sortBy": []
},
"pluginVersion": "7.4.2",
"targets": [
{
"alias": "Read",
"groupBy": [
{
"params": [
"viosname"
],
"type": "tag"
}
],
"measurement": "vios_details",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT last(\"id\") AS \"id\", \"type\", \"osType\", \"state\", \"affinityScore\" FROM \"lpar_details\" WHERE (\"lparname\" =~ /^$LPAR$/) AND $timeFilter GROUP BY \"lparname\"",
"queryType": "randomWalk",
"rawQuery": false,
"refId": "A",
"resultFormat": "table",
"select": [
[
{
"params": [
"viosid"
],
"type": "field"
},
{
"params": [],
"type": "last"
},
{
"params": [
"id"
],
"type": "alias"
}
],
[
{
"params": [
"viosstate"
],
"type": "field"
}
],
[
{
"params": [
"affinityScore"
],
"type": "field"
}
]
],
"tags": [
{
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "table"
},
{ {
"datasource": "${DS_HMCI}", "datasource": "${DS_HMCI}",
"description": "", "description": "",
@ -83,10 +228,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 10, "h": 9,
"w": 11, "w": 7,
"x": 0, "x": 0,
"y": 0 "y": 5
}, },
"id": 16, "id": 16,
"links": [], "links": [],
@ -105,7 +250,7 @@
"pluginVersion": "7.4.2", "pluginVersion": "7.4.2",
"targets": [ "targets": [
{ {
"alias": "$tag_vios", "alias": "$tag_viosname",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@ -164,7 +309,7 @@
], ],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "$ServerName - $ViosName Memory", "title": " Memory - $ServerName - $ViosName",
"type": "gauge" "type": "gauge"
}, },
{ {
@ -188,10 +333,10 @@
"fillGradient": 2, "fillGradient": 2,
"grid": {}, "grid": {},
"gridPos": { "gridPos": {
"h": 10, "h": 9,
"w": 13, "w": 17,
"x": 11, "x": 7,
"y": 0 "y": 5
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 19, "id": 19,
@ -241,12 +386,6 @@
], ],
"type": "tag" "type": "tag"
}, },
{
"params": [
"name"
],
"type": "tag"
},
{ {
"params": [ "params": [
"null" "null"
@ -293,7 +432,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "$ServerName - $ViosName - Processors", "title": "Processors - $ServerName - $ViosName",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
@ -350,14 +489,14 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 2, "fill": 1,
"fillGradient": 2, "fillGradient": 1,
"grid": {}, "grid": {},
"gridPos": { "gridPos": {
"h": 10, "h": 9,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 10 "y": 14
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 18, "id": 18,
@ -373,7 +512,7 @@
"values": true "values": true
}, },
"lines": true, "lines": true,
"linewidth": 2, "linewidth": 1,
"links": [], "links": [],
"mode": "", "mode": "",
"nullPointMode": "connected", "nullPointMode": "connected",
@ -392,7 +531,7 @@
"style": {}, "style": {},
"targets": [ "targets": [
{ {
"alias": "$tag_viosname: $tag_id ($tag_location)", "alias": "$tag_viosname: $tag_id ($tag_location) read",
"dsType": "influxdb", "dsType": "influxdb",
"groupBy": [ "groupBy": [
{ {
@ -436,7 +575,7 @@
[ [
{ {
"params": [ "params": [
"transmittedBytes" "readBytes"
], ],
"type": "field" "type": "field"
}, },
@ -459,13 +598,88 @@
"value": "/^$ViosName$/" "value": "/^$ViosName$/"
} }
] ]
},
{
"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_FC",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"writeBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*-1"
],
"type": "math"
}
]
],
"tags": [
{
"key": "servername",
"operator": "=~",
"value": "/^$ServerName$/"
},
{
"condition": "AND",
"key": "viosname",
"operator": "=~",
"value": "/^$ViosName$/"
}
]
} }
], ],
"thresholds": [], "thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "$ServerName - $ViosName - Fiber Channel Adapters", "title": "Fiber Channel Adapters - $ServerName - $ViosName",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
@ -526,10 +740,10 @@
"fillGradient": 1, "fillGradient": 1,
"grid": {}, "grid": {},
"gridPos": { "gridPos": {
"h": 11, "h": 9,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 20 "y": 23
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 17, "id": 17,
@ -545,7 +759,7 @@
"values": true "values": true
}, },
"lines": true, "lines": true,
"linewidth": 2, "linewidth": 1,
"links": [], "links": [],
"mode": "", "mode": "",
"nullPointMode": "connected", "nullPointMode": "connected",
@ -739,7 +953,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "$ServerName - $ViosName - Network", "title": "Network - $ServerName - $ViosName",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
@ -780,7 +994,7 @@
} }
} }
], ],
"refresh": "30s", "refresh": "1m",
"schemaVersion": 27, "schemaVersion": 27,
"style": "dark", "style": "dark",
"tags": [ "tags": [
@ -847,14 +1061,13 @@
] ]
}, },
"time": { "time": {
"from": "now-3h", "from": "now-2d",
"now": false, "now": false,
"to": "now-1m" "to": "now-1m"
}, },
"timepicker": { "timepicker": {
"nowDelay": "1m", "nowDelay": "1m",
"refresh_intervals": [ "refresh_intervals": [
"10s",
"30s", "30s",
"1m", "1m",
"5m", "5m",
@ -877,7 +1090,7 @@
] ]
}, },
"timezone": "browser", "timezone": "browser",
"title": "IBM Power - HMC Managed Systems - Virtual I/O Servers", "title": "IBM Power - HMCi - Virtual I/O Servers",
"uid": "DDNEv5vGz", "uid": "DDNEv5vGz",
"version": 11 "version": 18
} }

View file

@ -70,13 +70,13 @@ class HmcInstance implements Runnable {
do { do {
Instant instantStart = Instant.now(); Instant instantStart = Instant.now();
try { try {
getMetricsForEnergy();
getMetricsForSystems(); getMetricsForSystems();
getMetricsForPartitions(); getMetricsForPartitions();
getMetricsForEnergy();
writeMetricsForSystemEnergy();
writeMetricsForManagedSystems(); writeMetricsForManagedSystems();
writeMetricsForLogicalPartitions(); writeMetricsForLogicalPartitions();
writeMetricsForSystemEnergy();
influxClient.writeBatchPoints(); influxClient.writeBatchPoints();
// Refresh // Refresh

View file

@ -214,7 +214,7 @@ public class HmcRestClient {
try { try {
Document doc = Jsoup.parse(responseBody); Document doc = Jsoup.parse(responseBody);
Elements logicalPartitions = doc.select("LogicalPartition|LogicalPartition"); // doc.select("img[src$=.png]"); Elements logicalPartitions = doc.select("LogicalPartition|LogicalPartition");
for(Element el : logicalPartitions) { for(Element el : logicalPartitions) {
LogicalPartition logicalPartition = new LogicalPartition( LogicalPartition logicalPartition = new LogicalPartition(
el.select("PartitionUUID").text(), el.select("PartitionUUID").text(),
@ -409,7 +409,7 @@ public class HmcRestClient {
*/ */
private String sendGetRequest(URL url) throws Exception { private String sendGetRequest(URL url) throws Exception {
log.trace("getResponse() - " + url.toString()); log.trace("getResponse() - URL: " + url.toString());
if(authToken == null) { if(authToken == null) {
return null; return null;
} }
@ -451,7 +451,7 @@ public class HmcRestClient {
*/ */
public String sendPostRequest(URL url, String payload) throws Exception { public String sendPostRequest(URL url, String payload) throws Exception {
log.trace("sendPostRequest() - " + url.toString()); log.trace("sendPostRequest() - URL: " + url.toString());
if(authToken == null) { if(authToken == null) {
return null; return null;
} }