[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NFS server/partition monitoring
- To: hobbit (at) hswn.dk
- Subject: NFS server/partition monitoring
- From: "T.J. Yang" <tj_yang (at) hotmail.com>
- Date: Tue, 03 Oct 2006 16:24:55 -0500
- Bcc:
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