Date: Wed, 9 May 2018 09:11:02 +0200 From: Andrea Venturoli <ml@netfence.it> To: freebsd-stable@freebsd.org Subject: Re: Notification for GMirror failures Message-ID: <e2c614ba-8b60-02c4-7f89-f03eab487de9@netfence.it> In-Reply-To: <CALeGphzp3JzGUZnPrghhkT84WwNUHof5U62q_qykTY%2Btc16x1g@mail.gmail.com> References: <e792884d579cd1f2c8d05ff4002ad1a3@schema31.it> <060d7310-88e0-6c1c-ed94-37a524d3f60a@unsane.co.uk> <CALeGphzp3JzGUZnPrghhkT84WwNUHof5U62q_qykTY%2Btc16x1g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/09/18 01:51, Jack L. wrote: > I use crontab @daily (/sbin/gmirror status | grep -q COMPLETE) || mail > -s "gmirror failure" email addy Or you could simply add the following to /etc/periodic.conf[.local]: daily_status_gmirror_enable="YES" bye av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2c614ba-8b60-02c4-7f89-f03eab487de9>