953510a4d8
Change-Id: Ie86bb95ab7bf37291347ca4533fe20bbd95484e1
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
applications:
|
|
- alertmanager
|
|
parameters:
|
|
prometheus:
|
|
alertmanager:
|
|
enabled: true
|
|
bind:
|
|
address: 0.0.0.0
|
|
port: 9093
|
|
config:
|
|
global:
|
|
resolve_timeout: 5m
|
|
route:
|
|
group_by: ['region', 'service']
|
|
group_wait: 60s
|
|
group_interval: 5m
|
|
repeat_interval: 3h
|
|
receiver: HTTP-notification
|
|
inhibit_rule:
|
|
InhibitCriticalWhenDown:
|
|
enabled: true
|
|
source_match:
|
|
severity: 'down'
|
|
target_match:
|
|
severity: 'critical'
|
|
equal: ['region', 'service']
|
|
InhibitWarningWhenDown:
|
|
enabled: true
|
|
source_match:
|
|
severity: 'down'
|
|
target_match:
|
|
severity: 'warning'
|
|
equal: ['region', 'service']
|
|
InhibitWarningWhenCritical:
|
|
enabled: true
|
|
source_match:
|
|
severity: 'critical'
|
|
target_match:
|
|
severity: 'warning'
|
|
equal: ['alertname', 'region', 'service']
|
|
receiver:
|
|
HTTP-notification:
|
|
enabled: true
|
|
webhook_configs:
|
|
localhost:
|
|
url: http://127.0.0.1
|
|
send_resolved: true
|