blob: f15cd2c57d583f044dbe71b761cc40d654249364 [file] [log] [blame]
Bartosz Kupidura2f703962017-03-09 12:12:27 +01001prometheus:
2 alertmanager:
3 enabled: true
Martin Polreiche9dc0602017-05-19 14:02:17 +02004 dir:
Bartosz Kupiduraabec2562017-05-17 16:00:52 +02005 config: /srv/volumes/prometheus/alertmanager
6 data: /srv/volumes/local/prometheus/alertmanager
Bartosz Kupidura2f703962017-03-09 12:12:27 +01007 bind:
8 address: 0.0.0.0
9 port: 9093
Martin Polreiche9dc0602017-05-19 14:02:17 +020010 external_port: 15011
Bartosz Kupidura2f703962017-03-09 12:12:27 +010011 config:
12 global:
13 resolve_timeout: 5m
14 route:
15 group_by: ['alertname', 'region', 'service']
16 group_wait: 60s
17 group_interval: 5m
18 repeat_interval: 3h
19 receiver: HTTP-notification
20 inhibit_rules:
21 - source_match:
22 severity: 'down'
23 target_match:
24 severity: 'critical'
25 equal: ['region', 'service']
26 - source_match:
27 severity: 'down'
28 target_match:
29 severity: 'warning'
30 equal: ['region', 'service']
31 - source_match:
32 severity: 'critical'
33 target_match:
34 severity: 'warning'
35 equal: ['alertname', 'region', 'service']
36 receivers:
37 - name: 'HTTP-notification'
38 webhook_configs:
39 - url: http://127.0.0.1
40 send_resolved: true
Konstantin Hontar7b14dea2017-09-13 14:43:46 +030041 - name: 'HTTP-slack'
42 slack_configs:
43 - api_url: http://127.0.0.1/slack
44 send_resolved: true
45 - name: 'smtp'
46 email_configs:
47 - to: test@example.com
48 from: test@example.com
49 smarthost: example.com
50 auth_username: username
51 auth_password: password
52 send_resolved: true
Martin Polreiche9dc0602017-05-19 14:02:17 +020053docker:
54 host:
55 enabled: true
56 experimental: true
57 insecure_registries:
58 - 127.0.0.1
59 log:
60 engine: json-file
Bartosz Kupiduraabec2562017-05-17 16:00:52 +020061 size: 50m