一:系统要求
1.centos 7
2.zabbix服务器端5.0版本
二:安转和配置zabbix
1.安装zabbix存储库
# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm # yum clean all
2.安装zabbix代理
# yum install zabbix-agent
3.启动zabbix agent进程
启动zabbix代理进程并使其在系统启动时启动。
# systemctl restart zabbix-agent # systemctl enable zabbix-agent
三:修改zabbix-agent配置文件
# vim /etc/zabbix/zabbix_agentd.conf Server="ZabbixServerIP" ServerActive="ZabbixServerIP" Hostname="本机主机名,在zabbix-web端配置主机时需要填写”
重启服务:标签:5.0,ZabbixServerIP,agent,CentOS7,zabbix,systemctl,安装 From: https://www.cnblogs.com/bluth/p/17295681.html
# systemctl restart zabbix-agent