NFS server/partition monitoring
T.J. Yang
tj_yang at hotmail.com
Tue Oct 3 23:24:55 CEST 2006
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" test at test.com ;fi;)
T.J. Yang
More information about the Xymon
mailing list