2023-04-17 10:58:00 +02:00
|
|
|
global:
|
|
|
|
resolve_timeout: 5m
|
|
|
|
|
|
|
|
route:
|
|
|
|
group_by: ['alertname']
|
2023-04-17 23:18:14 +02:00
|
|
|
group_wait: 5s
|
2023-04-17 10:58:00 +02:00
|
|
|
group_interval: 5m
|
2023-04-17 20:57:03 +02:00
|
|
|
repeat_interval: 1h
|
2023-04-17 17:14:33 +02:00
|
|
|
receiver: 'matrix-monitoring'
|
2023-04-17 11:36:06 +02:00
|
|
|
routes:
|
2023-04-17 21:02:37 +02:00
|
|
|
- receiver: 'hcio'
|
|
|
|
repeat_interval: 1h
|
2023-04-17 11:36:06 +02:00
|
|
|
matchers:
|
|
|
|
- alertname="PrometheusAlertmanagerE2eDeadManSwitch"
|
2023-04-18 23:27:37 +02:00
|
|
|
- receiver: 'email'
|
|
|
|
group_interval: 1m
|
|
|
|
matchers:
|
2023-04-19 00:25:23 +02:00
|
|
|
- job="matrix_synapse_1"
|
|
|
|
- receiver: 'matrix-monitoring'
|
|
|
|
group_wait: 30s
|
|
|
|
group_interval: 1h
|
|
|
|
matchers:
|
|
|
|
- alertname="PrometheusAllTargetsMissing"
|
|
|
|
- receiver: 'matrix-monitoring'
|
|
|
|
group_wait: 30s
|
|
|
|
group_interval: 1h
|
|
|
|
matchers:
|
|
|
|
- alertname="PrometheusTargetMissing"
|
|
|
|
|
2023-04-17 10:58:00 +02:00
|
|
|
|
|
|
|
receivers:
|
|
|
|
- name: 'email'
|
|
|
|
email_configs:
|
2024-01-09 23:31:44 +01:00
|
|
|
- to: '{{ mimir.alertmanager.smtp.target }}'
|
|
|
|
from: '"Alertmanager" <{{ mimir.alertmanager.smtp.username }}>'
|
2023-04-17 17:14:33 +02:00
|
|
|
smarthost: 'mxe8cf.netcup.net:587'
|
2024-01-09 23:31:44 +01:00
|
|
|
auth_username: '{{ mimir.alertmanager.smtp.username }}'
|
|
|
|
auth_identity: '{{ mimir.alertmanager.smtp.username }}'
|
|
|
|
auth_password: '{{ mimir.alertmanager.smtp.password }}'
|
2023-04-17 21:02:37 +02:00
|
|
|
- name: 'hcio'
|
|
|
|
email_configs:
|
2024-01-09 23:31:44 +01:00
|
|
|
- to: '{{ mimir.alertmanager.hcio.mail }}'
|
|
|
|
from: '"Alertmanager" <{{ mimir.alertmanager.smtp.username }}>'
|
2023-04-17 21:02:37 +02:00
|
|
|
smarthost: 'mxe8cf.netcup.net:587'
|
2024-01-09 23:31:44 +01:00
|
|
|
auth_username: '{{ mimir.alertmanager.smtp.username }}'
|
|
|
|
auth_identity: '{{ mimir.alertmanager.smtp.username }}'
|
|
|
|
auth_password: '{{ mimir.alertmanager.smtp.password }}'
|
2023-04-17 17:14:33 +02:00
|
|
|
- name: 'matrix-monitoring'
|
2023-04-17 11:36:06 +02:00
|
|
|
webhook_configs:
|
2024-01-09 23:31:44 +01:00
|
|
|
- url: 'http://alertmanager-matrix:3000/alerts?secret={{ mimir.alertmanager.matrix.alertmanager_token }}'
|