Notification for GMirror failures
Vincent Hoffman-Kazlauskas
vince at unsane.co.uk
Tue May 8 23:41:39 UTC 2018
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 at 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
More information about the freebsd-stable
mailing list