目录
安装
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum -y install zabbix-agent
启动
systemctl start zabbix-agent
开机自启动
systemctl enable zabbix-agent
修改配置(修改后重启zabbix-agent生效)
vim /etc/zabbix/zabbix_agentd.conf
配置文件(/etc/zabbix/zabbix_agentd.conf)内容示例:
Server=192.168.168.24
ServerActive=192.168.168.24
Hostname=192.168.168.32
重启
systemctl restart zabbix-agent
查看客户端日志
tail -200f /var/log/zabbix/zabbix_agentd.log