
This guide has been created to serve as a comprehensive overview of Zabbix 7.0, prerequisites, installation, and necessary initial configurations. Zabbix is a powerful open source monitoring solution that can monitor everything in your entire IT infrastructure. Set up and use Zabbix to monitor servers, databases, web applications, network devices, among many other stuff. It offers feature-rich data collection, processing, real-time monitoring and alerting to help your company meets its SLA and guarantee system performance.
What is new in Zabbix 7.0
Zabbix 7.0 Key Features and Improvements:
- New AGPL-3.0 license distribution for Zabbix (from GPL v2.0 license)
- Performance improvements: You will experience better resource utilization and faster data collection and processing
- New Data Types: There is gauge for visualizing numerical values without units and Pie chart for data distribution
- Improved user experience: Faster onboarding with JIT user provisioning
- Proxy now has load balancing and high availability supported setup
- Data can be send to the Zabbix server via Zabbix API
- For active checks there is flexible scheduling intervals
- Advanced websites and web applications monitoring using a browser
- Enhancements related to security: There is security features enhancements, including support for newer TLS and improved authentication mechanisms.
Setup dependencies
These are the key dependencies when setting up Zabbix monitoring solution:
- Operating system: Ensure you have supported operating system (In this guide we use Ubuntu 24.04 / Ubuntu 22.04)
- PHP: Zabbix require PHP and specific extensions to power its fronted and other backend functionalities.
- Database: Zabbix stores its data in a database. MySQL, MariaDB, PostgreSQL, and SQLite are supported. In this article we are using MariaDB.
- Web Server: A web server is used to host Zabbix frontend. Apache and Nginx are supported options. We will use Apache.
This tutorial will help you to set up Zabbix 7.0 on Ubuntu 24.04 or Ubuntu 22.04 Linux machine. For older version check out Zabbix 6.0 installation guides. Here we cover the process in detail to ensure a success in your deployment. We recommend you do this set up on a newly provisioned server to improve installation success rate while minimizing the probability of other applications breaking on the system.
Add Zabbix 7.0 APT repository
Zabbix provides an APT repository with pre-built packages for easy installation and later updates. But we need to add the repository in to the system.
Update your packages list cache:
sudo apt update
When working on a fresh and clean Linux OS, you can check if any major updates are available and install.
sudo apt upgrade -y
At times, a reboot is required after upgrades.
[ -f /var/run/reboot-required ] && sudo reboot -f
After the system is back online, download and install the repository configurator package:
- Ubuntu 24.04:
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-2+ubuntu24.04_all.deb
sudo dpkg -i zabbix-release_7.0-2+ubuntu24.04_all.deb
- Ubuntu 22.04
wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-2+ubuntu22.04_all.deb
sudo dpkg -i zabbix-release_7.0-2+ubuntu22.04_all.deb
Install Zabbix and Configure database
After setting up the repositories, you’ve to update the system to know about it.
sudo apt update
Install Zabbix 7.0 on Ubuntu – server, frontend, and agent by running the following command:
sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
Install MariaDB database server.
sudo apt install mariadb-server
Connect to database server using mysql
CLI
sudo mysql -uroot
Create database and user for Zabbix. You can replace “StrongDBPassw0rd” with your desired database password:
create database zabbix character set utf8mb4 collate utf8mb4_bin;
create user zabbix@localhost identified by 'StrongDBPassw0rd';
grant all privileges on zabbix.* to zabbix@localhost;
set global log_bin_trust_function_creators = 1;
quit;
Import initial Zabbix server schema and data into the database created.
zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p'StrongDBPassw0rd' zabbix
If you are using a different database password, remember to replace StrongDBPassw0rd with your DB passowrd.
Once the database schema has been imported, you can disable log_bin_trust_function_creators
option
sudo mysql -uroot <<MYSQL_SCRIPT
set global log_bin_trust_function_creators = 0;
MYSQL_SCRIPT
Configure Zabbix Server
Open /etc/zabbix/zabbix_server.conf
for editing
sudo nano /etc/zabbix/zabbix_server.conf
Set the password for zabbix database user
DBPassword=StrongDBPassw0rd #Replace with your DB user password
Enable all services to start at system boot
sudo systemctl enable mariadb apache2 zabbix-server zabbix-agent
Also restart all services to make sure they are running without any issues
sudo systemctl restart apache2 zabbix-server zabbix-agent
You can check the status of these services by running the following command:
systemctl status apache2 zabbix-server zabbix-agent
Open Zabbix UI web page at http://ServIP_or_hostname/zabbix

In the next confirm if all checks return green light.

Input database credentials, username and password that you created earlier on in the guide.

Give your Zabbix server an identity – server name. Changing from the default theme is also possible.

If the configuration is successful, you’ll get “Congratulations” message.

Login with default username “Zabbix“ and default password “zabbix“:

You will land on the Zabbix home dashboard after successful login.

Change Admin user password by going to Users > Admin > Change password

Input old password “zabbix” as Current password and provide the new password.

Test by logout and back in to confirm it works. At this point the installation of Zabbix 7.0 on Ubuntu process is completed. The next phase could be tunings and adding monitored agents to Zabbix. Refer to the following links for better guidance on advanced topics:
- Zabbix Configurations manual
- Service monitoring
- Web monitoring & Virtual Machines Monitoring
- Quick reference guides