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

Advertisement

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.

Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement