thx for the software,I read the health wiki to configurate,but I cannot receive alarm via email.My system is centos 6,I can use command to sendmail ,like this:
mail -s 'test mail' [email protected] </usr/local/test.txt
this is the error log:
/usr/local/netdata/usr/libexec/netdata/plugins.d/alarm-notify.sh: line 471: /usr/sbin: is a directory
2016-11-24 15:46:06: alarm-notify.sh: ERROR: failed to send email notification for: centos1 disk_space._home.disk_space_usage is WARNING to '[email protected]' with error code 126.
my send mail path is:/usr/sbin,and service start,here is my conf:
sendmail path
recipient address:
what's the problem?and is there any conf demo I can refer to?
It needs the full path to the sendmail command, i.e. sendmail="/usr/sbin/sendmail"
. Or leave it empty. It will find it in /usr/sbin
. This is used in cases where multiple MTAs are installed in a system, to allow the admin route the email to the proper MTA.
thx for the reply,really do me a favor,now it works ,thx
ok. nice.
Most helpful comment
It needs the full path to the sendmail command, i.e.
sendmail="/usr/sbin/sendmail"
. Or leave it empty. It will find it in/usr/sbin
. This is used in cases where multiple MTAs are installed in a system, to allow the admin route the email to the proper MTA.