Module: check_mk
Branch: master
Commit: 7e86b399dce8819bed1235eb16741120d5217c6e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e86b399dce881…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 17 16:10:42 2013 +0100
cisco_fantray: fixed new syntax error
---
ChangeLog | 4 ++--
checks/cisco_fantray | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 13ba59a..c67a9ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,10 +52,10 @@
* 0380 FIX: jolokia_metrics.mem: PNP-Template now handles non existant max values...
* 0381 FIX: win_printers: Fixed creation of duplicate services...
* 0347 FIX: smart.stats: Remove duplicate disks...
- * 0109 FIX: cisco_fantray: Prevent inventory for not available fans
- * 0110 FIX: cisco_fru_power: Prevent inventory for not available FRUs
* 0349 FIX: winperf.cpuusage: update man page: this check is deprecated
* 0383 FIX: solaris_mem: Is now compatible to more systems...
+ * 0109 FIX: cisco_fantray: Prevent inventory for not available fans
+ * 0110 FIX: cisco_fru_power: Prevent inventory for not available FRUs
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/checks/cisco_fantray b/checks/cisco_fantray
index 3ea17e1..6c3fc18 100644
--- a/checks/cisco_fantray
+++ b/checks/cisco_fantray
@@ -30,7 +30,7 @@ def inventory_cisco_fantray(info):
if info and info[0]:
#Some Cisco switches reporting not available fans as down,
#so we cant invenorize fans reported as down
- return [ (line[0], None) for line in info if line[1] != '3'
+ return [ (line[0], None) for line in info if line[1] != '3' ]
def check_cisco_fantray(item, params, info):
for line in info: