22 lines
324 B
YAML
22 lines
324 B
YAML
|
global:
|
||
|
smtp_smarthost: 'localhost:25'
|
||
|
|
||
|
templates:
|
||
|
- '/etc/alertmanager/template/*.tmpl'
|
||
|
|
||
|
route:
|
||
|
receiver: default
|
||
|
routes:
|
||
|
- match_re:
|
||
|
test: ^[12]$
|
||
|
receiver: test1
|
||
|
continue: true
|
||
|
- match:
|
||
|
test: 2
|
||
|
receiver: test2
|
||
|
|
||
|
receivers:
|
||
|
- name: default
|
||
|
- name: test1
|
||
|
- name: test2
|