Disable Netdata Email Notification
To disable email notifications from netdata, run
1 |
/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
1 |
find / -name "health_alarm_notify.conf" |
It may be in one of the following 2 locatons
1 2 |
/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
1 |
SEND_EMAIL="YES" |
Replace with
1 |
SEND_EMAIL="NO" |
If you edit manually, you will need to restart netdata
1 |
systemctl restart netdata |
By default, it opens using nano, if you want to use vim to edit, select vim as the default editor with
1 |
update-alternatives --config editor |
Or for one time
1 |
export EDITOR=vi |
See netdata