wazuh邮件告警
邮箱配置
[root@wazuh-manager ~]# yum install -y postfix mailx cyrus-sasl cyrus-sasl-plain
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.163.com
* updates: mirrors.163.com
Package 2:postfix-2.10.1-9.el7.x86_64 already installed and latest version
Package mailx-12.5-19.el7.x86_64 already installed and latest version
Package cyrus-sasl-2.1.26-23.el7.x86_64 already installed and latest version
Package cyrus-sasl-plain-2.1.26-23.el7.x86_64 already installed and latest version
Nothing to do/etc/postfix/main.cf,
#修改
inet_interfaces = all
#最下面添加
relayhost = [smtp.163.com]:25
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtp_sasl_type = cyrus/etc/postfix/sasl_passwd
使用postmap产生数据库文件

告警设置

细粒度告警
https://documentation.wazuh.com/current/user-manual/manager/manual-email-report/index.html
最后更新于
这有帮助吗?