mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 13:37:13 +08:00
feature: add alertmanager function
This commit is contained in:
parent
4cad51b2b7
commit
dbd03a6030
@ -3,7 +3,7 @@ global:
|
|||||||
smtp_from: '18565885972@163.com'
|
smtp_from: '18565885972@163.com'
|
||||||
smtp_smarthost: 'smtp.163.com:465'
|
smtp_smarthost: 'smtp.163.com:465'
|
||||||
smtp_auth_username: '18565885972@163.com'
|
smtp_auth_username: '18565885972@163.com'
|
||||||
smtp_auth_password: 'ZTASKEORBBNKWPRV'
|
smtp_auth_password: 'YOURAUTHPASSWORD'
|
||||||
smtp_require_tls: false
|
smtp_require_tls: false
|
||||||
smtp_hello: 'xxx监控告警'
|
smtp_hello: 'xxx监控告警'
|
||||||
|
|
||||||
@ -21,5 +21,5 @@ receivers:
|
|||||||
email_configs:
|
email_configs:
|
||||||
- to: '2393740379@qq.com'
|
- to: '2393740379@qq.com'
|
||||||
html: '{{ template "email.to.html" . }}'
|
html: '{{ template "email.to.html" . }}'
|
||||||
headers: { Subject: "[WARN]告警" }
|
headers: { Subject: "[OPENIM-SERVER]告警" }
|
||||||
send_resolved: true
|
send_resolved: true
|
||||||
Loading…
x
Reference in New Issue
Block a user