WebHooks & Python & Discord! Oh My!
So I had a need earlier on today. The need for simple end-user notifications. This need has some backstory, however… The plex container that I run on Docker is basically bulletproof. It does everything super quickly and is easy to restart for updates or to clear out some disk I/O issue with my NAS. The NAS is the only thing that’s really causing it issues because it’s a 5 year old Drobo which is in serious need of an upgrade! So if the Drobo locks up and kills all of the I/O to it, the containers need a reboot. Oddly enough, the Drobo itself doesn’t need a reboot (or even to be remounted) but that’s an investigation for another day. Here, we come to my need: to alert users when the container was ‘down for maintenance.’ ...