編輯「vi /usr/share/grafana/conf/defaults.ini」
############### SMTP / Emailing ############
PS「user」與「from_address」要一相同「E-mail」。
[smtp]
enabled = true
host = smtp.163.com:25
user = 123@163.com
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
password = abc114
;cert_file =
;key_file =
;skip_verify = false
from_address = 123@163.com
from_name = Grafana
[emails]
;welcome_email_on_sign_up = false
templates_pattern = emails/*.html
##################
;重新啟動「Grafana」
sudo systemctl restart grafana-server
;檢查「LOG」E-mail 配置「訊息」
/var/log/grafana/grafana.log
接下來配置「Grafana Web UI」
點選「Alert List」
點選「Configure Notifications」
點選「New Channel」
設定「E-mail」收件人