[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Partition Monitoring
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Partition Monitoring
- From: Jerald Sheets <questy (at) gmail.com>
- Date: Mon, 18 Oct 2010 13:29:20 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=IhoayTlvF7l/VMbTsWSba6hOGj5AEMGftGgz+l5kLJ4=; b=kpkaXBLwm0encHYtKrCIs9RpjwRKI7kMTuxuCn7L/A2F9xnz4kO+RlA3aEbjTTTiX/ NJuHtqMxhvCGZS8QTA4l2nGk8E0IegtezjJk0DAZx45FYXuOt0ug7Pi/Xm+/rlITcNh5 0ES3eHWhJjyZPdqA3oDW9XZ1xRVrkxH5d6VVA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=PWjOzyIPniceM6tWaaLmMdpHujqf19ci81wckPcYb3Ya5BIxwrD0JYUkNx1RPH+OIx zLiwUAgYIT6E0rpmFRGAJhcA39yScmbPIPKMBHkxlj5tt1ynMsX0ldSGP1eY1p9dqxEP bnpFG8vqAcWKq3mTB3l8AwyoiKR37W+82Hi4U=
- References: <AANLkTim8ScYyOPJu3u2d=Yy2Vd05rCMEh1=ccvJUhemT (at) mail.gmail.com> <1287418781.11596.11.camel (at) mcdonalddj-dc.austin-energy.net>,<4CBC814B.9050800 (at) us.army.mil> <BAY145-w32BCEFE8B63878DB91BCC5CF5A0 (at) phx.gbl>
put a file in the root:
.isMounted
It can even be empty. Then, monitor for the existence of that file. If it goes away, so has your mount.
--j
On Oct 18, 2010, at 1:25 PM, <isolderj (at) hotmail.com> <isolderj (at) hotmail.com> wrote:
> i would like to know if partitions are actually being monitored. they won't be in the fstab. is there a way to test is a certain partition i specify is mounted and if not bring up an alert on xymon to say it can't access the partition.
>
> James