Paillasse/kolla/config/prometheus/prometheus-alertmanager.yml

19 lines
571 B
YAML
Raw Normal View History

# Remplace le gabarit Kolla par défaut (receveur sans destination). Le relais
# local transforme ce webhook JSON en notification ntfy (voir
# ansible/roles/supervision/templates/alertmanager-ntfy.py.j2). L'URL ntfy
# elle-même reste un secret, lue depuis /root/.alertes-webhook, jamais ici.
global:
resolve_timeout: 5m
route:
receiver: ntfy
group_wait: 10s
group_interval: 5m
repeat_interval: 3h
receivers:
- name: ntfy
webhook_configs:
- url: http://127.0.0.1:9099/alertmanager
send_resolved: true
templates:
- '/etc/prometheus/*.tmpl'