当我在Grafana中设置电子邮件警报时。出现错误=“ 535错误:身份验证失败”。
我的grafana.ini配置如下。
[smtp]
enabled = true
host = smtp.gmail.com:465
user = chendeqin1015@gmail.com
password = *********
;cert_file =
;key_file =
skip_verify = true
from_address = chendeqin1015@gmail.com
from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
[alerting]
# Disable alerting engine & UI features
;enabled = true
execute_alerts = true
发生以下错误。
t=2018-11-20T10:41:17+0800 lvl=info msg="Sending alert notification to" logger=alerting.notifier.email addresses=[329458647@qq.com]
t=2018-11-20T10:41:23+0800 lvl=eror msg="Failed to send alert notification email" logger=alerting.notifier.email error="535 Error: authentication failed"
t=2018-11-20T10:41:23+0800 lvl=eror msg="failed to send notification" logger=alerting.notifier id=0 error="535 Error: authentication failed"