Step 1: Add Required Repository
Before installing Zabbix Agent first configure zabbix zone rpm repository using following commands as per your required version and operating system.
Zabbix 2.2:-
- Código: Selecionar todos
- CentOS/RHEL 6:
 # rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
 CentOS/RHEL 5:
 # rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/5/x86_64/zabbix-release-2.2-1.el5.noarch.rpm
- Código: Selecionar todos
- CentOS/RHEL 6:
 # rpm -Uvh http://repo.zabbix.com/zabbix/2.0/rhel/6/x86_64/zabbix-release-2.0-1.el6.noarch.rpm
 CentOS/RHEL 5:
 # rpm -Uvh http://repo.zabbix.com/zabbix/2.0/rhel/5/x86_64/zabbix-release-2.0-1.el5.noarch.rpm
Use following command to install Zabbix using mysql database.
- Código: Selecionar todos
- # yum install zabbix zabbix-agent
Step 3: Update Zabbix Agent Configuration
Edit zabbix agent configuration file /etc/zabbix/zabbix_agentd.conf and update Zabbix server ip
- Código: Selecionar todos
- #Server=[zabbix server ip]
 #Hostname=[ Hostname of client system ]
 Server=192.168.1.11
 Hostname=Server1
Start zabbix agent service using following commands.
- Código: Selecionar todos
- # /etc/init.d/zabbix-agent start
 # /etc/init.d/zabbix-agent stop

