This article explains the steps involved in configuring the Zabbix agent on Ubuntu hosts.
Step 1 – Configure Zabbix Repository
wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
Step 2 – Install Zabbix Agent on Ubuntu
sudo apt update sudo apt install zabbix-agent
Step 3 – Update the Zabbix Server details
To update the connectivity to Zabbix Server, edit Zabbix agent configuration file /etc/zabbix/zabbix_agentd.conf:
#Server=[zabbix server ip] #Hostname=[Hostname of client system ] Server=172.16.10.63 Hostname=Ubuntu-AD_ws01
Step 4 – Register the Ubuntu host in Zabbix
Create a New host with the IP address and host name details. Use the appropriate Templates and Groups for this Ubuntu host.
Step 5 – Verify the status of the Ubuntu host