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:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user