]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
e306af50
TL
1# {{ cephadm_managed }}
2# See https://prometheus.io/docs/alerting/configuration/ for documentation.
3
4global:
5 resolve_timeout: 5m
6
7route:
f6b5b4d7
TL
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
e306af50 16receivers:
f6b5b4d7
TL
17- name: 'default'
18 webhook_configs:
19{% for url in default_webhook_urls %}
20 - url: '{{ url }}'
21{% endfor %}
e306af50
TL
22- name: 'ceph-dashboard'
23 webhook_configs:
24{% for url in dashboard_urls %}
25 - url: '{{ url }}api/prometheus_receiver'
26{% endfor %}