Install zabbix agent on Ubuntu 24.04
sudo apt update && sudo apt upgrade -y
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo dpkg -i zabbix-release_7.0-1+ubuntu24.04_all.deb
sudo apt update
sudo apt install zabbix-agent -y
sudo vim /etc/zabbix/zabbix_agentd.conf
Server=YOUR_ZABBIX_SERVER_IP
ServerActive=YOUR_ZABBIX_SERVER_IP
Hostname=YOUR_SERVER_HOSTNAME
sudo systemctl start zabbix-agent
sudo systemctl enable zabbix-agent
sudo systemctl status zabbix-agent
sudo ufw allow 10050/tcp
sudo ufw reload