535 Ошибка аутентификации при отправке тестового письма в Grafana - PullRequest
0 голосов
/ 20 ноября 2018

Когда я установил оповещение по электронной почте в Графане. Появляется error = "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"
...