Andy Smith:
> Hi,
> 
> On Wed, Oct 09, 2024 at 08:41:38PM +0200, Franco Martelli wrote:
>> Do you know whether MD is clever enough to send an email to root when it
>> fails the device? Or have I to keep an eye on /proc/mdstat?
> 
> For more than a decade mdadm has shipped with a service that runs in
> monitor mode to do this.
> 
>     https://manpages.debian.org/bookworm/mdadm/mdadm.8.en.html#MONITOR_MODE

And this is configured here:

# grep -B1 MAILADDR /etc/mdadm/mdadm.conf
# instruct the monitoring daemon where to send mail alerts
MAILADDR root

J.
-- 
Hell will have perfume.
[Agree]   [Disagree]
                 <http://archive.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: PGP signature

Reply via email to