Grafana
POST /{topic}?template=grafana accepts Grafana's webhook JSON (the same URL
form as ntfy's built-in grafana template, ntfy 2.14+). Each alert's
fingerprint becomes external_id; "status": "resolved" resolves it on
every device.
Alerting, Contact points, New, Integration Webhook:
- URL:
https://clrd.itsjustin.me/infra?template=grafana - HTTP method: POST
- Authorization header: scheme
Bearer, credentialsclrd_... - Leave "Disable resolved message" off: the resolved message is what clears it.
Provisioning:
apiVersion: 1
contactPoints:
- orgId: 1
name: clrd
receivers:
- uid: clrd
type: webhook
settings:
url: https://clrd.itsjustin.me/infra?template=grafana
httpMethod: POST
authorization_scheme: Bearer
authorization_credentials: clrd_... # or $__file{/etc/grafana/clrd-token}
Mapping is the same as Alertmanager (Grafana's payload is a
superset): fingerprint to external_id, labels.alertname to title,
annotations.summary (else annotations.description) to message,
generatorURL as the click URL. Priority comes from &priority= on the URL,
default 3.