docker-autoheal icon indicating copy to clipboard operation
docker-autoheal copied to clipboard

How to send notifications to discord

Open frankvp11 opened this issue 2 years ago • 2 comments

I'd like to have the autoheal image send notifications to discord, however im not to sure on how, as there doesn't appear to be any documentation on this subject. I was able to get the webhook url from discord, however what do I do then? whenver I run the container (and one goes unhealthy) it gives me the following output in the terminal :

temp2-autoheal-1    | {"message": "Cannot send an empty message", "code": 50006}28-07-2023 13:56:44 Container /temp2-my_service-1 (df2a3b117f01) found to be unhealthy - Restarting container now with 10s timeout

How do I actually send a message?

frankvp11 avatar Jul 28 '23 14:07 frankvp11

I was just wondering that too...

strausmann avatar Sep 16 '23 14:09 strausmann

I was just wondering that too...

https://github.com/willfarrell/docker-autoheal/issues/137#issuecomment-3587608562

danktankk avatar Nov 28 '25 00:11 danktankk