Install Zabbix Agent

In order for Zabbix to receive information from hosts, an agent needs to be installed. Follow the following steps to install agents on Linux servers.

  1. Install the repository configuration package:
    cd /tmp
    wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
     
    sudo dpkg -i zabbix-release_3.2-1+xenial_all.deb
     
    sudo apt-get update
  2. Install agent:
    sudo apt-get -y install zabbix-agent
     
    sudo systemctl enable zabbix-agent
  3. Configure the IP of the Zabbix Server:
    sudo sed -i 's/ServerActive=127.0.0.1/ServerActive=###.###.###.###/g' /etc/zabbix/zabbix_agentd.conf
  4. Start the Zabbix Agent:
    sudo systemctl start zabbix-agent