Hostxpeed
Login Get Started →
Server Management

How to Monitor Server with Zabbix

5 min read
23 views
Jun 10, 2026

Prerequisites

Before installing Zabbix agent, make sure you have:

  • Zabbix server already set up
  • SSH access to your VPS
  • Root or sudo privileges

Step 1: Install Zabbix Repository

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22
wget https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb
sudo dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
sudo apt update

Step 2: Install Zabbix Agent

sudo apt install zabbix-agent -y

Step 3: Configure Zabbix Agent

sudo nano /etc/zabbix/zabbix_agentd.conf

Modify:

Server=ZABBIX_SERVER_IP
ServerActive=ZABBIX_SERVER_IP
Hostname=YOUR_VPS_HOSTNAME

Step 4: Restart and Enable Agent

sudo systemctl restart zabbix-agent
sudo systemctl enable zabbix-agent

Step 5: Allow Firewall

sudo ufw allow 10050/tcp

Step 6: Add Host in Zabbix Web Interface

Log into Zabbix frontend → Configuration → Hosts → Create Host.

Enter hostname and IP, select Linux template, add to group.

Step 7: Verify Data Collection

Wait a few minutes, check "Monitoring" → "Latest data".

✅ Zabbix agent installed. Your VPS is now monitored by Zabbix server.

Was this article helpful?