Updating settings to allow Grafana email alerts #267
-
Sorry for what's probably a basic question, but I'm hoping to update my current install to be able to send Grafana's email alerts.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @jeffkruczynski !
Yes, that is correct. The # Uncomment and configure for mail relay for alert notifications
GF_SMTP_ENABLED=true
GF_SMTP_HOST=smtp-mail.outlook.com:587
GF_SMTP_USER=user@outlook.com
GF_SMTP_FROM_ADDRESS=user@outlook.com
GF_SMTP_PASSWORD=generatedapppassword
You will need to stop, remove and rebuild the container: docker stop grafana
docker rm grafana
./compose-dash.sh up -d |
Beta Was this translation helpful? Give feedback.
Correct. Your data is in influxdb so it isn't impacted by this change. Also, as long as you don't remove the grafana directory, it will retain all the settings of Grafana, including the dashboard.
Also, forgot that compose would monitor the state of
grafana.env
so you don't need to stop or remove the container, compose will do that for you. So, just edit thegrafana.env
file and run:Should see: