grafana邮件告警


一 修改grafana.ini

~# cat /etc/grafana/grafana.ini
#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.exmail.qq.com:465
user = 1304995320@qq.com
# 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 = 1304995320@qq.com

二 重启grafana服务

~# systemctl restart grafana-server.service

三 设置grafana web

四 验证告警信息