setup ntfy
ntfy is on apple store and play store
Basically it's an app which subscribes to a channel with a name. messages can be send to the channel with GET requests. So curl
in a simple script is essentially all you need on a system for notifications of all kind.
Details see here.
mdadm
- add line with
PROGRAM
to your existing mdadm config, usually in/etc/mdadm/mdadm.cfg
- place
mdadm-notify.sh
in a folder specified in the config, eg. /usr/local/bin - make the script executable, with eg.
chmod +x /usr/local/bin/mdadm-notiy.sh
Description
Languages
Shell
100%