I’m running Zabbix 6.0 through my lab at the moment. To properly test, I’d also like to install the latest Zabbix agent on my test servers.
Install all available updates
1
2
sudo apt update
sudo apt install
Get the repo
1
wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-1+ubuntu20.04_all.deb
Install the repo, update, and install the Zabbix agent
1
2
3
sudo dpkg -i zabbix-release_6.0-1+ubuntu20.04_all.deb
sudo apt update
sudo apt install zabbix-agent
Edit the agent config file.
1
sudo vi /etc/zabbix/zabbix_agentd.conf
Update the following config lines, change the values for your environment.
1
2
3
4
5
6
7
Server=10.255.2.12
ListenIP=0.0.0.0
ServerActive=10.255.2.12
Hostname=web1.lab.test
Start and enable the service.
1
2
3
4
sudo ufw allow from 10.255.2.0/24 to any port 10050 proto tcp
sudo ufw allow from 10.255.2.0/24 to any port 10051 proto tcp
sudo systemctl restart zabbix-agent
sudo systemctl enable zabbix-agent
The agent should be installed and running.
Comments powered by Disqus.