alertmanager.yml.j2 971 Bytes
Newer Older
1
2
global:
  resolve_timeout: 5m
3
  smtp_smarthost: 'mail.archlinux.org:465'
4
  smtp_from: 'alertmanager@archlinux.org'
5
  smtp_require_tls: false
6
7
8
9
10
11
12
  smtp_auth_username: alertmanager
  smtp_auth_password: {{ vault_monitoring_alertmanager_smtp_pass }}

route:
  group_by: ['instance', 'severity']
  group_wait: 30s
  group_interval: 5m
13
  repeat_interval: 24h
14
15
16
17
18
  receiver: 'default-receiver'
  routes:
  - receiver: 'rebuilderd'
    match_re:
      service: rebuilderd
19
20
21
22
23
  - group_wait: 4h
    group_interval: 2h
    group_by: ['service']
    match:
      service: pacman
24
25

receivers:
26
  - name: 'default-receiver'
27
28
    email_configs:
      - to: 'alerts@archlinux.org'
29
30
31
32
33
    webhook_configs:
    - http_config:
        bearer_token: {{ vault_monitoring_alertmanager_webhook_bearer_token }}
      send_resolved: true
      url: https://gitlab.archlinux.org/archlinux/infrastructure/prometheus/alerts/notify.json
34
35
36
  - name: 'rebuilderd'
    email_configs:
      - to: 'jelle@archlinux.org'