[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: Jerald Sheets <questy (at) gmail.com>
- Date: Fri, 26 Feb 2010 16:50:34 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=lBpVfP5yG5n+E79n9ZkY6sxtWAV43TCvHGzIK7uGyL0=; b=f9vU20Qa5KXSRWJSFo7wCtLInw0fabhS0KY4iHok8PnX2sdtwXsF9fICpjF0x4+0DH RSpY8SM+cqu1YyyqBg1RM9Lc803k7WLDYmDZNlfWUcf7PY3qs50VLoKUjh8tZBVUUTps iCUtZWrIdctUguY8CtmrD7iZKtFkLhaa2aaCs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=MbrIxqN6wGFbBKu4o5Bo30zxpOXvtqIogw2tCEK2zIOlz8LVhT8EvqMLsa3W9011Gp 5ayz+mTAN1j2mFFRqJCVeRF7Kb8BEI55pTgHV7i0iLsF0g2iGitD8W3pLchMJVgF8zr7 Svvg/xztqN1Oqqcju41/8jqeH1QjTznXHDzZY=
- 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>
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
>
>