feat(grafana): provision disk alerts to ntfy

Provision Grafana Unified Alerting as code: ntfy webhook contact point
(?template=grafana), notification policy tree, and cumulative disk tiers
for HDD temperature (48-60C, <20C) plus ZFS/filesystem capacity. Lower the
smartctl exporter interval to 30m for alert responsiveness.
This commit is contained in:
Clément Désiles
2026-09-18 18:32:02 +02:00
parent c127336321
commit be73f3adfa
8 changed files with 887 additions and 2 deletions
@@ -0,0 +1,15 @@
apiVersion: 1
# Managed by Ansible (roles/grafana). Contains the ntfy access token: mode 0600.
contactPoints:
- orgId: 1
name: ntfy-sys-alerts
receivers:
- uid: ntfy_sys_alerts
type: webhook
disableResolveMessage: false
settings:
url: "{{ grafana_ntfy_webhook_url }}"
httpMethod: POST
authorization_scheme: Bearer
authorization_credentials: "{{ grafana_ntfy_token }}"