Hook custom script into notifications system

Nov 27, 2023
190
42
28
Netherlands
daniel-dog.com
Hello everyone,

I have my Proxmox VE host running for a couple of months now and I am really happy with my setup so far.
Now that everything is working as I want, I finally have the time for some fine tuning of some of my processes, scripts and things.

One thing that I would like to do (and like to know if this is possible) is to "plug" my cloud-image update script into the notifications system.
So that after the update script runs it sends out a info notification when it did not need to update (and thus can be filtered out and send a webhook to my monitor) and a warning when it updated the cloud image (to send a "Hey, the cloud-images are updated" to my admin email).

And info on if this is possible and if so, how will be appreciated.