Module: check_mk
Branch: master
Commit: 4349d354617648945d2258453d0c4718d81a73ed
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4349d354617648…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Jan 25 11:50:02 2018 +0100
5493 check_mk_agent.solaris: deliver informations about tmpfs filesystems
The check_mk_agent.solaris now additionally delivers informations about
tmpfs filesystems. This way it can be used together with werk #5523 to
monitor tmpfs filesystems on Solaris hosts.
Change-Id: I6ddb1f3648faec8618c5da2f2f874b7a6a833381
---
.werks/5493 | 12 ++++++++++++
agents/check_mk_agent.solaris | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5493 b/.werks/5493
new file mode 100644
index 0000000..da2f709
--- /dev/null
+++ b/.werks/5493
@@ -0,0 +1,12 @@
+Title: check_mk_agent.solaris: deliver informations about tmpfs filesystems
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i3
+Date: 1516876151
+Class: feature
+
+The check_mk_agent.solaris now additionally delivers informations about
+tmpfs filesystems. This way it can be used together with werk #5523 to
+monitor tmpfs filesystems on Solaris hosts.
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index be70671..937826e 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -173,7 +173,7 @@ fi
# Filesystem usage for UFS and VXFS
echo '<<<df>>>'
-for fs in ufs vxfs samfs lofs
+for fs in ufs vxfs samfs lofs tmpfs
do
df -l -k -F $fs 2>/dev/null | sed 1d | grep -v "^[^ ]*/lib/[^ ]*\.so\.1
" | \
while read Filesystem kbytes used avail capacity Mountedon