luoyb
2021-01-31 d9a1c41b0adb5ca2263348e1cc4e8b7bbdafc35d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
global:
  smtp_smarthost: 'smtp.126.com:465'
  smtp_from: 'wuyouzhuguli@126.com'
  smtp_auth_username: 'wuyouzhuguli'
  smtp_auth_password: 'xxxxx'
  smtp_require_tls: false
 
#templates:
#  - '/alertmanager/template/*.tmpl'
 
route:
  group_by: ['alertname']
  group_wait: 10s
  group_interval: 5m
  repeat_interval: 5m
  receiver: 'default-receiver'
 
receivers:
  - name: 'default-receiver'
    email_configs:
      - to: '852252810@qq.com'
        send_resolved: true