Shoutrrr and ntfy.sh would be welcome additions to the list of alert services. They are free to use and ntfy would allow for push notifications. I’m currently using shoutrrr in ddns-updater to push alerts to ntfy.shand it would be great to use for system alerts.
You can use the Slack option and paste the https://ntfy.sh/topic
URL in the “Webhook URL” field. Notifications will show up as {"text": "TrueNAS @ truenas \n \nThis is a test alert\n\n"}
. A bit ugly but works.
Thanks for that. Your right. A little messy but it works
But I also think it’ll be nice if we can support ntfy (and possibly other services that use webhook and expect plaintext instead of {"text": "..."}
). (upvoted)
Better yet, try using this as your Slack webhook URL: https://ntfy.sh/topic?tpl=yes&t={{.text}}&md=yes
.
See all things you can do with query parameters here: Sending messages - ntfy