summaryrefslogtreecommitdiffstats
path: root/Prometheus_Alertmanager/alertmanager.yml
blob: 7fe3669b73270a79799b92cadf1ac3c3921bfa10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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