...

Text file src/github.com/prometheus/alertmanager/examples/ha/alertmanager.yml

Documentation: github.com/prometheus/alertmanager/examples/ha

     1route:
     2  group_by: ['alertname']
     3  group_wait: 30s
     4  group_interval: 5m
     5  repeat_interval: 1h
     6  receiver: 'web.hook'
     7receivers:
     8  - name: 'web.hook'
     9    webhook_configs:
    10      - url: 'http://127.0.0.1:5001/'
    11inhibit_rules:
    12  - source_match:
    13      severity: 'critical'
    14    target_match:
    15      severity: 'warning'
    16    equal: ['alertname', 'dev', 'instance']

View as plain text