• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How To Install Zabbix Agent on Ubuntu 20.04

Written by Rahul, Updated on July 12, 2020

Zabbix is an monitoring solutions for your IT infrastructure. You can monitor most of the devices in your network and most of the services on your servers. To monitor applications, You must have a Zabbix server installed in your network.

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.

wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb

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.

sudo apt update
sudo apt install zabbix-agent

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:

sudo nano /etc/zabbix/zabbix_agentd.conf

And update below settings:

#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]

Server=192.168.10.254
Hostname=Server2

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.

sudo systemctl restart zabbix-agent
sudo systemctl enable zabbix-agent 

The following commands are used to stop and status of Zabbix-agent service:

sudo systemctl stop zabbix-agent 
sudo systemctl status zabbix-agent

Conclusion

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

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

1 Comment

  1. Avatar Linux learner Reply
    January 5, 2021 at 8:37 pm

    Hi Rahul,

    do you happen to know if zabbix-agent2 can be installed on ubuntu 20.04?

Leave a Reply Cancel reply

Popular Posts

  • How to Install Python 3.9 on CentOS/RHEL 7 & Fedora 32/31 0
  • How To Install VNC Server on Ubuntu 20.04 1
  • How To Install NVM on macOS with Homebrew 0
  • (Solved) apt-add-repository command not found – Ubuntu & Debian 0
  • How to Install .NET Core on Debian 10 0
© 2013-2020 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy