Module: check_mk
Branch: master
Commit: 32fdecfe83f374d54fe881dc0c841f7fbaedb01f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=32fdecfe83f374…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Tue Apr 16 16:30:02 2019 +0200
7438 Perf-O-Meter & Graphs for CPU Utilization in statgrab_cpu check
For consistency with other CPU Utilization checks now statgrab_cpu also includes the same
perf-O-meter and graphs
CMK-1621
Change-Id: I388be692bbb806935a2f378572d1bd11af62c56c
---
.werks/7438 | 11 +++++++++++
cmk/gui/plugins/metrics/check_mk.py | 5 ++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.werks/7438 b/.werks/7438
new file mode 100644
index 0000000..6a7b7f4
--- /dev/null
+++ b/.werks/7438
@@ -0,0 +1,11 @@
+Title: Perf-O-Meter and Graphs for CPU Utilization in statgrab_cpu check
+Level: 1
+Component: checks
+Class: feature
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1555422905
+
+For consistency with other CPU Utilization checks now statgrab_cpu also includes the same
perf-O-meter and graphs
diff --git a/cmk/gui/plugins/metrics/check_mk.py b/cmk/gui/plugins/metrics/check_mk.py
index 21c1b0c..64d73c1 100644
--- a/cmk/gui/plugins/metrics/check_mk.py
+++ b/cmk/gui/plugins/metrics/check_mk.py
@@ -6648,7 +6648,7 @@ check_metrics["check_mk-apc_symmetra.elphase"] = {
},
}
-check_metrics["check_mk-kernel.util"] = {
+cpu_util_unix_translate = {
"wait": {
"name": "io_wait"
},
@@ -6660,6 +6660,9 @@ check_metrics["check_mk-kernel.util"] = {
},
}
+check_metrics["check_mk-kernel.util"] = cpu_util_unix_translate
+check_metrics["check_mk-statgrab_cpu"] = cpu_util_unix_translate
+
check_metrics["check_mk-lparstat_aix.cpu_util"] = {
"wait": {
"name": "io_wait"