[hobbit] NFS server/partition monitoring
Buchan Milne
bgmilne at staff.telkomsa.net
Thu Oct 5 11:13:54 CEST 2006
On Tuesday 03 October 2006 23:24, T.J. Yang wrote:
> How can hobbit client or its external module do NFS monitoring ?
Hobbit can monitor rpc services, see bb-hosts(5). But, this only checks that
the rpc program is registered on the host.
>
> 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]
Sure, so you could write a trivial extension script for the server that does
this.
>
> 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;)
This could also be an extension script on any hobbit client (and, it would
then also be able to test for being able to write to certain NFS shares).
You could also use a "file" monitor on any of your NFS clients.
Regards,
Buchan
--
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061005/da54ea7f/attachment.sig>
More information about the Xymon
mailing list