Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Debian»How To Install Zabbix Agent on Debian 10/9/8

    How To Install Zabbix Agent on Debian 10/9/8

    RahulBy RahulDecember 1, 20182 Mins ReadUpdated:September 10, 2019

    Zabbix Agent is required to install on all remote systems needs to monitor through Zabbix server. The Zabbix Agent collects resource utilization and applications data on the client system and provides such information to the Zabbix server on their requests.

    There are two types of checks can be configured between Zabbix Server and Client.

    • Passive check – Zabbix Agent only sent data to server on their request.
    • Active check – Zabbix Agent sends data periodically to Server.

    After installing zabbix server on your Debian system. This article will help you to install zabbix agent on Debian 9 Stretch, Debian 8 Jessie and Debian 7 Wheezy systems. After that you can add remote host in zabbix server.

    Step 1 – Prerequsities

    For this tutorial, we will use Zabbix apt repositories provided by the Zabbix official website. Let’s add the required repository on your system first by running one the following command as per Debian version:

    ## For Debian 10:
    
    wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+buster_all.deb
    sudo dpkg -i zabbix-release_4.0-3+buster_all.deb
    
    ## For Debian 9:
    
    wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+stretch_all.deb
    sudo dpkg -i zabbix-release_4.0-3+stretch_all.deb
    
    ## For Debian 8:
    
    wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+jessie_all.deb
    sudo dpkg -i zabbix-release_4.0-3+jessie_all.deb
    

    Step 2 – Install Zabbix Agent

    Now you have added Zabbix repositories to your system. let’s use the following command to install Zabbix agent on Debian machine.

    sudo apt-get update
    sudo apt-get install zabbix-agent
    

    Step 3 – Configure Zabbix Agent

    After installing completed of Zabbix aget. Edit zabbix agent configuration file zabbix_agentd.conf and update the Zabbix server IP address and zabbix agent name.

    sudo vi /etc/zabbix/zabbix_agentd.conf
    
    /etc/zabbix/zabbix_agentd.conf
    #Server=[zabbix server ip]
    #Hostname=[Hostname of client system ]
    
    Server=192.168.1.10
    Hostname=Server2
    

    Here 192.168.1.10 is the IP of Zabbix server to allow for connection with this Zabbix client.

    Step 4 – Restart Zabbix Agent

    After adding Zabbix server IP in the configuration file, now restart agent service using below command.

    sudo service zabbix-agent start
    

    To enable and start zabbix-agent service anytime use following commands.

    sudo systemctl enable zabbix-agent
    sudo systemctl start zabbix-agent
    

    Congratulation’s, You have successfully installed Zabbix Agent on Debian system. Lets Add Host in Zabbix Server to be monitor.

    Agent Zabbix Monitoring Tool zabbix
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow To Install NRPE on LinuxMint 19/18
    Next Article How to Remove “public/index.php” from URL in Laravel

    Related Posts

    How to Create a Sudo User in Debian

    Updated:June 26, 20212 Mins Read

    How To Install XRDP (Remote Desktop) on Debian 10

    4 Mins Read

    Initial Server Setup with Debian 10/9/8

    Updated:June 25, 20214 Mins Read

    How To Install and Configure VNC Server on Debian 10

    Updated:June 26, 20215 Mins Read

    How to Install Netdata Monitoring Tool on Ubuntu 20.04

    2 Mins Read

    How to Install TeamViewer on Debian 10

    3 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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