Module: check_mk
Branch: master
Commit: 0af2546d520a3da01e639439dcc9db59b790cdf7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0af2546d520a3d…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Nov 10 11:24:03 2016 +0100
minor fix. not werk worthy
---
checks/netapp_api_fcp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/netapp_api_fcp b/checks/netapp_api_fcp
index 2eeccb3..24807ba 100644
--- a/checks/netapp_api_fcp
+++ b/checks/netapp_api_fcp
@@ -139,7 +139,7 @@ def parse_netapp_api_fcp(info):
"state": values.get("state"),
"address": values.get("port_wwpn")
}
- speed = int(values.get("data-link-rate")) * 1000**3
+ speed = int(values.get("data-link-rate", 0)) * 1000**3
if speed:
fcp_data["speed"] = speed