ntfy (ntfy.sh) integration for Alertmanager. Available as a binary or as a Docker image.
NTFY_SERVER: ntfy server (e.g https://ntfy.sh)
NTFY_TOPIC: ntfy topic to send alerts to
NTFY_USERNAME: Optional, basic auth username
NTFY_PASSWORD: Optional, basic auth password
NTFY_TOKEN: Optional, access token
NTFY_LABELS: Labels to include (Comma separated, defaults to "alertname,severity,instance")
NTFY_ANNOTATIONS: Annotations to include (Comma separated, defaults to "summary,description")
NTFY_DEFAULT_PRIORITY: Regular ntfy notification priority (Integer. Defaults to 3, see more: https://docs.ntfy.sh/publish/#message-priority)
NTFY_FIRING_PRIORITY: ntfy notification priority for firing alerts (Integer. Defaults to 4)
NTFY_RESOLVED_PRIORITY: ntfy notification priority for resolved alerts (Integer. Defaults to 2)
Title template is located at /app/title_template.tmpl (Defaults to "{{.Status}}] {{.Labels.alertname}}")
Message template is located at /app/message_template.tmpl (Defaults to "{if .Labels.severity}}Severity: {{.Labels.severity}}{{end}}{{if .Annotations.summary}}{{.Annotations.summary}}{{end}}{{if .Annotations.description}}{{.Annotations.description}}{{end}}")
If one or both of the template files are not provided, or an empty one is provided, it will use the defaults.
I'm pretty novice with golang so if something doesn't make sense, please let me know. I appreciate any feedback!