Hello, I am having trouble setting up the mail notification in Grafana. I am not quite fit in the topic yet, please excuse that.
I have installed grafana, prometheus according to the following instructions:
I am now trying to test the mail notifications, but always get an error that the grafana.ini needs to be edited. I have entered the following for smtp:
[smtp]
enabled = true
host = MAILSERVER.SERVERHOST:25
user = testing@MYDOMAIN.eu #If the password contains # or ; you have to wrap it with triple quotes. Ex āāā#password;āāā
password = Testing123!
;cert_file =
;key_file =
skip_verify = true
from_address = testing@MYDOMAIN.eu
from_name = Gandalf Grafana #EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com #SMTP startTLS policy (defaults to āOpportunisticStartTLSā)
;startTLS_policy = NoStartTLS
But unfortunately this does not work, can you help me?
I can also find the grafana.ini inside the container, how can I edit it?
Yes, iĀ“ve restarted the Container.
I just found a grafana.ini file inside the container under /etc/grafana/, but I am unsure how to include it under volumes so I can edit it.
Ok, I will redeploy grafana and try again. The alert function would be very important to me, is the alert manager absolutely necessary for this? But maybe this is the wrong forum for this question.
Sorry for my bad language and naivety. But Iām trying to learn the ropes.
Thanks for your help. Now, iĀ“ve edited the envirement Settings with the SMTP data, and now i get Mails.
But unfortunately the links inside the message route to ālocalhostā, i would like to link this to an ip address. in grafana.ini i changed the domain=IPADDRESS, but that didnāt work, still localhost. Is there another place to change the address?