部署 zabbix的客户端 zabbix-agent
安装之后zabbix-server,在web界面可以添加主机到zabbix-server
zabbix-server:192.168.236.128(master)
zabbix-agent:192.168.236.130(node1)
1.agent安装zabbix-agent:
node1 ~]# yum install zabbix-agent -y (可在官网配置rpm源)
2.修改agent配置文件,将Server ServerActive 的IP地址更改为server端的IP
[root@node1 ~]# grep -v "#" /etc/zabbix/zabbix_agentd.conf | sort | uniq DenyKey=system.run[*] Hostname=Zabbix server Include=/etc/zabbix/zabbix_agentd.d/*.conf LogFileSize=0 LogFile=/var/log/zabbix/zabbix_agentd.log PidFile=/var/run/zabbix/zabbix_agentd.pid Server=192.168.236.128 ServerActive=192.168.236.128
重启
node1 ~]# systemctl restart zabbix-agent