zabbix web 界面
配置邮箱报警
yum -y install postfix
[root@wxy ~]# systemctl enable --now postfix.service
Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /usr/lib/systemd/system/postfix.service.
[root@wxy ~]# ss -antl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 100 127.0.0.1:25 0.0.0.0:*
测试
[root@agent tmp]# echo "luohuan" > /tmp/wxy