- Offizieller Beitrag
source: https://computingforgeeks.com/install-and-co…gent-on-ubuntu/
Code
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
sudo apt install ./zabbix-release_5.0-1+focal_all.deb
Ubuntu 18.04:
Code
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+bionic_all.deb
sudo apt install ./zabbix-release_5.0-1+bionic_all.deb
Step 2: Install and Configure Zabbix Agent
Once repository is added install the packages:
Zabbix agent configuration is /etc/zabbix/zabbix_agentd.conf. Edit
Code
$ sudo vim /etc/zabbix/zabbix_agentd.conf
#Specify Zabbix server IP Address
Server=<yourserver>
#Specify Zabbix server ( For active checks)
ServerActive=<yourserver>
# Set this server hostname reported by Zabbix agent
Hostname=<yourhostname>
Restart zabbix-agent after making the change:
If you have ufw enabled, allow port 10050 on the firewall. This is used by Zabbix agent daemon.