How to Install Zabbix Agent 3 in Debian 10?

Zabbix is an open-source monitoring tool used to monitor the health of servers, networks, and other IT units. Zabbix provides a web-based GUI to monitor device reports. Users can also set up a mailing system to receive reports as well.

If your internal Zabbix monitoring system is on Version 3.0, you must install the Zabbix Repo with Version 3, or the Zabbix Agent will not connect with Zabbix Server.

To install Zabbix Agent 3 on Debian 10 (Buster), you must follow these steps – 

1. Download the Zabbix Repository using the wget command from Zabbix Website.
We will install Zabbix Agent Version 3 for Debian 10 (Buster) using the commands given below – 

# wget

# dpkg -i zabbix-release_3.0-2+buster_all.deb

2. Create a file named preferences at this location - /etc/apt/preferences, and add the lines given below -  

Package: zabbix-*

Pin: origin           

Pin-Priority: 900

It will prevent the Zabbix Repo upgrade from 3.0 to 4.0 while running the apt-get update. If you don't do this, the Zabbix Repo will be upgraded automatically to 4.0, and you will face issues in the connectivity of your Zabbix server.

3. Run the update command - 

# sudo apt-get update

4. Install Zabbix Agent - 

# sudo apt-get install zabbix-agent

Zabbix Agent is now installed.
We will configure the Zabbix Agent on your server using the steps below. 

1. Go to file /etc/zabbix/zabbix_agentd.conf and need to update the Zabbix server IP address and hostname as per the images shown below -

# sudo nano /etc/zabbix/zabbix_agentd.conf



2. Restart your Zabbix Agent service. 

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

You have successfully installed Zabbix Agent version 3.0 on Debian 10 (Buster).

> Looking to install Zabbix Agent 4.0 on Debian 10 (Buster)?
   Please refer to Install Zabbix on Debian for more details.

> Looking to uninstall/ remove Zabbix Agent from Linux/ Windows?
   Please refer to
Remove Zabbix Agent for more details.


Was this answer helpful?

« Back