How to install Zabbix Agent 3 in Debian 10? Print

  • 1

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 your device reports. Users can also set a mailing system to receive reports as well.

If your internal Zabbix monitoring system is on Version 3.0, in this case, you will need to install the Zabbix repo with version 3 or the Zabbix agent will not connect with Zabbix Server.

Following are the steps to install Zabbix Agent 3 on Debian 10 (Buster).

  1. Download the Zabbix Repository using wget command from Zabbix Website. We will install Zabbix agent version 3 for Debian 10 (Buster) using below Commands.

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

  2. Create a File named preferences at location /etc/apt/preferences and add the below lines. It will prevent the Zabbix repo to be upgraded from 3.0 to 4.0 while running 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.

    Package: zabbix-*
    Pin: origin						
    Pin-Priority: 900
  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 proceed to configure Zabbix agent on your server.

  1. Configure the Zabbix agent using the below steps. Go to file /etc/zabbix/zabbix_agentd.conf and need to update Zabbix server IP address and hostname as per the below images.

    # 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
Sign up for a newsletter