一 修改grafana.ini
~# cat /etc/grafana/grafana.ini
#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.exmail.qq.com:465
user = [email protected]
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = xxxxxxxx
;cert_file =
;key_file =
skip_verify = true
from_address = [email protected]
二 重启grafana服务
~# systemctl restart grafana-server.service
三 设置grafana web
四 验证告警信息