Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 00:41:36 +0100
From:      Vincent Hoffman-Kazlauskas <vince@unsane.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Notification for GMirror failures
Message-ID:  <060d7310-88e0-6c1c-ed94-37a524d3f60a@unsane.co.uk>
In-Reply-To: <e792884d579cd1f2c8d05ff4002ad1a3@schema31.it>
References:  <e792884d579cd1f2c8d05ff4002ad1a3@schema31.it>

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


On 08/05/2018 08:28, Andrea Brancatelli wrote:
> Hi, 
> 
> out of curiosity, does any kind of GMirror-failure notification tools
> exist? 
> 
> Either native... SNMP... external ports... whatever?
> 
If you use nagios (or compatible) net-mgmt/nagios-geom in ports works

root@banshee # /usr/local/libexec/nagios/check_geom mirror gm0
OK mirror/gm0 COMPLETE { ada0s1 (ACTIVE) , ada1s1 (ACTIVE)
}|geom_mirror=2;;;0;
($00:41:05 </usr/local/etc/nrpe.d>$) 0


Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?060d7310-88e0-6c1c-ed94-37a524d3f60a>