From bb6a24698acb4f52b6944fac80207089995d788a Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Fri, 4 Jun 2021 08:27:16 +0200 Subject: [PATCH] Fix data-source in dashboards. --- .editorconfig | 2 +- ...Ci - Logical Partitions-1617197406774.json | 32 +++++++------------ ... - HMCi - System Energy-1617197422138.json | 20 ++++-------- ...HMCi - System Resources-1617197455766.json | 30 ++++++++--------- ...i - Virtual I_O Servers-1617197498035.json | 20 ++++++------ 5 files changed, 44 insertions(+), 60 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9ec542f..ec0419b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,5 +7,5 @@ trim_trailing_whitespace = true indent_style = space indent_size = 4 -[*.yml] +[*.{yml,json}] indent_size = 2 diff --git a/doc/IBM Power - HMCi - Logical Partitions-1617197406774.json b/doc/IBM Power - HMCi - Logical Partitions-1617197406774.json index 3d1f6b9..b816992 100644 --- a/doc/IBM Power - HMCi - Logical Partitions-1617197406774.json +++ b/doc/IBM Power - HMCi - Logical Partitions-1617197406774.json @@ -1,13 +1,5 @@ { "__inputs": [ - { - "name": "DS_HMCI", - "label": "HMCi", - "description": "", - "type": "datasource", - "pluginId": "influxdb", - "pluginName": "InfluxDB" - }, { "name": "DS_INFLUXDB", "label": "InfluxDB", @@ -87,7 +79,7 @@ "type": "row" }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -262,7 +254,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "editable": true, "error": false, "fieldConfig": { @@ -424,7 +416,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "editable": true, "error": false, "fieldConfig": { @@ -586,7 +578,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -808,7 +800,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -1045,7 +1037,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -1211,7 +1203,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -1392,7 +1384,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "decimals": 2, "editable": true, "error": false, @@ -1570,7 +1562,7 @@ "type": "row" }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -1695,7 +1687,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "description": null, "error": null, @@ -1722,7 +1714,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/", "description": null, "error": null, @@ -1780,4 +1772,4 @@ "title": "IBM Power - HMCi - Logical Partitions", "uid": "Xl7oHESGz", "version": 20 -} \ No newline at end of file +} diff --git a/doc/IBM Power - HMCi - System Energy-1617197422138.json b/doc/IBM Power - HMCi - System Energy-1617197422138.json index 70e370f..d07aae6 100644 --- a/doc/IBM Power - HMCi - System Energy-1617197422138.json +++ b/doc/IBM Power - HMCi - System Energy-1617197422138.json @@ -1,13 +1,5 @@ { "__inputs": [ - { - "name": "DS_HMCI", - "label": "HMCi", - "description": "", - "type": "datasource", - "pluginId": "influxdb", - "pluginName": "InfluxDB" - }, { "name": "DS_INFLUXDB", "label": "InfluxDB", @@ -69,7 +61,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -208,7 +200,7 @@ } }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, @@ -329,7 +321,7 @@ "type": "row" }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "Inlet air temperature.", "fieldConfig": { "defaults": { @@ -444,7 +436,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -663,7 +655,7 @@ { "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "description": null, "error": null, @@ -707,4 +699,4 @@ "title": "IBM Power - HMCi - System Energy", "uid": "oHcrgD1Mk", "version": 20 -} \ No newline at end of file +} diff --git a/doc/IBM Power - HMCi - System Resources-1617197455766.json b/doc/IBM Power - HMCi - System Resources-1617197455766.json index af54441..dfd5838 100644 --- a/doc/IBM Power - HMCi - System Resources-1617197455766.json +++ b/doc/IBM Power - HMCi - System Resources-1617197455766.json @@ -1,8 +1,8 @@ { "__inputs": [ { - "name": "DS_HMCI", - "label": "HMCi", + "name": "DS_INFLUXDB", + "label": "InfluxDB", "description": "", "type": "datasource", "pluginId": "influxdb", @@ -65,7 +65,7 @@ "panels": [ { "collapsed": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, @@ -84,7 +84,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "decimals": 2, "description": "", "editable": true, @@ -248,7 +248,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "decimals": 2, "editable": true, "error": false, @@ -565,7 +565,7 @@ "mode": "spectrum" }, "dataFormat": "timeseries", - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -668,7 +668,7 @@ }, { "collapsed": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, @@ -687,7 +687,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "editable": true, "error": false, "fieldConfig": { @@ -848,7 +848,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -1069,7 +1069,7 @@ }, { "collapsed": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, @@ -1088,7 +1088,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "decimals": 2, "editable": true, "error": false, @@ -1252,7 +1252,7 @@ } }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -1380,7 +1380,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "description": null, "error": null, @@ -1407,7 +1407,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"lpar_processor\" WITH KEY = \"lparname\" WHERE servername =~ /$ServerName/", "description": null, "error": null, @@ -1465,4 +1465,4 @@ "title": "IBM Power - HMCi - System Resources", "uid": "ClJhHPIGz", "version": 26 -} \ No newline at end of file +} diff --git a/doc/IBM Power - HMCi - Virtual I_O Servers-1617197498035.json b/doc/IBM Power - HMCi - Virtual I_O Servers-1617197498035.json index 1faa315..66ea70c 100644 --- a/doc/IBM Power - HMCi - Virtual I_O Servers-1617197498035.json +++ b/doc/IBM Power - HMCi - Virtual I_O Servers-1617197498035.json @@ -1,8 +1,8 @@ { "__inputs": [ { - "name": "DS_HMCI", - "label": "HMCi", + "name": "DS_INFLUXDB", + "label": "InfluxDB", "description": "", "type": "datasource", "pluginId": "influxdb", @@ -64,7 +64,7 @@ "links": [], "panels": [ { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -203,7 +203,7 @@ "type": "table" }, { - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { @@ -318,7 +318,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -478,7 +478,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -725,7 +725,7 @@ "content": "", "dashLength": 10, "dashes": false, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "description": "", "editable": true, "error": false, @@ -1008,7 +1008,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"server_processor\" WITH KEY = \"servername\" WHERE time > now() - 24h", "description": null, "error": null, @@ -1035,7 +1035,7 @@ "allFormat": "regex values", "allValue": null, "current": {}, - "datasource": "${DS_HMCI}", + "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM \"vios_details\" WITH KEY = \"viosname\" WHERE servername =~ /$ServerName/ AND time > now() - 24h", "description": null, "error": null, @@ -1093,4 +1093,4 @@ "title": "IBM Power - HMCi - Virtual I/O Servers", "uid": "DDNEv5vGz", "version": 18 -} \ No newline at end of file +}