Module: check_mk
Branch: master
Commit: a57d026f0e96f8da0823bca22c19e8d8ba86aee9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a57d026f0e96f8…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Jan 10 11:38:16 2019 +0100
graphs: move and rename averaged graph definition
Change-Id: I012d32952370d9ae3afa717a7c49102b3636e4bf
---
cmk/gui/plugins/metrics/check_mk.py | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/cmk/gui/plugins/metrics/check_mk.py b/cmk/gui/plugins/metrics/check_mk.py
index 233aab0..1dcc593 100644
--- a/cmk/gui/plugins/metrics/check_mk.py
+++ b/cmk/gui/plugins/metrics/check_mk.py
@@ -8333,7 +8333,7 @@ graph_info["fgpa_utilization"] = {
# CPU UTILIZATION
#
-graph_info["util_average"] = {
+graph_info["util_average_1"] = {
"metrics": [
("util", "area"),
("util_average", "line"),
@@ -8345,6 +8345,16 @@ graph_info["util_average"] = {
"range": ("util:min", "util:max"),
}
+graph_info["cpu_average_2"] = {
+ "title": _("CPU utilization"),
+ "metrics": [("util1", "area"), ("util15",
"line")],
+ "scalars": [
+ "util1:warn",
+ "util1:crit",
+ ],
+ "range": (0, 100),
+}
+
graph_info["cpu_utilization_1"] = {
"title": _("CPU utilization (%(util:max@count) CPU Threads)"),
"metrics": [
@@ -8359,16 +8369,6 @@ graph_info["cpu_utilization_1"] = {
"range": (0, 100),
}
-graph_info["cpu_utilization_2"] = {
- "title": _("CPU utilization"),
- "metrics": [("util1", "area"), ("util15",
"line")],
- "scalars": [
- "util1:warn",
- "util1:crit",
- ],
- "range": (0, 100),
-}
-
graph_info["cpu_utilization_3"] = {
"title": _("CPU utilization"),
"metrics": [