Install Zabbix Agent on Linux
On zabbix
Note : I'm using zabbix server 1.8,for another version it should be same.
rpm
-Uvh http://repo.zabbix.com/zabbix/1.8/rhel/5/x86_64/zabbix-release-1.8-1.el5.noarch.rpm
for Rhel5
rpm
-Uvh http://repo.zabbix.com/zabbix/1.8/rhel/6/x86_64/zabbix-release-1.8-1.el6.noarch.rpm
for Rhel6
yum
install zabbix zabbix-agent
Edit file with nano /etc/zabbix/zabbix_agent.conf
Our zabbix server use active check configuration
(server doesn’t request data,but agent),so set this :
Server=yourzabbixserverip
ServerActive= yourzabbixserverip
/etc/init.d/zabbix-agent
start
chkconfigzabbix-agent on
-A
INPUT -s agent-ip -p tcp -m state
--state NEW -m tcp --dport 10051 -m comment --comment "linux-host" -j
ACCEPT
Voila its done !
No Comment to " Install Zabbix Agent on Linux "