Disable Netdata Email Notification

To disable email notifications from netdata, run

/etc/netdata/edit-config health_alarm_notify.conf

If the above command did not work, you can find the location of config file with the command

find / -name "health_alarm_notify.conf"

It may be in one of the following 2 locatons

/opt/netdata/usr/lib/netdata/conf.d/health_alarm_notify.conf
/usr/lib/netdata/conf.d/health_alarm_notify.conf

You can manually edit the file

Find

SEND_EMAIL="YES"

Replace with

SEND_EMAIL="NO"

If you edit manually, you will need to restart netdata

systemctl restart netdata

By default, it opens using nano, if you want to use vim to edit, select vim as the default editor with

update-alternatives --config editor

Or for one time

export EDITOR=vi

See netdata

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *