Ubuntu zabbix agent: Difference between revisions

From wiki karavi
Jump to navigation Jump to search
(Created page with "#Step 1: Update Your System sudo apt update sudo apt upgrade -y Step 2: Install Zabbix Agent wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4+ubuntu22.04_all.deb sudo dpkg -i zabbix-release_6.0-4+ubuntu22.04_all.deb sudo apt update sudo apt install zabbix-agent #Step 3: Configure Zabbix Agent sudo nano /etc/zabbix/zabbix_agentd.conf ... Server=<Zabbix_Server_IP> ServerActive=<Zabbix_Server_IP> Hostname=<H...")
 
No edit summary
Line 46: Line 46:


sudo ufw allow 10050/tcp
sudo ufw allow 10050/tcp




Step 6: Add the Zabbix Client to the Zabbix Server
Step 6: Add the Zabbix Client to the Zabbix Server

Revision as of 06:16, 8 December 2024

  1. Step 1: Update Your System

sudo apt update

sudo apt upgrade -y

Step 2: Install Zabbix Agent

wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4+ubuntu22.04_all.deb

sudo dpkg -i zabbix-release_6.0-4+ubuntu22.04_all.deb

sudo apt update

sudo apt install zabbix-agent

  1. Step 3: Configure Zabbix Agent

sudo nano /etc/zabbix/zabbix_agentd.conf

...

Server=<Zabbix_Server_IP>

ServerActive=<Zabbix_Server_IP>

Hostname=<Hostname_Of_Ubuntu_Client>

... Step 4: Start and Enable Zabbix Agent Service

sudo systemctl start zabbix-agent

sudo systemctl enable zabbix-agent

sudo systemctl status zabbix-agent


Step 5: firewall

sudo ufw status verbose

sudo ufw allow 10050

or

sudo ufw allow 10050/tcp


Step 6: Add the Zabbix Client to the Zabbix Server