Install and Configure Zabbix Client / Agent Software on Ubuntu 16.04 / 18.04 / 18.10

Zabbix is a popular open source monitoring software tool that helps you gain insights and simplifies logs data from servers, networking devices and others so you can make sense of them…

In order for Zabbix server to gather data, the client software or agent needs to be installed on the client machines…. and this brief tutorial is going to show students and new user show to install Zabbix client on Ubuntu computer…

Windows and Mac machines will have their own client software to install… Visit Zabbix site to download and install the client software on Windows or Mac OS X systems…

To learn how to install Zabbix server software on Ubuntu, please see this post

The agent software collects resource utilization and applications data on the client system and provides that information to the Zabbix server on their requests…

Installing Zabbix agent software on Ubuntu..

To get Zabbix agent onto Ubuntu client computer, run the commands below to install Zabbix repository….

cd /tmp
wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1%2Bbionic_all.deb
sudo dpkg -i zabbix-release_3.4-1+trusty_all.deb

For Ubuntu 16.04 and previous, you may want to run the commands below to download the repository…

cd /tmp
wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+xenial_all.deb
sudo dpkg -i zabbix-release_3.4-1+xenial_all.deb

After installing the repository for you system, run the commands below to install the agent software…

sudo apt-get update
sudo apt-get install zabbix-agent

That should install the agent software onto Ubuntu machines…

Configuring the Agent

Now that the agent software is installed, open it configuration software and define the server IP address so that the server and client can communicate…

Run the commands below to open the agent config file…

sudo nano /etc/zabbix/zabbix_agentd.conf

When the file opens, adjust the lines below to define the server IP address and hostname… and save the file and exit..

#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]
Server=192.168.1.2
Hostname=example.com

save and exit
When you’re done, run the commands below to reload the agent configuration…

sudo systemctl stop zabbix-agent
sudo systemctl start zabbix-agent

That’s it!

After that the client computer should be able to connect to the server and provide all the system info of the client to the server… you should then be able to access that info on the server portal….

That’s it!

You may also like the post below:

Installing WordPress 5.0 on Ubuntu 16.04 / 18.04 / 18.10 with Apache2, MariaDB and PHP 7.2

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.