[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Check for mounted drives on *nix servers
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Check for mounted drives on *nix servers
- From: "Lennon, Padraig" <Padraig.Lennon (at) pioneerinvestments.com>
- Date: Fri, 26 Feb 2010 23:00:09 +0100
- References: <4B86FC1E.6090801 (at) robertain.com> <199afa061002251457q7027830cw317f025639ea1f0c (at) mail.gmail.com> <4B8709D0.6090208 (at) robertain.com> <66afa26e85a92283386ee67b996d5777 (at) localhost> <2C83E347AB1EFF45B537039BA8F619FC04876A14 (at) MUN2WSP05011.global.pioneer.com> <53958.91166.qm (at) web58605.mail.re3.yahoo.com> <B7812D74-0249-4186-9DAD-346831A0ACBE (at) gmail.com>
- Thread-index: Acq3LixQjezIwLewRrisLakekZZpqgAAN4FQ
- Thread-topic: [hobbit] Check for mounted drives on *nix servers
Good idea...
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
-----Original Message-----
From: Jerald Sheets [mailto:questy (at) gmail.com]
Sent: 26 February 2010 21:51
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Check for mounted drives on *nix servers
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
>
>
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
"The information in this e-mail and in any attachments is confidential and intended solely
for the attention and use of the named addressee(s). This information may be subject to legal,
professional or other privilege and further distribution of it is strictly prohibited without
our authority. If you are not the intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any part of it, and should notify us
immediately.
This footnote also confirms that this email has been automatically scanned for the presence
of computer viruses, profanities and certain file types."
Pioneer Investment Management Limited.
1 Georgeâs Quay Plaza, Georgeâs Quay, Dublin 2, Ireland.
Registered in Ireland no. 287793.