This script will check the avaliability of a list of NFS mount point, forcing a remount of those that do not respond in 5 seconds.
This script will check the avaliability of a list of NFS mount point,
forcing a remount of those that do not respond in 5 seconds.

 It basically does this:
   NFSPATH=/mountpoint TIMEOUT=5; perl -e "alarm $TIMEOUT; exec @ARGV" "test -d $NFSPATH" || (umount -fl $NFSPATH; mount $NFSPATH)

keymon/snippets,keymon/snippets