Installing Zabbix Agent 4.4.1 on Ubuntu

Install the same agent as that on your server (in this case Zabbix 4.4.1….you can see the releases by hitting the release folder with your browser at https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release

wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+bionic_all.deb

add the package you just downloaded

sudo dpkg -i zabbix-release_4.4-1+bionic_all.deb

sudo apt update

Install the agent

sudo apt install zabbix-agent

Configure the agent by editing the agent config file….

vi /etc/zabbix/zabbix_agentd.conf

edit the IP and the Host name

Server=IP address of Zabbix Server

Hostname=Hostname of client PC

Restart and enable the agent

sudo systemctl restart zabbix-agent

sudo systemctl enable zabbix-agent

Verify the agent is up by checking the status

systemctl status zabbix-agent

and then of course, go to your Zabbix front end, add the Host and see the results!

Troubleshooting: Make sure the port 10050 (that’s the default…or whatever port you configured if you changed it) is open for pushing data to the Zabbix server. Use nmap because it’s awesome.

nmap -p 10050 [zabbix server IP], so for example nmap -p 10050 34.220.175.59

Leave a Reply

Your email address will not be published.