- 添加第三方源进行安装
CentOS/RHEL 7:
# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/7/x86_64/zabbix-release-2.2-1.el7.noarch.rpm
CentOS/RHEL 6:
# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
CentOS/RHEL 5:
# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/5/x86_64/zabbix-release-2.2-1.el5.noarch.rpm - 安装Zabbix Agent
yum -y install zabbix zabbix-agent - 修改zabbix Agent配置
vi /etc/zabbix/zabbix_agentd.conf
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname= server 1
Server 和 ServerActive 都指定 zabbixserver 的 IP 地址
客户机需开启10050端口 - 重启zabbix agent 服务
service zabbix-agent restart
时间: 2024-10-15 06:58:28