目录
zabbix监控apache告警+自愈
1. 搭建zabbix
https://blog.csdn.net/weixin_45842014/article/details/108723881
2. 创建主机
3. 创建监控项
4. 创建触发器
5. 创建图形
6. 开启消息通知
7. 模拟apache停止恢复
[root@localhost ~]# systemctl stop httpd
[root@localhost ~]# systemctl start httpd
8. 创建动作
9. 设置ssh加速
[root@localhost ~]# vim /etc/ssh/sshd_config
[root@localhost ~]# systemctl restart sshd
[root@localhost ~]# systemctl stop httpd