You need a working
sendmail command for email alerts to work. Almost all MTAs provide a
Netdata sends all emails as user
netdata, so make sure your
sendmail works for local users.
email notifications look like this:
health_alarm_notify.conf on your system run
You can configure recipients in
You can also configure per role recipients in the same file, a few lines below.
Changes to this file do not require a Netdata restart.
You can test your configuration by issuing the commands:
[ROLE] is the role you want to test. The default (if you don't give a
Note that in versions before 1.16, the plugins.d directory may be installed in a different location in certain OSs (e.g. under
You can always find the location of the alarm-notify.sh script in
Simple SMTP transport configuration
If you want an alternative to
sendmail in order to have a simple MTA configuration for sending emails and auth to an existing SMTP server, you can do the following:
- Modify the
health_alarm_notify.confto point to the location of
- Login as netdata :
~/.msmtprcas shown in the documentation.
- Finaly set the appropriate permissions on the