Module: check_mk
Branch: master
Commit: 86b6a0525fb15341af7e031d479c1a664ca40e57
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=86b6a0525fb153…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Wed Feb 1 19:18:41 2017 +0100
4189 FIX mem.used: Fixed graphing
The graphing ist now correct rendering the information given by the check mem.used.
Previously the graphing was trying to sell the "total used memory" information
as installed RAM. In consequense also the rendering of Perf-O-Meter was broken and
thresholds "total used memory" never have been displayed.
Change-Id: I758bf07c09d593a3af937f74fc7b7a0507710823
---
.werks/4189 | 9 +++++++++
ChangeLog | 2 ++
web/plugins/metrics/check_mk.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4189 b/.werks/4189
new file mode 100644
index 0000000..2a09637
--- /dev/null
+++ b/.werks/4189
@@ -0,0 +1,9 @@
+Title: mem.used: Fixed graphing
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i4
+Date: 1485972835
+Class: fix
+
+The graphing ist now correct rendering the information given by the check mem.used.
Previously the graphing was trying to sell the "total used memory" information
as installed RAM. In consequense also the rendering of Perf-O-Meter was broken and
thresholds "total used memory" never have been displayed.
diff --git a/ChangeLog b/ChangeLog
index 716b64c..21524c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -103,6 +103,8 @@
* 4342 FIX: hp_proliant: fixed empty status handling
* 4216 FIX: cmciii.phase: Fix wrong scaling of power and energy values
* 4345 FIX: hp_proliant_temp: Ignore device levels of 0
+ * 4338 FIX: aix_hacmp_resources: fixed state handling
+ * 4189 FIX: mem.used: Fixed graphing...
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 0c11283..8775e85 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -3940,7 +3940,7 @@ check_metrics["check_mk-hr_mem"] =
ram_used_swap_translation
check_metrics["check_mk-mem.used"] = {
"ramused" : { "name" : "mem_used",
"scale" : MB },
"swapused" : { "name" : "swap_used",
"scale" : MB },
- "memused" : { "name" : "mem_total",
"scale" : MB },
+ "memused" : { "name" : "mem_lnx_total_used",
"scale" : MB },
"shared" : { "name" : "mem_lnx_shmem",
"scale" : MB },
"pagetable" : { "name" : "mem_lnx_page_tables",
"scale" : MB },
"mapped" : { "name" : "mem_lnx_mapped",
"scale" : MB },