Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»How To»How to Install Zabbix Agent on Ubuntu 20.04 Easily
    How To

    How to Install Zabbix Agent on Ubuntu 20.04 Easily

    Rajesh ShivamBy Rajesh ShivamJune 6, 2021No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    install Zabbix agent on Ubuntu
    Share
    Facebook Twitter LinkedIn Pinterest Email
    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
    Previous ArticleHow to Change SSH Port in Linux Easily
    Next Article How to Rename a Directory in Linux [3 Easy Methods]
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    How To

    How to Install Microsoft Teams on Ubuntu 22.04 Easily

    February 22, 2023
    Read More
    How To

    What is Elastic IP and Its Pricing in AWS

    February 22, 2023
    Read More
    How To

    How to Convert PEM to PPK file [Step by Step Guide]

    February 22, 2023
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

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

    Go to mobile version