Module: check_mk
Branch: master
Commit: 234fb896e806586c1948654132cba8c381b7dd98
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=234fb896e80658…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Dec 12 11:32:52 2016 +0100
4115 FIX mem.linux: fixed missing stack bug in PNP template
Change-Id: I9ec5c027a0f39610c37f4e4401778443e5002944
---
.werks/4115 | 10 ++++++++++
ChangeLog | 1 +
pnp-templates/check_mk-mem.linux.php | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4115 b/.werks/4115
new file mode 100644
index 0000000..4c35dda
--- /dev/null
+++ b/.werks/4115
@@ -0,0 +1,10 @@
+Title: mem.linux: fixed missing stack bug in PNP template
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1481538713
+
+
diff --git a/ChangeLog b/ChangeLog
index 3f6126a..e71d78a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,6 +52,7 @@
* 4100 FIX: mk_mysql: Only perform queries if mysqladmin ping is successful#...
* 4113 FIX: postgres_locks: fixed missing include file
* 4114 FIX: innovaphone_licenses: fixed wrong percentage calculation
+ * 4115 FIX: mem.linux: fixed missing stack bug in PNP template
Multisite:
* 4070 Added a painter for the service check period
diff --git a/pnp-templates/check_mk-mem.linux.php b/pnp-templates/check_mk-mem.linux.php
index 04c43b2..17e0e83 100644
--- a/pnp-templates/check_mk-mem.linux.php
+++ b/pnp-templates/check_mk-mem.linux.php
@@ -98,7 +98,7 @@ if (isset($mem_defines["active_anon"])) {
$def[] = ""
. mem_area("active_anon", "ff4040", "Active
(anonymous)", FALSE)
. mem_area("active_file", "ff8080", "Active
(files)", TRUE)
- . mem_area("inactive_anon", "377cab", "Inactive
(anonymous)", FALSE)
+ . mem_area("inactive_anon", "377cab", "Inactive
(anonymous)", TRUE)
. mem_area("inactive_file", "4eb0f2", "Inactive
(files)", TRUE)
;
}