Skip to main content

4.1 Grafana Email Configuration

What

Use this process to enable SMTP for Grafana so alert notifications can be sent by email.

When/Why

Configure email before you create or test alert notifications.

How

Edit the Grafana configuration file on the FileWave Server:

/usr/local/etc/filewave/grafana/conf/filewave.ini

Add or update the [smtp] section with your mail server details. Set enabled = true so Grafana can actually send mail.

[smtp]
enabled = true
host = smtp.example.com:587
user = smtp-user
# If the password contains # or ; wrap it in triple quotes, for example """#password;"""
password = """smtp-password"""
skip_verify = false
from_address = alerts@example.com
from_name = FileWave Grafana
ehlo_identity =

Leave the existing FileWave-specific settings in place, and only change the SMTP values you need.

For the full list of available SMTP options, see Grafana's configuration documentation.

After saving the file, restart the FileWave Server so Grafana reloads the configuration:

sudo fwcontrol server restart

Then open Grafana, go to the Alerting section, choose Contact points, create or edit an Email contact point, and send a test notification.