Module: check_mk
Branch: master
Commit: e790403555d3397ecbea72dc826a032c3404789f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e790403555d339…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Feb 7 13:53:07 2018 +0100
parse_brocade_fcport: Mark optional values as such
Change-Id: I11ac7bc7c2176e6c2874ed7090f84cbe8216a95f
---
checks/brocade_fcport | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index 073b36f..d3e5f1b 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -173,8 +173,8 @@ def parse_brocade_fcport(info):
"porttype": porttype,
"ifspeed": int(ifspeed),
"is_isl": index in isl_ports,
- "islspeed": islspeed,
- "bbcredits": bbcredits,
+ "islspeed": islspeed, # Might be None
+ "bbcredits": bbcredits, # Might be None
})
except: # missing vital data. Skipping this port
continue