zabbix 安装包下载地址 https://www.zabbix.com/download
解压好之后进入zabbix目录
执行编译安装
./configure --prefix=/usr/local/zabbix_agent --enable-agent
make install
cp misc/init.d/fedora/core/zabbix_agentd /etc/init.d/
sed -i 's#BASEDIR=/usr/local#BASEDIR=/usr/local/zabbix_agent#' /etc/init.d/zabbix_agentd
vim /usr/local/zabbix_agent/etc/zabbix_agentd.conf
service zabbix_agentd start
chkconfig --add zabbix_agentd
chkconfig --level 35 zabbix_agentd on