luoyb
2021-02-02 a6c5984b2347a368e4e9ea7dbfdb95d199d6d4f4
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