Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 15:42:33 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Peter Steele <psteele@webmail.maxiscale.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to detect when gmirror sync is complete?
Message-ID:  <4ad871310905271242q2479cc6dg93b6aba703f4e22d@mail.gmail.com>
In-Reply-To: <B8A480488C0C6849826655761349EA4338D3@owa.webmail.maxiscale.com>
References:  <AcneQUnP09pR0/FnTLmq4d2VI60s2g==> <B8A480488C0C6849826655761349EA4338D3@owa.webmail.maxiscale.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Peter

On Tue, May 26, 2009 at 4:33 PM, Peter Steele
<psteele@webmail.maxiscale.com> wrote:
> I know I could have a script that continually checks "gmirror status" to
> detect when a gmirror synchronization has completed, but is there a more
> event-driven approach? Something that could be used to trigger and event
> like devd does for drive pulls/inserts would be nice. Is this possible?
>
>

If, by chance you use Nagios, there is the net-mgmt/nagios-geom-1.3
port that detects degraded arrays and (as with the rest of Nagios
tools) will auto-alert when there is a problem (and when the problem
has recovered).

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310905271242q2479cc6dg93b6aba703f4e22d>