alertmanager/examples/ha/alertmanager.yml

20 lines
380 B
YAML
Raw Normal View History

2016-08-31 10:02:16 +00:00
global:
2016-09-09 12:48:35 +00:00
resolve_timeout: 5m
2016-08-31 10:02:16 +00:00
route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
2016-08-31 10:02:16 +00:00
repeat_interval: 1h
receiver: 'web.hook'
2016-08-31 10:02:16 +00:00
receivers:
- name: 'web.hook'
2016-08-31 10:02:16 +00:00
webhook_configs:
- url: 'http://127.0.0.1:5001/'
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'dev', 'instance']