[hobbit] Check for mounted drives on *nix servers

Jerald Sheets questy at gmail.com
Fri Feb 26 22:50:34 CET 2010


You can even toss an empty file on the mount and use the file check facility to just check for it's existence.  If you can't see it, the filesystem isn't mounted.

I use a hidden file:


/path/to/mount/.isAvail

Works like a champ.


--j


On Feb 26, 2010, at 4:42 PM, Odinn wrote:

> If you are referring to NFS mounted drives, it would be a simple script to write to check using showmount
> --
> 
> 
> Jim Sloan
> 
> 
> Just remember, today is the day you thought tomorrow was going to be yesterday.
> 
> 
> 
> ----- Original Message ----
> From: "Lennon, Padraig" <Padraig.Lennon at pioneerinvestments.com>
> To: hobbit at hswn.dk
> Sent: Fri, February 26, 2010 3:03:05 PM
> Subject: [hobbit] Check for mounted drives on *nix servers
> 
> Is there a quick way in Hobbit/Xymon to check that certain drives are
> actually mounted on a given client?
> 
> I want to be alerted if a drive is not mounted.. (for restart etc...)
> 
> Thanks
> 
> 
> 
> 
> Padraig Lennon 
> Senior Systems Integration Engineer
> 
> Pioneer Investments Management Ltd
> 5th Floor |Georges Quay Plaza | Georges Quay | Dublin 2 | Rep. of
> Ireland
> Tel.  +353 (0)1 480.2081 
> 
> padraig.lennon at pioneerinvestments.com | www.pioneerinvestments.com
> 
> Please consider the environment before printing this e-mail
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 




More information about the Xymon mailing list