Module: check_mk
Branch: master
Commit: e2ece336b8dcf66dce6d0d820dbfebe21e5a5891
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e2ece336b8dcf6…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 26 16:51:31 2016 +0100
#3250 FIX cisco_mem: remove bogus memory check for "Driver text"
Some C3XXX devices send this information which 40 Bytes used memory of 1 MB,
which seems to be totally useless. We no longer discover these items now.
---
.werks/3250 | 11 +++++++++++
ChangeLog | 1 +
checks/cisco_mem.include | 5 ++++-
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.werks/3250 b/.werks/3250
new file mode 100644
index 0000000..a61c217
--- /dev/null
+++ b/.werks/3250
@@ -0,0 +1,11 @@
+Title: cisco_mem: remove bogus memory check for "Driver text"
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1456501845
+
+Some C3XXX devices send this information which 40 Bytes used memory of 1 MB,
+which seems to be totally useless. We no longer discover these items now.
diff --git a/ChangeLog b/ChangeLog
index 6289efe..c433715 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -46,6 +46,7 @@
* 2997 FIX: Fixed broken SNMP subchecks...
* 3243 FIX: Fix missing custom graphs in sidebar snapin Views if explicit topic is
set
* 3245 FIX: Fix interpretation of check levels 0.0 as "no levels"...
+ * 3250 FIX: cisco_mem: remove bogus memory check for "Driver text"...
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/cisco_mem.include b/checks/cisco_mem.include
index 1229d0c..f6f2148 100644
--- a/checks/cisco_mem.include
+++ b/checks/cisco_mem.include
@@ -27,7 +27,10 @@
cisco_mem_default_levels = (80.0, 90.0)
def inventory_cisco_mem(info):
- return [ (line[0], "cisco_mem_default_levels") for line in info ]
+ return [
+ (line[0], "cisco_mem_default_levels")
+ for line in info
+ if line[0] != "Driver text" ]
def check_cisco_mem(item, params, info):
for line in info: