• delete old install or :

rpm -qa | grep -i zabbi
rpm -e
yum remove -y zabbix-release

  • install

yum install http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
yum clean all
yum install -y zabbix-agent

  • start agent

service zabbix-agent start
chkconfig zabbix-agent on

  • config iptables and selinux

iptables -L -n |grep “10050”
cp /etc/sysconfig/iptables /etc/sysconfig/iptables.orig

iptables -I INPUT -s ZABBIX_IP -p tcp -m tcp –dport 10050 -j ACCEPT
iptables -I INPUT -s ZABBIX_IP -p udp -m udp –dport 10050 -j ACCEPT
iptables -I INPUT -s ZABBIX_IP -p udp -m udp –dport 10050 -j ACCEPT

service iptables save
service iptables restart
iptables -L -n |grep “10050”

setenforce 0
vi /etc/selinux/config = Change SELINUX=disabled

Advertisements