Install and Enable EPEL Repo:
yum -y install epel-release
This installs files in /etc/yum.repos.d/ and enables the epel repository by default.
On some servers, leaving EPEL enabled may not be in keeping with best practices to keep as close to the distribution rpm set as possible, so you can set the EPEL repository to be disabled by default.
perl -npi -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
Installing Zabbix Agent
yum -y install zabbix20-agent
or if you have EPEL disabled:
yum --enablerepo=epel -y install zabbix20-agent
Configure Zabbix Agent to use monitor-pdc.rice.edu (10.143.195.18)
sed -i -e 's/Server=127.0.0.1/Server=10.143.195.18/' /etc/zabbix/zabbix_agentd.conf sed -i -e "s/Hostname=Zabbix\ server/\#Hostname=$(hostname)/" /etc/zabbix/zabbix_agentd.conf
Start Service and Check Status
/sbin/chkconfig zabbix-agent on /sbin/service zabbix-agent start /sbin/service zabbix-agent status
Verify IPTABLES for Zabbix connections
Be sure /etc/sysconfig/iptables is updated to accept connections on port 10050, from monitor-pdc.rice.edu (10.143.195.18). MDI systems should already have this.
A simple example is below:
-A INPUT -p tcp -m tcp --dport 10050 -s 10.143.195.18/32 -j ACCEPT