4.1 Grafana Email Configuration

What

Use the below method to configure email in Grafana

When/Why

Email must be configured in advance of creating any Alerts.

How

At this time, it involves editing a Grafana ini file.

Custom Grafana ini File
/usr/local/etc/filewave/grafana/conf/filewave.ini

Add the following smtp section, edited to match your credentials, into the above filewave.ini file:

SMTP Default Configuration
#################################### SMTP / Emailing #####################
[smtp]
enabled = false
host = localhost:25
user =
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password =
cert_file =
key_file =
skip_verify = false
from_address = admin@grafana.localhost
from_name = Grafana
ehlo_identity =

[emails]
welcome_email_on_sign_up = false
templates_pattern = emails/*.html

Details on configuring the filewave.ini file may be found at Grafana's Configuration Documentation:

Do not edit entries already created within this file.

Once done, restart the FileWave Server Service:

filewave server restart

From the Web Admin, choose

  • Dashboard > Alerting (Bell Icon) > Notification Channels

select New Channel and add details as desired.  Once done choose Send Test.  You should receive an email.