Module: check_mk
Branch: master
Commit: 4a7a3bcf6a1a0941ae06918ba5b85ef24938d03c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4a7a3bcf6a1a09…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Mon Feb 8 14:41:36 2016 +0100
#3071 FIX cisco_mem, cisco_sys_mem, cisco_mem_asa: fixed incorrect unit being displayed
Previously the memory used on this devices was displayed as n Bytes although n is memory
usage in
percent
---
.werks/3071 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 12 ++++++++++++
3 files changed, 23 insertions(+)
diff --git a/.werks/3071 b/.werks/3071
new file mode 100644
index 0000000..d62cb1b
--- /dev/null
+++ b/.werks/3071
@@ -0,0 +1,10 @@
+Title: cisco_mem, cisco_sys_mem, cisco_mem_asa: fixed incorrect unit being displayed
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1454938819
+Class: fix
+
+Previously the memory used on this devices was displayed as n Bytes although n is memory
usage in
+percent
diff --git a/ChangeLog b/ChangeLog
index 88fb757..2226b9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -258,6 +258,7 @@
* 3163 FIX: Treat interface name '1' and '01' as identical when
grouping interfaces...
* 3167 FIX: apc_inrow_airflow: fix exception in displaying parameters in WATO
services list...
* 3070 FIX: windows agent: replaced a very costy section regarding installed
software...
+ * 3071 FIX: cisco_mem, cisco_sys_mem, cisco_mem_asa: fixed incorrect unit being
displayed...
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 822ff53..18c050d 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -3602,6 +3602,18 @@ check_metrics["check_mk-mssql_counters.sqlstats"] = {
"sql_re-compilations/sec" : { "name" :
"requests_per_second" },
}
+check_metrics["check_mk-cisco_mem"] = {
+ "mem_used" : { "name" : "mem_used_percent" }
+}
+
+check_metrics["check_mk-cisco_sys_mem"] = {
+ "mem_used" : { "name" : "mem_used_percent" }
+}
+
+check_metrics["check_mk-cisco_mem_asa"] = {
+ "mem_used" : { "name" : "mem_used_percent" }
+}
+
#.
# .--Perf-O-Meters-------------------------------------------------------.