Quick install Zabbix 5.4 on Debian 11

zabbix-banner.jpeg, Oct 2021

About Zabbix (more about Zabbix from source https://www.zabbix.com)

Zabbix is software that monitors numerous parameters of a network and the health and integrity of servers, virtual machines, applications, services, databases, websites, the cloud and more. Zabbix uses a flexible notification mechanism that allows users to configure e-mail based alerts for virtually any event. This allows a fast reaction to server problems. Zabbix offers excellent reporting and data visualization features based on the stored data. This makes Zabbix ideal for capacity planning.

In my case I have Debian 11 Bullseye and Zabbix have custom debian repository with latest official version of Zabbix. Let's go in action.

1. Install Zabbix server, frontend, agent

wget https://repo.zabbix.com/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-release_5.4-1+debian11_all.deb
sudo dpkg -i zabbix-release_5.4-1+debian11_all.deb
sudo apt update 

2. Installation of Database for Zabbix (my personal choice is PostgreSQL), then we will create user and database and initial database schema+data

sudo  apt install postgresql
sudo -u postgres createuser --pwprompt zabbix
sudo -u postgres createdb -O zabbix zabbix
zcat /usr/share/doc/zabbix-sql-scripts/postgresql/create.sql.gz | sudo -u zabbix psql zabbix

3. Configure the database for Zabbix server (just change DBPassword) and restart service

sudo nano /etc/zabbix/zabbix_server.conf
sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2

4. Connect to your Zabbix frontend: http://server_ip_or_name/zabbix

Add ping

Trackback URL : https://www.jurisic.org/trackback/2

Page top