Module: check_mk
Branch: master
Commit: 1e24b69c9a3ebfeb93e238fe9162c590ee12e2bf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1e24b69c9a3ebf…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Mar 14 09:20:18 2017 +0100
8624 FIX brocade_fcport: Fix usage of port name during discovery
The rule allowing to use the port name in the service description never took
effect, due to no port name being found. This has been fixed.
Change-Id: I35c0a0bb9465e53e97332cdde8a699e20c90399a
---
.werks/8624 | 12 ++++++++++++
checks/brocade_fcport | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/8624 b/.werks/8624
new file mode 100644
index 0000000..261cb94
--- /dev/null
+++ b/.werks/8624
@@ -0,0 +1,12 @@
+Title: brocade_fcport: Fix usage of port name during discovery
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1489479514
+
+The rule allowing to use the port name in the service description never took
+effect, due to no port name being found. This has been fixed.
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index d928b39..1a0509e 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -144,7 +144,7 @@ def inventory_brocade_fcport(info):
admstate = int(line[3])
except: # missing vital data. Skipping this port
continue
- portname = line[13]
+ portname = line[14]
is_isl = line[0] in isl_ports
if admstate in admstates and \