Module: check_mk
Branch: master
Commit: 2778a525fe1d1f063c458831dbbe64c59ad25447
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2778a525fe1d1f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Nov 29 12:38:39 2013 +0100
df: Solaris agent now also supports samfs
---
.werks/8 | 8 ++++++++
ChangeLog | 1 +
agents/check_mk_agent.solaris | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.werks/8 b/.werks/8
new file mode 100644
index 0000000..7b307ac
--- /dev/null
+++ b/.werks/8
@@ -0,0 +1,8 @@
+Title: df: Solaris agent now also supports samfs
+Level: 1
+Component: checks
+Version: 1.2.3i7
+Date: 1385725089
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index cf3af12..660f019 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@
* 0236 windows_agent: each script can now be configured to run sync / async...
* 0101 liebert_chiller_status: New check for Liebert Chiller devices
* 0083 brocade_mlx: Temperature sensors of one module now in one common check...
+ * 0008 df: Solaris agent now also supports samfs
* 0024 FIX: cisco_wlc: removed check configuration parameter ap_model...
* 0003 FIX: ps: Remove exceeding [ and ] in service description when using process
inventory...
* 0037 FIX: checkman browser (cmk -m) was not working properly in network subtree...
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index 58cd083..4244213 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -67,7 +67,7 @@ fi
# Filesystem usage for UFS and VXFS
echo '<<<df>>>'
-for fs in ufs vxfs
+for fs in ufs vxfs samfs
do
df -l -k -F $fs 2>/dev/null | sed 1d | \
while read Filesystem kbytes used avail capacity Mountedon