NFS server/partition monitoring
list T.J. Yang
Tue, 03 Oct 2006 16:24:55 -0500
Message-Id: <user-493a2cfd5a23@xymon.invalid>
How can hobbit client or its external module do NFS monitoring ?
Is there a way to monitor remote nfs server and its partition from hobbit server ?
command like showmount looks pretty handy to achieve the goal.
[root] showmount -e mynfsserver
export list for mynfsserver:
/export (everyone)
/opt/sge (everyone)
[root]
Also is there a way to monitor stale NFS issue by bb or hobbit client ?
right now I am using cron job to detect nfs parition is out of reach by ls command.
17,55 * * * * (ok=`ls /nfsserver/README.txt`; if [ $? -eq 1 ];then echo "automounter has problem;run /etc/init.d/autofs reload" | /bin/mail -s "ls /nfsserver/README.txt failed on t-myhost" user-3a7b9bbe2bfd@xymon.invalid ;fi;)
T.J. Yang