Module: check_mk
Branch: master
Commit: 597f5ee37bfd13dc8ad9d11ce2caffe9ce5b5f1f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=597f5ee37bfd13…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jul 14 11:02:28 2015 +0200
brocade_info: fixed invalid encoding of wwn (caused exception with latest Check_MK
encoding changes)
---
checks/brocade_info | 1 +
1 file changed, 1 insertion(+)
diff --git a/checks/brocade_info b/checks/brocade_info
index d668690..902bad0 100644
--- a/checks/brocade_info
+++ b/checks/brocade_info
@@ -37,6 +37,7 @@ def brocade_info_try_it(info):
model = "-"
try:
wwn = info[2][0][0]
+ wwn = " ".join([ "%02X" % ord(tok) for tok in wwn ])
except:
wwn = "-"
try: