一、背景:
为了网络监控方便,搭建了 zabbix 服务器,做在一台虚机上,因为某种原因需要断开网络,使用 if eth1 down 命令关闭了网卡,当再次使用 if eth1 up 启用网卡后,网络正常能 ping 通网关,但 zabbix 服务没有起来
二、解决方法:
1、重启网络状态:
systemctl restart network
2、查看 zabbix 服务,发现是 dead,于是需要重启:
systemctl status zabbix-server
systemctl restart zabbix-server
三、其它:
因为时间也不对了,慢了 10 分钟,所以重新调整下时间:
date -s "+10 minutes"