Install Zabbix Agent on CentOS/RHEL
Zabbix Agent is required to install on all remote systems needs to monitor through Zabbix server. The Zabbix Agent collects resource utilization and applications data on client system and provide such information to Zabbix server on their requests.
There are two types of checks can be configured between Zabbix Server and Client.
Passive Check : Zabbix Agent only sent data to server on their request.
Active Check : Zabbix Agent sends data periodically to Server.
Installing Zabbix Agent
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.rpmCentOS/RHEL 6: # rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpmCentOS/RHEL 5: # rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/5/x86_64/zabbix-release-3.0-1.el5.noarch.rpm
Install Zabbix Agent
After installing yum repository packages in our system. Now use following command to install Zabbix agent on your Linux system.
# yum install zabbix zabbix-agent
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 in its configuration file /etc/zabbix/zabbix_agentd.conf
#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]
Server=192.168.2.11
Hostname=zabbizagentserver
Restarting Zabbix Agent
After adding zabbix server ip in configuration file, now restart agent service using below 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
www.hackthesec.co.in
0 comments:
Post a Comment