13.06.2023

Installing Zabbix agent on Ubuntu

 Installing Zabbix agent on Ubuntu

Zabbix agent is a program used for online monitoring of local machine resources and apps such as, but not limited to HDD, ram memory, processor statistics etc. let's look into installing it on Ubuntu.

Get the agent:

sudo apt-get install zabbix-agent

After installing it we want to change it's settings. We can do it by going to /etc/zabbix/zabbix_agentd.conf. and editing some parameters. The ones we need are: Server= ServerActive= Hostname=

Fill them according to commented examples.
Apply changes by:

sudo systemctl restart zabbix-agent

Let's see if it works.

sudo systemctl status zabbix-agent

Summary

We demonstrated to you how to get the agent installed and configured to work with your Zabbix server