Zabbix is a popular open-source monitoring software tool that helps you gain insights and simplifies log data from servers, networking devices, and others so you can make sense of them.
For the Zabbix server to gather data, the client software or agent must be installed on the client machines. This brief tutorial will show students and new users how to install the Zabbix client on Ubuntu computers.
Windows and Mac machines will have their client software installed. Visit the Zabbix site to download and install the client software on Windows or Mac OS X systems.
Please see this post to learn how to install Zabbix server software on Ubuntu.
The agent software collects resource utilization and application data on the client system and provides that information to the Zabbix server on their requests.
Install Zabbix agent software on Ubuntu.
Run the commands below to install the Zabbix repository and get the Zabbix agent onto the Ubuntu client computer.
cd /tmp wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1%2Bbionic_all.deb sudo dpkg -i zabbix-release_3.4-1+trusty_all.deb
For Ubuntu 16.04 and previous, you may want to run the commands below to download the repository.
cd /tmp wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+xenial_all.deb sudo dpkg -i zabbix-release_3.4-1+xenial_all.deb
After installing the repository for your system, run the commands below to install the agent software.
sudo apt-get update sudo apt-get install zabbix-agent
That should install the agent software onto Ubuntu machines.
Configure the Agent
Now that the agent software is installed open its configuration software and define the server IP address so the server and client can communicate.
Run the commands below to open the agent config file.
sudo nano /etc/zabbix/zabbix_agentd.conf
When the file opens, adjust the lines below to define the server IP address and hostname. Save the file and exit.
#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]
Server=192.168.1.2
Hostname=example.com
Save and exit
When done, run the commands below to reload the agent configuration.
sudo systemctl stop zabbix-agent sudo systemctl start zabbix-agent
That should do it~
Leave a Reply Cancel reply