Download
Http://www.zabbix.com/downloads/2.2.1/zabbix_agents_2.2.1.linux2_6_23.i386.tar.gz
All agent versions Download: http://www.zabbix.com/download2.php
Installation
1 ) Create a user
#groupadd Zabbix
#Useradd-g Zabbix Zabbix
2 ) decompression can
# mkdir/etc/zabbix_agent
#TAR-ZXVF zabbix_agents_2.2.1.linux2_6_23.i386.tar.gz-c / etc/zabbix _agent
3 ) Installation Services
Cat/etc/services |grep zabbix*
Zabbix-agent 10050/tcp Zabbix Agent
Zabbix-agent 10050/UDP Zabbix Agent
Zabbix-trapper 10051/tcp Zabbix Trapper
Zabbix-trapper 10051/udp Zabbix Trapper
4 ) Modify the configuration file
v I m / etc/ zabbix_agent/conf/zabbix_agent.conf
Modify IP for Zabbix server
server=192.168.30.145 #server -side IP address , please modify
5 ) Start
zabbix_agent /sbin/zabbix_agentd -c etc/
Echo "etc/zabbix_agent/sbin/zabbix_agentd-c etc/zabbix_agent/conf/ zabbix_agentd.conf ">>/etc/rc.local
6 ) added to the system directory
ln-s/ etc /zabbix_agent/sbin/*/usr/local/sbin/
ln-s/ etc /zabbix_agent/bin/*/usr/local/bin/
7 ) test, the following command needs to be executed on the server side, where 192.168.30.145 is the IP of the agent
# /usr/local/zabbix/bin/zabbix_get-s192.168.30.145-p10050-k "System.uptime"
115030
This article is from the "Healer" blog, make sure to keep this source http://zlyang.blog.51cto.com/1196234/1685665
CentOS 6.5 Installation Deployment Zabbix (Agent client chapter)