Bartosz Kupidura | 2f70396 | 2017-03-09 12:12:27 +0100 | [diff] [blame] | 1 | applications: |
| 2 | - alertmanager |
| 3 | parameters: |
| 4 | prometheus: |
| 5 | alertmanager: |
| 6 | enabled: true |
| 7 | bind: |
| 8 | address: 0.0.0.0 |
| 9 | port: 9093 |
| 10 | config: |
| 11 | global: |
| 12 | resolve_timeout: 5m |
| 13 | route: |
| 14 | group_by: ['alertname', 'region', 'service'] |
| 15 | group_wait: 60s |
| 16 | group_interval: 5m |
| 17 | repeat_interval: 3h |
| 18 | receiver: HTTP-notification |
| 19 | inhibit_rules: |
| 20 | - source_match: |
| 21 | severity: 'down' |
| 22 | target_match: |
| 23 | severity: 'critical' |
| 24 | equal: ['region', 'service'] |
| 25 | - source_match: |
| 26 | severity: 'down' |
| 27 | target_match: |
| 28 | severity: 'warning' |
| 29 | equal: ['region', 'service'] |
| 30 | - source_match: |
| 31 | severity: 'critical' |
| 32 | target_match: |
| 33 | severity: 'warning' |
| 34 | equal: ['alertname', 'region', 'service'] |
| 35 | receivers: |
| 36 | - name: 'HTTP-notification' |
| 37 | webhook_configs: |
| 38 | - url: http://127.0.0.1 |
| 39 | send_resolved: true |