alertmanager/cli/testdata/conf.routing.yml
Martin Chodur 5d222bce55 feat: added routing tools to amtool (#1511)
Signed-off-by: Martin Chodur <m.chodur@seznam.cz>
2018-08-22 16:41:09 +02:00

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