Georg 4bd9e36ff4
Mass Commit 06/08/2021
Signed-off-by: Georg <georg@lysergic.dev>
2021-08-06 17:42:45 +02:00

58 lines
1.3 KiB
YAML

global:
resolve_timeout: 5m
route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 1h
receiver: 'smtp-local'
routes:
- receiver: 'irc-tripsit'
match:
project: TRIPSIT
- receiver: 'mayday-tripsit'
match:
project: tripsit-critical
- receiver: 'lysergic'
continue: true
match:
project: LYSERGIC
receivers:
- name: 'smtp-local'
email_configs:
- to: '$MAIL_SYSTEM'
from: '$MAIL_ALERTMANAGER'
require_tls: false
smarthost: '$SMTPHOST'
send_resolved: yes
- name: 'irc-tripsit'
webhook_configs:
- url: 'http://127.0.0.1:2420/_systems'
send_resolved: yes
- name: 'mayday-tripsit'
webhook_configs:
- url: 'http://127.0.0.1:2420/tripsit-dev'
email_configs:
- to: '$MAIL_SYSTEM'
from: '$MAIL_ALERTMANAGER'
require_tls: false
smarthost: '127.0.0.1:25'
send_resolved: yes
- name: 'irc-libertacasa'
webhook_configs:
- url: 'http://127.0.0.1:2410/universe'
send_resolved: yes
- name: 'lysergic'
webhook_configs:
- url: 'http://127.0.0.1:2410/universe'
send_resolved: yes
- url: http://127.0.0.2:8081/prometheus/webhook
send_resolved: yes
email_configs:
- to: '$MAIL_SYSTEM'
from: '$MAIL_ALERTMANAGER'
require_tls: false
smarthost: '127.0.0.1:25'
send_resolved: yes