Technoracle
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    TechnoracleTechnoracle
    • Home
    • AWS
      • EC2
      • Lightsail
      • RDS
      • S3
    • Ubuntu
      • Ubuntu 20.04
      • Ubuntu 22.04
    • AI Tools
    • Web Hosting
    • WordPress
    • Tech News
    Technoracle
    Home - How to Install Zabbix Agent on Ubuntu 20.04 Easily
    Ubuntu

    How to Install Zabbix Agent on Ubuntu 20.04 Easily

    Rajesh ShivamBy Rajesh ShivamJune 6, 2021No Comments2 Mins Read
    install Zabbix agent on Ubuntu
    install Zabbix agent on Ubuntu

    To monitor the system resources, applications, Services, Databases you might have installed a Zabbix server. Zabbix Agent is required to monitor through the Zabbix server. Zabbix agent is installed on the remote host. In this article, I am going to install Zabbix agent on Ubuntu 20.04 LTS server. So, let’s get started.

    Prerequisites

    • Ubuntu 20.04 Server with SSH access.
    • Root access or user with sudo access.

    Page Contents

    • Step 1: Download and Add Zabbix Repo
    • Step 2: Install Zabbix Agent on Ubuntu
    • Step 3 – Manage Zabbix Services
    • Conclusion

    Step 1: Download and Add Zabbix Repo

    You can add a repository to the system by downloading from the Zabbix repository. Run the following command to enable the Zabbix repository.

    $ 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

    After adding the Zabbix repository, first update the Ubuntu package manager and install Zabbix agent by running following commands.

    $ sudo apt update
    $ sudo apt install zabbix-agent

    You have successfully installed the Zabbix agent on the host. Now, you have to modify the zabbix agent to allow connection from the Zabbix server.

    Now update the Zabbix configuration file /etc/zabbix/zabbix_agentd.conf and add the zabbix server IP and zabbix server host. Add below settings.

    Server=3.142.208.148
    Hostname=server host name

    After updating the values save the file and exit.

    Step 3 – Manage Zabbix Services

    To start, stop,restart and auto enable Zabbix run following commands.

    ServicesCommand
    To enable Zabbix on startupsudo systemctl enable zabbix-agent
    To restart Zabbixsudo systemctl restart zabbix-agent
    To stop the Zabbixsudo systemctl stop zabbix-agent
    To check the status of Zabbixsudo systemctl status zabbix-agent

    Conclusion

    In this tutorial, you have learned to install Zabbix agent on Ubuntu 20.04 LTS server. If you have any doubts feel free to contact me, I will definitely try to help you. Also, you can join our elite Facebook group to get direct help from me. If you like this tutorial, please share this article on your social media handle.

    ubuntu tips
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit
    Previous ArticleHow to Change SSH Port in Linux Easily ( Only 2 Commands)
    Next Article How to Rename a Directory in Linux [3 Easy Methods]
    Rajesh Shivam
    • LinkedIn

    Rajesh Shivam is a seasoned professional with expertise in AWS and Linux System Administration. With over 10 years of freelancing experience, he brings a wealth of knowledge to the table. Rajesh has a strong passion for technology and stays connected with the latest happenings in the field. His dedication and expertise make him a trusted resource for all things tech-related.

    Related Posts

    Install Google Chrome on Ubuntu 22.04
    Ubuntu

    How to Install Google Chrome on Ubuntu 22.04(Easy Guide)

    Read More
    install PHP GD on Ubuntu
    Ubuntu 22.04

    How to Install PHP GD on Ubuntu 22.04 [Easy Guide]

    Read More
    Install PHP on Ubuntu 22.04
    Ubuntu

    How to Install PHP on Ubuntu 22.04 [Simple Guide]

    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Install Google Chrome on Ubuntu 22.04

    How to Install Google Chrome on Ubuntu 22.04(Easy Guide)

    August 29, 2023
    Enable PHP BCMath Extension in cPanel

    How to Enable PHP BCMath Extension in cPanel (3 Easy Quick Steps)

    August 25, 2023
    install PHP GD on Ubuntu

    How to Install PHP GD on Ubuntu 22.04 [Easy Guide]

    May 2, 2023
    Install PHP on Ubuntu 22.04

    How to Install PHP on Ubuntu 22.04 [Simple Guide]

    April 26, 2023

    Subscribe to Blog

    Enter your email address to subscribe to
    this blog and receive notifications of new posts by email.

    Facebook Twitter Instagram Pinterest
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Click to Copy
    Go to mobile version