diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 75703c8..2699c52 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -1059,6 +1059,11 @@ class WOStackController(CementBaseController): if not os.path.exists('/etc/netdata'): WOShellExec.cmd_exec(self, "bash /tmp/kickstart.sh " "--dont-wait --no-updates") + WOFileUtils.searchreplace(self, "/usr/lib/netdata/conf.d/" + "health_alarm_notify.conf", + 'SEND_EMAIL="YES"', + 'SEND_EMAIL="NO"') + WOService.restart_service(self, 'netdata') if any('/tmp/memcached.tar.gz' == x[1] for x in packages):