rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/5/i386/zabbix-release-2.0-1.el5.noarch.rpm
rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/5/i386/zabbix-2.0.12-1.el5.i386.rpm
rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/5/i386/zabbix-agent-2.0.12-1.el5.i386.rpm
Add Zabbix agent to services:
echo -e "zabbix\t\t10050/tcp\t\t\t#Zabbix-Agent" >> /etc/services
Enable the traffic (iptables rule)
lokkit
- customize
- other services: zabbix:tcp
Check whether the traffic is already enabled:
iptables-save | grep 10050
Set the Zabbix server IP/DNS:
sed -i 's/Server=127.0.0.1/Server=monserver/' /etc/zabbix/zabbix_agentd.conf
Restart the agent:
/etc/init.d/zabbix-agent restart
Done