Module: check_mk
Branch: master
Commit: d9b9dc37b62acb338fee003b063551c4d138a17e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d9b9dc37b62acb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Nov 16 11:39:32 2016 +0100
4043 Add missing metric definition for 15 minute CPU load prediction
---
.werks/4043 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 7 +++++++
3 files changed, 18 insertions(+)
diff --git a/.werks/4043 b/.werks/4043
new file mode 100644
index 0000000..80d96fa
--- /dev/null
+++ b/.werks/4043
@@ -0,0 +1,10 @@
+Title: Add missing metric definition for 15 minute CPU load prediction'
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1479292658
+
+
diff --git a/ChangeLog b/ChangeLog
index 083c8ad..e50094c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@
* 3963 FIX: check_mk_agent.linux: fixed strayed output of postfix status command
* 3940 FIX: aix_hacmp_services: fixed broken check in case of agent section showing
extra information before the "Status(...)" line...
* 3941 FIX: zypper: fixed broken check for sections since agent OS SLES12...
+ * 4043 FIX: Add missing metric definition for 15 minute CPU load prediction'
Multisite:
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 05545bf..2968be9 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -875,6 +875,13 @@ metric_info["load15"] = {
"color" : "#2c5766",
}
+metric_info["predict_load15"] = {
+ "title" : _("Predicted average for 15 minute CPU load"),
+ "unit" : "",
+ "color" : "#a0b0c0",
+}
+
+
metric_info["context_switches"] = {
"title" : _("Context switches"),
"unit" : "1/s",