From 7ca1714198d62e2116bb865f32ee4aa0e7d464a4 Mon Sep 17 00:00:00 2001 From: Mark Nellemann Date: Sun, 22 Jan 2023 11:19:42 +0100 Subject: [PATCH] Update dashboards to reflect Power/AIX plugin rename and fix urls. --- doc/dashboards/Sysmon - Host Overview.json | 61 ++++++++++--------- doc/dashboards/Sysmon - IBM Power.json | 18 +++--- doc/dashboards/Sysmon - Process Explorer.json | 8 +-- 3 files changed, 44 insertions(+), 43 deletions(-) diff --git a/doc/dashboards/Sysmon - Host Overview.json b/doc/dashboards/Sysmon - Host Overview.json index ef192b1..c6e40dc 100644 --- a/doc/dashboards/Sysmon - Host Overview.json +++ b/doc/dashboards/Sysmon - Host Overview.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_SYSMON", - "label": "sysmon", + "label": "Database", "description": "", "type": "datasource", "pluginId": "influxdb", @@ -76,7 +76,7 @@ } ] }, - "description": "https://git.data.coop/nellemann/sysmon - Metrics from sysmon agent.", + "description": "https://git.data.coop/nellemann/sysmon/ - Metrics from sysmon agent.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, @@ -97,7 +97,7 @@ }, "id": 28, "options": { - "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [https://git.data.coop/nellemann/sysmon](https://git.data.coop/nellemann/sysmon)\n ", + "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [git.data.coop/nellemann/sysmon](https://git.data.coop/nellemann/sysmon)\n ", "mode": "markdown" }, "pluginVersion": "9.1.6", @@ -565,7 +565,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.mode" + "options": "power_processor.mode" }, "properties": [ { @@ -585,7 +585,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.type" + "options": "power_processor.type" }, "properties": [ { @@ -605,7 +605,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.ent" + "options": "power_processor.ent" }, "properties": [ { @@ -621,7 +621,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.lcpu" + "options": "power_processor.lcpu" }, "properties": [ { @@ -637,7 +637,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.smt" + "options": "power_processor.smt" }, "properties": [ { @@ -691,9 +691,11 @@ "type": "fill" } ], - "measurement": "aix_processor", + "measurement": "power_processor", "orderByTime": "ASC", "policy": "default", + "query": "SELECT last(\"mode\") AS \"mode\", last(\"type\") AS \"type\", last(\"ent\") AS \"ent\", last(\"lcpu\") AS \"lcpu\", last(\"smt\") AS \"smt\" FROM \"power_processor\" WHERE (\"hostname\" =~ /^$hostname$/) AND $timeFilter GROUP BY time($__interval) fill(previous) SLIMIT 1", + "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ @@ -805,11 +807,11 @@ "options": { "include": { "names": [ - "aix_processor.mode", - "aix_processor.type", - "aix_processor.ent", - "aix_processor.lcpu", - "aix_processor.smt" + "power_processor.mode", + "power_processor.type", + "power_processor.ent", + "power_processor.lcpu", + "power_processor.smt" ] } } @@ -989,12 +991,6 @@ ], "type": "moving_average" }, - { - "params": [ - "*-1" - ], - "type": "math" - }, { "params": [ "steal" @@ -1277,7 +1273,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.entc" + "options": "power_processor.entc" }, "properties": [ { @@ -1293,7 +1289,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.physc" + "options": "power_processor.physc" }, "properties": [ { @@ -1305,7 +1301,7 @@ { "matcher": { "id": "byName", - "options": "aix_processor.lbusy" + "options": "power_processor.lbusy" }, "properties": [ { @@ -1363,7 +1359,7 @@ "type": "fill" } ], - "measurement": "aix_processor", + "measurement": "power_processor", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -2085,7 +2081,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2489,7 +2486,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2647,7 +2645,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -2787,7 +2786,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2980,7 +2980,8 @@ "mode": "absolute", "steps": [ { - "color": "transparent" + "color": "transparent", + "value": null }, { "color": "orange", @@ -3157,6 +3158,6 @@ "timezone": "", "title": "Sysmon - Host Overview", "uid": "QkVPjseMt", - "version": 21, + "version": 23, "weekStart": "" } diff --git a/doc/dashboards/Sysmon - IBM Power.json b/doc/dashboards/Sysmon - IBM Power.json index f72cb18..0aeb781 100644 --- a/doc/dashboards/Sysmon - IBM Power.json +++ b/doc/dashboards/Sysmon - IBM Power.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_SYSMON", - "label": "sysmon", + "label": "Database", "description": "", "type": "datasource", "pluginId": "influxdb", @@ -58,7 +58,7 @@ } ] }, - "description": "https://bitbucket.org/mnellemann/sysmon/ - Metrics from sysmon agent.", + "description": "https://git.data.coop/nellemann/sysmon/ - Metrics from sysmon agent.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, @@ -79,7 +79,7 @@ }, "id": 28, "options": { - "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [bitbucket.org/mnellemann/sysmon](https://bitbucket.org/mnellemann/sysmon)\n ", + "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [git.data.coop/nellemann/sysmon](https://git.data.coop/nellemann/sysmon)\n ", "mode": "markdown" }, "pluginVersion": "9.1.6", @@ -351,7 +351,7 @@ "type": "fill" } ], - "measurement": "aix_processor", + "measurement": "power_processor", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -495,7 +495,7 @@ "type": "fill" } ], - "measurement": "aix_processor", + "measurement": "power_processor", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -640,7 +640,7 @@ "type": "fill" } ], - "measurement": "aix_processor", + "measurement": "power_processor", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -693,14 +693,14 @@ "type": "influxdb", "uid": "${DS_SYSMON}" }, - "definition": "SHOW TAG VALUES FROM \"aix_processor\" WITH KEY = \"hostname\" WHERE time > now() - 60m", + "definition": "SHOW TAG VALUES FROM \"power_processor\" WITH KEY = \"hostname\" WHERE time > now() - 60m", "hide": 0, "includeAll": true, "label": "Host", "multi": true, "name": "hostname", "options": [], - "query": "SHOW TAG VALUES FROM \"aix_processor\" WITH KEY = \"hostname\" WHERE time > now() - 60m", + "query": "SHOW TAG VALUES FROM \"power_processor\" WITH KEY = \"hostname\" WHERE time > now() - 60m", "refresh": 2, "regex": "", "skipUrlSync": false, @@ -735,4 +735,4 @@ "uid": "3zPCIbN4z", "version": 7, "weekStart": "" -} \ No newline at end of file +} diff --git a/doc/dashboards/Sysmon - Process Explorer.json b/doc/dashboards/Sysmon - Process Explorer.json index 1f89ee5..8fb6997 100644 --- a/doc/dashboards/Sysmon - Process Explorer.json +++ b/doc/dashboards/Sysmon - Process Explorer.json @@ -2,7 +2,7 @@ "__inputs": [ { "name": "DS_SYSMON", - "label": "sysmon", + "label": "Database", "description": "", "type": "datasource", "pluginId": "influxdb", @@ -70,7 +70,7 @@ } ] }, - "description": "https://bitbucket.org/mnellemann/sysmon/ - Metrics from within host / guest / partition.", + "description": "https://git.data.coop/nellemann/sysmon/ - Metrics from within host / guest / partition.", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, @@ -91,7 +91,7 @@ }, "id": 30, "options": { - "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [bitbucket.org/mnellemann/sysmon](https://bitbucket.org/mnellemann/sysmon)\n ", + "content": "## Metrics are collected by an agent running inside of each LPAR / VM / Host.\n \n For more information: [git.data.coop/nellemann/sysmon](https://git.data.coop/nellemann/sysmon)\n ", "mode": "markdown" }, "pluginVersion": "9.1.6", @@ -1057,4 +1057,4 @@ "uid": "Vjut5mS7k", "version": 5, "weekStart": "" -} \ No newline at end of file +}