Zabbix Agent Installation on Debian 12 / Ubuntu

Supported OS

Debian 12 (Bookworm)

Ubuntu (22.04 and newer recommended)

Zabbix Version: 7.4

Pending review

Step-by-Step Installation

1. Update System Packages

sudo apt update && sudo apt upgrade

2. Add Zabbix Repository

wget https://repo.zabbix.com/zabbix/7.4/debian/pool/main/z/zabbix-release/zabbix-release_7.4-1+debian12_all.deb
sudo dpkg -i zabbix-release_7.4-1+debian12_all.deb
sudo apt update

3. Install Zabbix Agent

sudo apt install zabbix-agent

4. Configure Zabbix Agent

File: /etc/zabbix/zabbix_agentd.conf Edit the following:

Server=<ZABBIX_SERVER_IP>

ServerActive=<ZABBIX_SERVER_IP>

Hostname=<ZABBIX_MONITORED_HOSTNAME>

Ensure Include=/etc/zabbix/zabbix_agentd.d/*.conf is enabled

5. Start and Enable Agent

<code> sudo systemctl enable zabbix-agent sudo systemctl start zabbix-agent </