Module: check_mk
Branch: master
Commit: 2f4a25ad831ff0da27da4defd17e03943d2c4ddb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2f4a25ad831ff0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Aug 19 10:12:09 2013 +0200
FIX: zpool_status: Ignoring "No known data errors" text
---
ChangeLog | 1 +
checks/zpool_status | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1e5af32..7497da1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -293,6 +293,7 @@
* FIX: blade_powerfan: fix mixup of default levels 50/40 -> 40/50
* FIX: Cleaned up graph rendering of Check_MK services
* FIX: zypper: deal with output from SLES 10
+ * FIX: zpool_status: Ignoring "No known data errors" text
Multisite:
* FIX: LDAP: Disabling use of referrals in active directory configuration
diff --git a/checks/zpool_status b/checks/zpool_status
index 6a5ac77..0289065 100644
--- a/checks/zpool_status
+++ b/checks/zpool_status
@@ -87,7 +87,9 @@ def check_zpool_status(_no_item, _no_params, info):
if line[0] == "errors:":
start_pool = False
- pool_messages[last_pool] = " ".join(line[1:])
+ msg = " ".join(line[1:])
+ if msg != 'No known data errors':
+ pool_messages[last_pool] = msg
continue
if line[0] == "spares":