Module: check_mk
Branch: master
Commit: 3c00329436ceef6fd7783acd4f2d1e7c6cbf0383
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c00329436ceef…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 31 17:08:58 2015 +0200
#2184 statgrab_mem: converted to the same logic as the other memory checks
The check plugin <tt>statgrab_mem</tt> now uses the same implementation
as <tt>solaris_mem</tt> and many other memory checks. That makes the
output compatible.
Note: This change is incompatible since existing rules for memory
levels do not apply any longer. Now the same WATO rule set as for
other memory checks is being used. Please create new rules if you
have the need for custom levels.
---
.werks/2184 | 16 ++++++++++++++++
ChangeLog | 2 ++
checks/statgrab_mem | 3 +--
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.werks/2184 b/.werks/2184
new file mode 100644
index 0000000..a6d2164
--- /dev/null
+++ b/.werks/2184
@@ -0,0 +1,16 @@
+Title: statgrab_mem: converted to the same logic as the other memory checks
+Level: 1
+Component: checks
+Compatible: incomp
+Version: 1.2.7i1
+Date: 1427814376
+Class: feature
+
+The check plugin <tt>statgrab_mem</tt> now uses the same implementation
+as <tt>solaris_mem</tt> and many other memory checks. That makes the
+output compatible.
+
+Note: This change is incompatible since existing rules for memory
+levels do not apply any longer. Now the same WATO rule set as for
+other memory checks is being used. Please create new rules if you
+have the need for custom levels.
diff --git a/ChangeLog b/ChangeLog
index db81301..5f1fcd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -150,6 +150,8 @@
* 1902 mk_oracle: Performance hint for RMAN checks...
* 1903 mk_oracle: Remote Monitoring of Oracle Databases...
* 2183 ps: allow levels of used RAM in percentage of total RAM of host...
+ * 2184 statgrab_mem: converted to the same logic as the other memory checks...
+ NOTE: Please refer to the migration notes!
* 1457 FIX: logins: new check renamed from "users" check...
NOTE: Please refer to the migration notes!
* 1762 FIX: lnx_thermal: Now ignoring trip points with level 0...
diff --git a/checks/statgrab_mem b/checks/statgrab_mem
index 3b6e4e5..6e706c8 100644
--- a/checks/statgrab_mem
+++ b/checks/statgrab_mem
@@ -51,13 +51,12 @@ def check_statgrab_mem(_no_item, params, parsed):
return check_memory(params, parsed)
-
check_info["statgrab_mem"] = {
'parse_function' : parse_statgrab_mem,
'inventory_function' : inventory_statgrab_mem,
'check_function' : check_statgrab_mem,
'service_description' : 'Memory used',
'has_perfdata' : True,
- 'group' : "statgrab_mem",
+ 'group' : "memory",
'includes' : [ "mem.include" ],
}