This tutorial has been created to help users install Zabbix Agent on Debian 10 (Buster) Linux. In our previous guide, we installed and configured Zabbix Server on Debian Buster ready to start receiving data from clients for it to monitor. This is exactly what we are going to accomplish in this session. We are going to install Zabbix Agent in Debian 10 then monitor it using our cool server. Let us get on with it.

Step 1: Add Zabbix repository

We will use packages in Zabbix’s repository to get our agent installed. Let us add this repository.

sudo wget

Install the repository with the commands below.

sudo dpkg -i zabbix-release_4.4-1+buster_all.deb

Step 2: Install Zabbix Agent

Zabbix Server uses an agent or SNMP to monitor its clients. Let us explore how it uses the agent.

Install Zabbix Agent on Debian Linux

sudo apt update
sudo apt install zabbix-agent

Start and enable Zabbix agent

sudo systemctl enable zabbix-agent
sudo systemctl start zabbix-agent

Step 3: Configure Zabbix Agent

Open up the Zabbix agent file and make sure that the following options are set at a minimum.

Server=             # Incoming connections will be accepted only from the hosts listed here.
ListenPort=10050                # Agent will listen on this port for connections from the server
ListenIP=                # List of comma delimited IP addresses that the agent should listen on
ServerActive=       # List of comma delimited IP:port pairs of Zabbix servers and Zabbix proxies for active checks
Hostname=Zabbix server2        # Optional name for the server to be monitored

Step 4: Allow Listening ports on the firewall

If you have ufw firewall running, allow necessary ports as shown below

sudo ufw allow 10050
sudo ufw reload

Step 5: Add the host in Zabbix Server

Launch your Zabbix Server on your favorite browser and navigate as follows

Configuration > Hosts

zabbix agent 1

Click on “Create Host” on the top right corner

zabbix agent 2 create host

Fill-up the form accordingly. Please note that the “Host name” part must match what you entered in the “Hostname” field in the agent configuration file.

zabbix agent 3 create host

Click on “Add” button when you are done as illustrated above.

Step 6: Add templates

Once you are done adding the host, the next step is to create templates which guides Zabbix Server on what you would wish to monitor in your client. We are going to add one template as an example.

Navigate to the Templates page

Once you add your host, you should see it populate under Configuration > Hosts page as shown below

zabbix add template 1 1

Click in the Server you would wish to add templates then click on “Templates” option as illustrated below.

zabbix add template 2

Click on “Select” button to load a plenteous list of templates to choose from.

zabbix add template 3

After you are done, simply click on “Update” to update the details of the server to be monitored.

zabbix add template 4

And we are done!

zabbix add template 5


Now we have our server with the Zabbix agent being monitored. There are plenty of other features that Zabbix provides such as alerts, problem detection and many more. Visit Zabbix Webpage to get more details.

Other guides you may wish to digest include

How to Install and configure Zabbix agent 4.0 on Ubuntu 18.04 and CentOS 7

How To Install Zabbix Server on CentOS 8 / RHEL 8

Install Zabbix Server 4 on CentOS 7

How to Install and configure Zabbix agent on Ubuntu 18.04

How to Install and configure Zabbix agent 4.0 on Ubuntu 18.04 and CentOS 7

10 Best Open Source Linux Monitoring Tools

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here