Ubuntu 20.04
wget https://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix/zabbix-agent2_5.4.7-1%2Bubuntu20.04_amd64.deb dpkg - i zabbix-agent2_5.4.7-1+ubuntu20.04_amd64.deb
Change server Zabbix
sed -i "s/Server=127.0.0.1/Server=127.0.0.1,zabbix.galaxydata.ru/" /etc/zabbix/zabbix_agent2.conf sed -i "s/ServerActive=127.0.0.1/Server=127.0.0.1,zabbix.galaxydata.ru/" /etc/zabbix/zabbix_agent2.conf systemctl start zabbix-agent2.service systemctl enable zabbix-agent2.service systemctl status zabbix-agent2.service
[3] If Firewalld is running allow Zabbix related ports.
Ubuntu 20.04
ufw allow 10050/tcp
ufw reload
or
install script