luoyb
2022-03-13 d014a10a4e597718375c0964f0394babb3eae7d7
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