Module: check_mk
Branch: master
Commit: 0ae593b39181faff03193c783f7d8fbefe6a8826
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0ae593b39181fa…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Apr 20 10:03:28 2017 +0200
4621 FIX emc_isilon_power: Now considers more naming possibilities
Change-Id: I60b45dcdc6de5ca7f6b67966b6e0b00db06fc5f7
---
.werks/4621 | 10 ++++++++++
checks/emc_isilon_power | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/4621 b/.werks/4621
new file mode 100644
index 0000000..8f0cb07
--- /dev/null
+++ b/.werks/4621
@@ -0,0 +1,10 @@
+Title: emc_isilon_power: Now considers more naming possibilities
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1492675329
+Class: fix
+
+
diff --git a/checks/emc_isilon_power b/checks/emc_isilon_power
index 6a2999a..df661db 100644
--- a/checks/emc_isilon_power
+++ b/checks/emc_isilon_power
@@ -40,7 +40,7 @@ def isilon_power_item_name(sensor_name):
def inventory_emc_isilon_power(info):
for line in info:
# only monitor power supply currently
- if "Power Supply" in line[0]:
+ if "Power Supply" in line[0] or "PS" in line[0]:
yield isilon_power_item_name(line[0]),
"emc_isilon_power_default_levels"