Module: check_mk
Branch: master
Commit: c42a925e9742d7b308e9905737b2694722680f86
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c42a925e9742d7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Feb 15 16:52:16 2016 +0100
#3206 FIX esx_vsphere_hostsystem.mem_usage_cluster: Fixed broken check
---
.werks/3206 | 10 ++++++++++
ChangeLog | 1 +
checks/esx_vsphere_hostsystem | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3206 b/.werks/3206
new file mode 100644
index 0000000..b78e6ee
--- /dev/null
+++ b/.werks/3206
@@ -0,0 +1,10 @@
+Title: esx_vsphere_hostsystem.mem_usage_cluster: Fixed broken check
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1455551517
+
+
diff --git a/ChangeLog b/ChangeLog
index 757b72f..55aabc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
* 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters
* 3075 FIX: windows agent: fixed data encryption of realtime updates were
incompatible...
* 3205 FIX: raritan_pdu_inlet: Fixed exception in case phases report a non OK state
+ * 3206 FIX: esx_vsphere_hostsystem.mem_usage_cluster: Fixed broken check
Multisite:
* 3059 FIX: Fixed highlighting of availability timeline time slices
diff --git a/checks/esx_vsphere_hostsystem b/checks/esx_vsphere_hostsystem
index 4077a85..284f443 100644
--- a/checks/esx_vsphere_hostsystem
+++ b/checks/esx_vsphere_hostsystem
@@ -127,7 +127,7 @@ def check_esx_vsphere_hostsystem_mem_cluster(item, params, info):
if nodes_count >= count:
warn, crit = levels
warn_perf = warn * total_memory_size / 100
- crit_perf = cirt * total_memory_size / 100
+ crit_perf = crit * total_memory_size / 100
if level > crit:
state = 2