Module: check_mk
Branch: master
Commit: 8bf817e7500f432124c2e6eacd9ab4fed090efe2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8bf817e7500f43…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 29 10:50:51 2013 +0100
FIX: check_mk_agent.freebsd: remove garble from output
---
ChangeLog | 2 ++
agents/check_mk_agent.freebsd | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 685f1b8..fae9c29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -82,6 +82,8 @@
1.2.2:
Checks & Agents:
* FIX: apc_symmetra_power: resurrect garble PNP template for
+ * FIX: check_mk_agent.freebsd: remove garble from output
+ (Thanks to Mathias Decker)
1.2.2b5:
Core:
diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd
index 0eaa990..0f45885 100755
--- a/agents/check_mk_agent.freebsd
+++ b/agents/check_mk_agent.freebsd
@@ -291,7 +291,7 @@ fi
# check zpool status
if [ -x /sbin/zpool ]; then
echo "<<<zpool_status>>>"
- /sbin/zpool status -x
+ /sbin/zpool status -x | grep -v "errors: No known data errors"
fi