26 lines
472 B
YAML
26 lines
472 B
YAML
global:
|
|
resolve_timeout: 5m
|
|
|
|
route:
|
|
receiver: 'default'
|
|
group_by: ['alertname', 'instance']
|
|
group_wait: 30s
|
|
group_interval: 2m
|
|
repeat_interval: 4h
|
|
|
|
routes:
|
|
- receiver: 'n8n-webhook'
|
|
matchers:
|
|
- 'severity="critical"'
|
|
group_wait: 10s
|
|
group_interval: 1m
|
|
repeat_interval: 2h
|
|
|
|
receivers:
|
|
- name: 'default'
|
|
|
|
- name: 'n8n-webhook'
|
|
webhook_configs:
|
|
- url: 'http://<IP>/n8n/webhook/alert'
|
|
send_resolved: true
|