Re: Systemd email notifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thursday 13 Feb 2014 13:41:21 Damien Churchill wrote:
> You could use unit overrides[0] to add the OnFailure to provided
> units. So should be able to set it up for any service you are
> interested in receiving notifications for, I would assume.

Yes, absolutely, but this only works for a subset of units: it 
wouldn't be practical to override every unit on the system in 
order to monit for failures.  Currently, I have a cron job that runs 
"systemctl --failed" and mails me the output if it's not an empty 
list.  It would be nice to have a more elegant solution than that to 
monitor for unexpected failures.

Paul


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux