Module: check_mk
Branch: master
Commit: 1eb6de9981256e69ac882c22174e45574e507798
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1eb6de9981256e…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jan 9 11:40:25 2019 +0100
7003 FIX f5_bigip_pool: Fixed crash if no SNMP info
Change-Id: Ia318ee5d0c250c124744ff1f9fc99cbe40887223
---
.werks/7003 | 11 +++++++++++
checks/f5_bigip_pool | 3 +++
2 files changed, 14 insertions(+)
diff --git a/.werks/7003 b/.werks/7003
new file mode 100644
index 0000000..919f7b9
--- /dev/null
+++ b/.werks/7003
@@ -0,0 +1,11 @@
+Title: f5_bigip_pool: Fixed crash if no SNMP info
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1547030399
+
+
diff --git a/checks/f5_bigip_pool b/checks/f5_bigip_pool
index e81d222..519da8a 100644
--- a/checks/f5_bigip_pool
+++ b/checks/f5_bigip_pool
@@ -38,6 +38,9 @@ def parse_f5_bigip_pool(info):
parsed = {}
processed_member_info = False
for block in info:
+ if not block:
+ continue
+
# Member information
if len(block[0]) == 3 and processed_member_info:
break