Skip to content

Commit

Permalink
check_mk-zpool_status: fixed check crash in case of zfs pools with sp…
Browse files Browse the repository at this point in the history
…ecial devices and errors

closes: #475

Change-Id: I7bc86eb7773aea17cd386f65ae59cbb4cc7c0777
  • Loading branch information
phreaker0 authored and kain88-de committed Jun 27, 2022
1 parent f87d2b9 commit 4c69185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmk/base/plugins/agent_based/zpool_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def parse_zpool_status( # pylint: disable=too-many-branches
if msg != "No known data errors":
pool_messages[last_pool].append(msg)

elif line[0] in ["spares", "logs", "cache"]:
elif line[0] in ["spares", "logs", "cache", "special"]:
start_pool = False
continue

Expand Down

0 comments on commit 4c69185

Please sign in to comment.