1,被监控端需要安装agent,并修改配置文件。
#下载agent安装包wget https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.11-1.el7.x86_64.rpm#安装rpm -ivh zabbix-agent-4.0.11-1.el7.x86_64.rpm#修改配置文件vim /etc/zabbix/zabbix_agentd.confServer=10.0.0.66 #修改为zabbixserver端ipsystemctl start zabbix-agentsystemctl enable zabbix-agent
2,在web上配置监控主机
zabbix机制,我们在web端的操作会写入数据库,而server端每60秒读取数据库,导致信息同步不是很慢,我们可以通过重启server端,让server端重新读取数据库数据。




