How to install zabbix agent on Ubuntu

To install the Zabbix agent on Ubuntu, run the command

apt install zabbix-agent

To autostart, Zabbix agent on boot, enable it with

systemctl enable zabbix-agent

To manage Zabbix, use commands

systemctl stop zabbix-agent
systemctl start zabbix-agent
systemctl restart zabbix-agent

To see Zabbix listening port

netstat -lntp | grep zabbix

Zabbix agent port

Edit file

vi /etc/zabbix/zabbix_agentd.conf 

Find

Server=127.0.0.1

Replace with

Server=127.0.0.1,IP_OF_ZABBIX_SERVER_HERE

zabbix agent Server config

Restart zabbix agent

systemctl restart zabbix-agent

After the Zabbix agent is installed, you need to add the sevrer in your Zabbix installation.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *