centos7 安装 zabbix-agent

1.添加源库
rpm -ivh https://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm

2.安装
yum -y install zabbix-agent zabbix-sender

3.添加开机启动
chkconfig zabbix-agent on

4.修改配置文件
[root@localhost zabbix]# pwd
/etc/zabbix
vim zabbix_agentd.conf
Server=192.168.65.1 #zabbix server

5.重启zabbbix-agent
systemctl restart zabbix-agent.service

参考文献
https://www.zabbix.com/documentation/3.0/manual/installation/install_from_packages/agent_installation

你可能感兴趣的:(zabbix)