Module: check_mk
Branch: master
Commit: ad23102e156a18b5151cb01835ac55a7d5ce585c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ad23102e156a18…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Mon Sep 17 17:35:13 2012 +0200
FreeBSD Agent: Add ZFS plugin to standard agent
---
agents/check_mk_agent.freebsd | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd
index 17bcebb..3dc4198 100755
--- a/agents/check_mk_agent.freebsd
+++ b/agents/check_mk_agent.freebsd
@@ -271,6 +271,12 @@ if which mailq >/dev/null 2>&1 && getent passwd
postfix >/dev/null 2>&1; then
mailq | tail -n 6
fi
+# check zpool status
+if [ -x /sbin/zpool ]; then
+ echo "<<<zpool_status>>>"
+ /sbin/zpool status -x
+fi
+
# Einbinden von lokalen Plugins, die eine eigene Sektion ausgeben
if cd $PLUGINSDIR