-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Using a general webhook for alerting
There are a number of services for notifications and simple alerting; some of the more popular ones: ntfy and gotify, but also services as Mattermost and MS teams have plugins/APIs where you can send messages via a webhook.
NAV already has a specialized alert for Slack.
For some services as ntfy and gotify can replace SMS.
Preferred solution
A general webhook where you provide method (POST/PUT/GET), URL, headers, body and authentication-secrets.
Body should be freetext and have some sort of easy substitution to insert alert severity, devicename and so on.
As an example the webhook implemented in Proxmox is quite nice and gives the ability to fully format messages to a MS teams or Mattermost channel (found under Datacenter -> Notification on any recent Proxmox installation).
Description: https://pve.proxmox.com/pve-docs/chapter-notifications.html
Zabbix have the same functionality, but have a more complicated templating-system and can be a bit more tedious to set up (found under Administration -> Media types).