Chris Akritidis 1149ce3240 Sanitize headers and htmlstructure (#4713) 6 years ago
..
Makefile.inc e76aac74e6 moved related wiki pages into the repo (#4428) 6 years ago
README.md 1149ce3240 Sanitize headers and htmlstructure (#4713) 6 years ago

README.md

email

You need a working sendmail command for email alerts to work. Almost all MTAs provide a sendmail interface.

netdata sends all emails as user netdata, so make sure your sendmail works for local users.

email notifications look like this:

image

configuration

To edit health_alarm_notify.conf on your system run /etc/netdata/edit-config health_alarm_notify.conf.

You can configure recipients in /etc/netdata/health_alarm_notify.conf.

You can also configure per role recipients in the same file, a few lines below.

Changes to this file do not require netdata restart.

You can test your configuration by issuing the commands:

# become user netdata
sudo su -s /bin/bash netdata

# send a test alarm
/usr/libexec/netdata/plugins.d/alarm-notify.sh test [ROLE]

Where [ROLE] is the role you want to test. The default (if you don't give a [ROLE]) is sysadmin.