How to Install the Zabbix Agent Version 4.0 on Debian 9 (Stretch)?

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 the device report; users can also set up a mailing system to receive reports.

If your Internal Zabbix Monitoring System is on Version 4.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 4.0 on Debian 9 (Stretch).

1. Download the Zabbix Repository using the wget command from the Zabbix website.
We will install the Zabbix Agent Version 4.0 for Debian 9 (Stretch) using the commands given below – 

# wget

dpkg -i zabbix-release_4.0-2+stretch_all.deb

2. Run the update command.

# apt-get update

3. Install Zabbix Agent.

# apt-get install zabbix-agent - Y

Once the Zabbix agent is installed, we will need to proceed to configure Zabbix.

4. To configure the Zabbix Agent, please go to the /etc/zabbix/zabbix_agentd.conf file and update your Zabbix Server IP Address and server hostname.

# sudo nano /etc/zabbix/zabbix_agentd.conf

5. Let us restart the Zabbix Agent Service.

# sudo systemctl enable zabbix-agent 

# sudo systemctl start zabbix-agent 

You have successfully installed Zabbix Agent version 4.0 on Debian 9 (Stretch).


Was this answer helpful?

« Back