Install and Configure Zabbix Client on Ubuntu Linux

programming 3173456 640
programming 3173456 640

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

For the Zabbix server to gather data, the client software or agent must be installed on the client machines. And this brief tutorial will show students and new users how to install the Zabbix client on Ubuntu computers.

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

Please see this post to learn how to install Zabbix server software on Ubuntu.

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

Install Zabbix agent software on Ubuntu.

Run the commands below to install the Zabbix repository to get the Zabbix agent onto the Ubuntu client computer.

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 your 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.

Configure the Agent

Now that the agent software is installed open its configuration software and define the server IP address so 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 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’s 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:

Posted by
Richard

I love computers; maybe way too much. What I learned I try to share at geekrewind.com.

Leave a Reply

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

%d bloggers like this: