There are two types of checks between Zabbix Server and Client.
- Passive Check : Zabbix Agent sent data to server on their request.
- Active Check : Zabbix Agent sends data periodically to Server.
After installing zabbix server on your server, Now we are moving to install agent on remote system’s. This article will help you to install zabbix agent on CentOS/RHEL 7/6/5 systems. After completing this step go to next article add Host in Zabbix Server.
Step 1 – Add Required Repository
Before installing Zabbix Agent first configure Zabbix yum repository using following commands as per your required version and operating system.
CentOS/RHEL 7:# rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm CentOS/RHEL 6:# rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm CentOS/RHEL 5:# rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/5/x86_64/zabbix-release-3.0-1.el5.noarch.rpm
Step 2 – Install Zabbix Agent
After installing yum repository packages in our system. Now use the following command to install Zabbix agent on your Linux system using the default package manager
# yum install
Step 3 – Edit Zabbix Agent Configuration
As Zabbix agent has been successfully installed on our remote system. Now we just need to configure Zabbix agent by adding Zabbix server IP to the configuration file
#Server=[zabbix server ip] #Hostname=[ Hostname of client system ] Server=
Step 4 – Restarting Zabbix Agent
After adding Zabbix server IP to the configuration file, now restart agent service to reload the new settings, using the following command.
# /etc/init.d/zabbix-agent restart
To start and stop zabbix-agent service anytime use following commands.
# /etc/init.d/zabbix-agent start # /etc/init.d/zabbix-agent stop