3 Oct
2006
3 Oct
'06
9:24 p.m.
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