Zabbix Agent is required on the systems, you need to monitor through the Zabbix server. This tutorial will help you to install Zabbix Agent on Ubuntu 20.04 LTS Linux system.

Requirements

You must have shell access with sudo privileged account access to your Ubuntu 20.04 LTS system.

Step 1 – Configure Zabbix Repository

The Zabbix team provides apt repositories for the installation of Zabbix packages. Then add the repository to your system, which is required packages for Zabbix agent. Run the following commands to enable Zabbix repositories.

Step 2 – Install Zabbix Agent on Ubuntu

As you have successfully added Zabbix apt repositories in your system let’s use the following command to install Zabbix agent using the following command. The Zabbix Agent is installed on your system. Next, you need to configure Zabbix agent to allow connection from your Zabbix server. For example, your Zabbix server is running with 192.168.10.254 IP address. To update this, edit Zabbix agent configuration file /etc/zabbix/zabbix_agentd.conf: And update below settings: Save your file and close it.

Step 3 – Manage Zabbix Service

Now, restart Zabbix service to apply changes. Also enable service to auto start on system boot. Run the following commands to restart and enable Zabbix agent service. The following commands are used to stop and status of Zabbix-agent service:

Conclusion

In this tutorial, you have learned to install Zabbix Agent service on Ubuntu 20.04 system.