Title: I am using systemd on my machine and try to configure most things through it. For example, I have a backup job that is triggered by a timer.
I want to know when that job fails so I can investigate and fix it. Over time, I&#x27;ve had multiple solutions for this:<p>Send a notifcation via notify-send<p>Add `systemctl --failed` to my shell startup script<p>Send myself emails<p>None of these are quite ideal. Notifications are disruptive of the current workflow and ephemeral, meaning I might forget about it if I don&#x27;t deal with it immediately.
Similarly, reading `systemctl --failed` on every new terminal is also disruptive but at least it makes me not forget about it.
Both of these are also not really applicable to server systems.
Sending myself emails feels a bit wrong but has so far been the best solution.<p>How are other people solving this? I did some research and I am surprised that there isn&#x27;t a more rounded solution. I&#x27;d expect that pretty much every Linux user must run into this problem.
Upvote: