How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2

How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2 - Hallo friend Tips and Trick Outside, In the article you read this time with the title How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2, we have prepared well for this article you read and download the information therein. hopefully fill posts Article Monitor, Article Zabbix, i hope with the article we write, you can understand. Well, happy reading.

Title : How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2
link : How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2

Read more


How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2

Installing Zabbix Agent

Follow the below instructions to install Zabbix Agent on CentOS, RHEL 7/6/5 systems.

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/2.2/rhel/7/x86_64/zabbix-release-2.2-1.el7.noarch.rpm

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

Step 2: Install Zabbix Agent

After installing yum repository packages in our system. Now use following command to install Zabbix agent on your Linux sytem.
# yum install zabbix zabbix-agent

Step 3: Update 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.1.11
Hostname=Server1

Step 4: 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


Step 5: Add Zabbix Agent Monitored Host to Zabbix Server



6. On the next step it’s time to move to Zabbix server web console and start adding the hosts which run zabbix agent in order to be monitored by the server.


Go to Configuration -> Hosts -> Create Host -> Host tab and fill the Host name field with the FQDN of the monitored zabbix agent machine, use the same value as above for Visible name field.


Next, add this host to a group of monitored servers and use the IP Address of the monitored machine at Agent interfaces field – alternatively you can also use DNS resolution if it’s the case. Use the below screenshots as a guide.


Add Linux Host to Zabbix Monitoring

Add Linux Host to Zabbix Monitoring



Add Linux Host to Zabbix Host Group

Add Linux Host to Zabbix Host Group



7. Next, move to Templates tab and hit Select. A new window with templates should open. ChooseTemplate OS Linux then scroll down and hit on Select button to add it and automatically close the window.


Add Zabbix Linux OS Template

Add Zabbix Linux OS Template



Select Linux OS Template

Select Linux OS Template



8. Once the template appears to Link new template box, hit on Add text to link it to zabbix server, then hit on the lower Add button to finish the process and completely add the monitored host. The visible name of the monitored host should now appear hosts window.


Link New Linux OS Template

Link New Linux OS Template



Add Linux OS Template

Add Linux OS Template



Added Linux Host to Zabbix

Added Linux Host to Zabbix



That’s all! Just assure that the host Status is set to Enabled and wait a few minutes in order for Zabbix server to contact the agent, process the received data and inform or eventually alert you if something goes bad on the monitored target.



Declares Article How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2

That its all How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2 This time, hopefully can provide benefits to all of you. Okay, see you in another article posting.

You now read the article How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2 with the link address https://trik-outside.blogspot.com/2016/01/how-to-install-zabbix-agent-on.html

Subscribe to receive free email updates:

0 Response to "How to Install Zabbix Agent on CentOS/RHEL 7/6/5 - Part 2"

Post a Comment