ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

MySQL/MariaDB and Zabbix: the connection, a separate database server and PostgreSQL

Lesson 2.211 minIntermediateDecember 5, 2026

Sign in to read this lesson

In Zabbix everything goes through the database. In this lesson we learn how the server and the web interface connect to the database, how to move the database to a separate server, how to tune MariaDB for Zabbix, how to take a backup and how to do the same installation with PostgreSQL.

What you will learn

  • Two sides connect to the database: the Zabbix server (/etc/zabbix/zabbix_server.conf, the DB* parameters) and the web interface (/etc/zabbix/web/zabbix.conf.php). When the password changes, both must be updated.
  • If the database is on a separate server: bind-address in MariaDB, the user 'zabbix'@'10.10.10.20', port 3306 in the firewall only for the Zabbix server; on the Zabbix side DBHost.
  • innodb_buffer_pool_size is the most important database setting: about half of the RAM set aside for the database.
  • Backup: mysqldump --single-transaction zabbix | gzip, plus the /etc/zabbix directory.
  • The PostgreSQL variant: zabbix-server-pgsql, php8.3-pgsql, createuser --pwprompt zabbix, createdb -O zabbix zabbix, schema sql-scripts/postgresql/server.sql.gz.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.