]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/cephadm/templates/services/alertmanager/alertmanager.yml.j2
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / cephadm / templates / services / alertmanager / alertmanager.yml.j2
1 # {{ cephadm_managed }}
2 # See https://prometheus.io/docs/alerting/configuration/ for documentation.
3
4 global:
5 resolve_timeout: 5m
6
7 route:
8 receiver: 'default'
9 routes:
10 - group_by: ['alertname']
11 group_wait: 10s
12 group_interval: 10s
13 repeat_interval: 1h
14 receiver: 'ceph-dashboard'
15
16 receivers:
17 - name: 'default'
18 webhook_configs:
19 {% for url in default_webhook_urls %}
20 - url: '{{ url }}'
21 {% endfor %}
22 - name: 'ceph-dashboard'
23 webhook_configs:
24 {% for url in dashboard_urls %}
25 - url: '{{ url }}api/prometheus_receiver'
26 {% endfor %}