From e96b7d1917a3470c4ad4eb1f55a866b693e6ee6d Mon Sep 17 00:00:00 2001 From: Christoph Klaffl Date: Wed, 1 Jun 2022 08:17:27 +0200 Subject: [PATCH] check_mk-zpool_status: fixed check crash in case of zfs pools with special devices and errors --- cmk/base/plugins/agent_based/zpool_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmk/base/plugins/agent_based/zpool_status.py b/cmk/base/plugins/agent_based/zpool_status.py index 7d0910e4133..371bd089305 100644 --- a/cmk/base/plugins/agent_based/zpool_status.py +++ b/cmk/base/plugins/agent_based/zpool_status.py @@ -80,7 +80,7 @@ def parse_zpool_status(string_table: type_defs.StringTable) -> Optional[Section] 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