Module: check_mk
Branch: master
Commit: c7d85066fdc06b341d87ff2bd7cb6b87181dc887
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c7d85066fdc06b…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Sep 6 12:57:23 2018 +0200
6476 FIX apc_symmetra: Fixed transposed default levels for battery capacity
You'll need to restart the core for this change to take effect.
Change-Id: Id2dc3d609a81843ca5f82cc117a4e23698d9c253
---
.werks/6476 | 10 ++++++++++
checks/apc_symmetra | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/6476 b/.werks/6476
new file mode 100644
index 0000000..2725f3f
--- /dev/null
+++ b/.werks/6476
@@ -0,0 +1,10 @@
+Title: apc_symmetra: Fixed transposed default levels for battery capacity
+Level: 1
+Component: checks
+Compatible: incomp
+Edition: cre
+Version: 1.6.0i1
+Date: 1536231288
+Class: fix
+
+You'll need to restart the core for this change to take effect.
diff --git a/checks/apc_symmetra b/checks/apc_symmetra
index 50fdfa7..388287a 100644
--- a/checks/apc_symmetra
+++ b/checks/apc_symmetra
@@ -114,7 +114,7 @@ def parse_apc_symmetra(info):
# crit_capacity, crit_sys_temp, crit_batt_curr, crit_voltage = levels
# Temperature default now 60C: regadring to a apc technician a temperature up tp 70C is
possible
factory_settings["apc_default_levels"] = {
- "capacity" : ( 80, 95 ),
+ "capacity" : ( 95, 80 ),
"calibration_state" : 0
}