Module: check_mk
Branch: master
Commit: 305d9a8ddbb75cc6094bea9f5ec0ba47ff4d13de
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=305d9a8ddbb75c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Apr 4 15:21:36 2012 +0200
nfsmounts: Added nfs4 support thanks to Thorsten Hintemann
---
ChangeLog | 1 +
agents/check_mk_agent.linux | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 61a997d..be034fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,7 @@
All oracle checks will return UNKNOWN when finding an ORA-* message
* FIX: filesystem levels set via WATO didn't work, but do now
* FIX: Group filters can handle groups without aliases now
+ * nfsmounts: Added nfs4 support thanks to Thorsten Hintemann
1.2.0b1:
Core, Setup, etc.:
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index 2b1272d..aae12c0 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -88,7 +88,7 @@ then
STAT_BROKE="5.3.0"
echo '<<<nfsmounts>>>'
- sed -n '/ nfs /s/[^ ]* \([^ ]*\) .*/\1/p' < /proc/mounts |
+ sed -n '/ nfs4\? /s/[^ ]* \([^ ]*\) .*/\1/p' < /proc/mounts |
while read MP
do
if [ $STAT_VERSION != $STAT_BROKE ]; then