Module: check_mk
Branch: master
Commit: 369c421c702fde4784087e3666520b843fe9da29
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=369c421c702fde…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Jan 10 09:37:44 2019 +0100
graphs: change util_average
The metric 'util_average' is only created if the user configured
it. In that that case it should be shown -- regardles of wether
'user' metric is present.
Change-Id: I2813115f9ee9820055eb12ec9dfe6eade121f361
---
cmk/gui/plugins/metrics/check_mk.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cmk/gui/plugins/metrics/check_mk.py b/cmk/gui/plugins/metrics/check_mk.py
index b354960..233aab0 100644
--- a/cmk/gui/plugins/metrics/check_mk.py
+++ b/cmk/gui/plugins/metrics/check_mk.py
@@ -8342,9 +8342,7 @@ graph_info["util_average"] = {
"util:warn",
"util:crit",
],
- "range": (0, 100),
- "optional_metrics": ["util_average"],
- "conflicting_metrics": ["user"],
+ "range": ("util:min", "util:max"),
}
graph_info["cpu_utilization_1"] = {