📡
Monitoring & Observability

Zabbix

Enterprise monitoring for networks, servers, and applications

🐧 Linux🍎 Mac🪟 Windows
Reviewed: Tested on: Kubernetes 1.29 · Terraform 1.8 · Ubuntu 22.04

What is this?

Zabbix monitors servers, networks, and applications and alerts you before users notice problems.

📥

Step 01

Install Zabbix

(01)Install Zabbix 7.0 LTS with Docker

Linux
1# Clone official compose
2git clone https://github.com/zabbix/zabbix-docker.git
3cd zabbix-docker
4docker compose -f docker-compose_v3_alpine_mysql_latest.yaml up -d
5
6# Web UI: http://server:8080
7# Default login: Admin / zabbix

(02)Package install (Ubuntu)

Linux
1wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu22.04_all.deb
2sudo dpkg -i zabbix-release_7.0-1+ubuntu22.04_all.deb
3sudo apt update
4sudo apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
5sudo systemctl restart zabbix-server zabbix-agent apache2
⚙️

Step 02

Configure Zabbix

(01)Initial web setup wizard

Linux
1# Open http://server:8080
2# 1. Check prerequisites
3# 2. Configure DB connection (MySQL/PostgreSQL)
4# 3. Set Zabbix server name
5# 4. Login: Admin / zabbix — CHANGE PASSWORD immediately

(02)Add monitoring host (Linux agent)

Linux
1# On monitored host — install agent
2sudo apt install -y zabbix-agent
3
4sudo nano /etc/zabbix/zabbix_agentd.conf
5# Server=192.168.1.10
6# ServerActive=192.168.1.10
7# Hostname=webserver1
8
9sudo systemctl restart zabbix-agent
10
11# In Zabbix UI: Data collection → Hosts → Create host
12# Add Linux by Zabbix agent template

(03)Configure triggers and alerts

Linux
1# In Zabbix UI:
2# Alerts → Media types → Email (configure SMTP)
3# Alerts → Actions → Trigger actions → add send email
4# Monitoring → Latest data — verify metrics flowing

Step 03

Verify Zabbix

(01)Check server and agent

Linux
1sudo systemctl status zabbix-server
2zabbix_agentd -t agent.ping
3# In UI: Monitoring → Hosts — green ZBX icon = agent OK

Step 04

Manage Zabbix

(01)Maintenance and discovery

Linux
1# Network discovery in UI: Data collection → Discovery
2# Maintenance window: Services → Maintenance periods
3# Export/import templates: Data collection → Templates
🔧

Step 05

Common Problems

#1Zabbix agent not reachable

Linux
1sudo systemctl status zabbix-agent
2zabbix_agentd -t agent.ping
3sudo ufw allow 10050/tcp