Why Zabbix high availability is harder than it looks
Monitoring that goes dark during a node failure is often discovered only when an incident is already under way. Zabbix has a native server high availability cluster, but it depends on a shared database and correct failover settings. Several server nodes point at one database, one node is active, and the others stand by until the active node stops working. Getting that arrangement to survive a real failure is a design task, not a single setting you switch on.
The server is only one of the components that can fail. The database is usually the hardest part, because every server node depends on it and a database outage stops monitoring no matter how many server nodes are healthy. The web frontend is a separate service that operators use to view problems and acknowledge alerts, so it needs its own load balancing and recovery plan. Proxies collect data from remote sites and segmented networks, and proxy groups can move hosts to another proxy when one goes offline, but only if the proxies and the network paths between them are designed for it. Agents run on monitored hosts and need their server or proxy addresses to remain reachable after a failover. Each of these fails in a different way, and a test that stops only the active server node will miss most of them.
The failover delay is the setting that most often needs a deliberate decision. Zabbix lets you configure a delay anywhere from 10 seconds to 15 minutes before a standby node takes over from an active node that has stopped responding. A short delay shortens the gap in data collection but raises the risk of a false failover during a brief network stall or a busy database. A long delay avoids unnecessary switches but leaves monitoring blind for longer. Before you choose a value, confirm the behavior of your database cluster, network links and virtual IP or load balancer in the Zabbix high availability documentation, and test the chosen delay under load.
Which Zabbix components need redundancy
A Zabbix monitoring setup has five parts that can fail independently: server nodes, the shared database, the web frontend, proxies and agents. Each one has a different role when it is lost, so redundancy effort should follow what would stop data collection, alerting or operator access.
Zabbix server nodes
Several server nodes share one database, but only one node is active at a time while the others stand by. If the active node fails or stops responding for longer than the configured failover delay, a standby node takes over. Check that every node points at the same database, that the failover delay suits your alerting tolerance, and that you can see which node is active in the server status before you test a failover.
- Failover delay range
- 10 seconds to 15 minutes
Shared database
The database holds configuration, history and events, so it is the component every server node depends on. Losing it stops the server cluster regardless of how many nodes are running. Redundancy here is a separate design decision, usually replication with a tested promotion procedure, and it should be planned with the server nodes rather than added afterward.
Web frontend
The frontend is the operator interface for dashboards, configuration and acknowledging problems. Losing one frontend instance does not stop data collection or alerting, because those run in the server. Plan a second frontend node behind your load balancer if operators depend on the UI during an incident, and confirm that session and login handling works when requests move between instances.
Proxies and proxy groups
Proxies collect data for remote sites and segmented networks. Without redundancy, a failed proxy leaves its hosts unmonitored. From Zabbix 7.0, proxy groups redistribute monitored hosts to the remaining proxies when one goes offline. Confirm that each group has enough spare capacity to absorb the hosts of one failed member, and test the redistribution rather than assuming it.
Proxy HA docsAgents
Agents run on monitored hosts and each one reports only for its own host. Losing an agent affects one host, and proxy groups do not move an agent. Agent redundancy therefore means keeping the agent configuration managed and restartable on each host, with alerts for hosts that stop reporting, rather than duplicating agents.
Which HA design fits your monitoring estate
This table compares four ways to protect Zabbix monitoring, from a single server with backups to a native server cluster, proxy groups and database replication. Read each row for the situation it fits and the operational work it adds. The main takeaway is that the server cluster and the database must be designed together, because the cluster only removes a single point of failure if the shared database is itself protected.
| Design | When it fits | Operational cost |
|---|---|---|
| Single server with tested backups | Small estates where a few hours of monitoring gap is acceptable and a restore can be rehearsed | Low build effort, but recovery is manual and depends on how quickly someone restores the database and configuration |
| Native server HA cluster with shared database | Central monitoring that must keep running when one Zabbix server node fails, with one shared database behind it | Several server nodes to deploy and patch, failover delay to tune, and failover tests to run; the database remains a single point unless it is also made resilient |
| Proxy groups for remote sites | Many remote or segmented networks where a proxy outage should not leave hosts unmonitored (Zabbix 7.0 and later) | Proxy count and host distribution to plan, plus monitoring of proxy state; proxies still depend on the central server for configuration and data |
| Database replication under the shared database | Estates with a strict recovery objective for monitoring history, where the database itself must survive a node loss | Replication administration, failover procedures for the database, and checking that every node runs a supported database version from the requirements page |
How to build the Zabbix HA cluster step by step
This sequence takes a team from a supported database and Zabbix version choice to a server cluster where one node is active, standbys can take over, and proxies keep remote hosts monitored. Each step ends with a check so failures are caught before go-live.
Confirm the Zabbix version and database pairing
Choose the Zabbix line first, then confirm the database engine and version against the supported matrix for that release. For Zabbix 7.4, the supported options are MySQL or Percona 8.0.30 to 9.7, MariaDB 10.5 to 12.3, and PostgreSQL 13 to 18, with TimescaleDB 2.13 to 2.29 as an optional extension. Check the life cycle dates for the line you pick, since LTS releases carry longer support. Done when your team has a written version and database pair, signed off by the platform owner, and checked against the current requirements page for the exact minor release you will install.
Build the shared database with replication
Provision one database endpoint that all server nodes will use, sized for your item count and history retention. Set up replication or a clustered deployment according to your database team's standard, so a database node can fail without losing monitoring data. Create a dedicated Zabbix database user with only the privileges the server needs. Done when a test connection from each planned server host succeeds, a failover test on the database tier completes in your environment, and the database team confirms backups and restores work for this instance.
Install the server nodes against the same database
Install the same Zabbix server version on each planned node, using identical package versions and the same configuration pointing to the shared database. Keep the frontend and server versions aligned across nodes. Confirm that every node reads the same DBHost, DBName and credentials, and that time synchronization is correct on all hosts. Done when each node starts, registers in the cluster view of the frontend, and appears with its status, with no version mismatch warnings.
Set the failover delay within the supported range
Configure the failover delay in the server high availability settings. Zabbix allows values from 10 seconds to 15 minutes. A short delay speeds takeover but can trigger failover during brief load spikes or network blips, while a long delay keeps monitoring offline longer after a real failure. Choose a value that matches your tolerance for monitoring gaps and test it. Done when the chosen delay is recorded in your runbook with the reasoning, and the frontend shows it applied to the cluster.
Verify which node is active and standbys are reachable
Open the high availability cluster view in the frontend and confirm exactly one node is active and the others are standby. Check that each standby is reachable over the network from the active node and from the frontend host. Stop the active node in a controlled window, watch a standby take over within the configured delay, then restart the original node and confirm it rejoins as standby. Done when the takeover and rejoin are logged, and monitoring data continues to arrive after the switch.
Deploy proxies and proxy groups for remote sites
For remote or segmented networks, deploy Zabbix proxies close to the monitored hosts and configure proxy groups from Zabbix 7.0 onward. Proxy groups redistribute monitored hosts when a proxy goes offline, so assign hosts to the group rather than to a single proxy where redundancy matters. Confirm each proxy can reach the server cluster and its monitored hosts through the required ports. Done when each proxy reports as online, hosts are distributed across the group, and taking one proxy offline moves its hosts to another proxy in the group.
Test the frontend and alerting under failover
Put a load balancer or a stable frontend address in front of the web tier if you use more than one frontend node, and confirm login, dashboards and problem views load from each. Run an alert test during a controlled failover so you know notifications still fire from the new active node. Review the authentication configuration, since LDAP, SAML and MFA settings must work on each frontend. Done when a user can log in through the stable address during a failover, a test alert is delivered during the switch, and the results are recorded for the runbook.
How the HA server, database and proxies fit together
The diagram starts at the monitored hosts, where agents and proxies in the monitored network send data toward the Zabbix server cluster. The active server node writes to one shared database, while standby nodes wait and take over if the active node exceeds the failover delay. The frontend in the management network reads from that same shared database. The proxy group sits at the edge: when one proxy goes offline, its monitored hosts are redistributed to the remaining proxies in the group. Check that the trust boundary between the monitored network and the management network is crossed only by the traffic you have approved, and that each crossing is encrypted and firewalled.
Agents, proxies, server nodes, shared database and frontend across the trust boundary.
What drives the effort of a Zabbix HA build
This table compares the factors that change how much design, build and testing a Zabbix high availability deployment needs. Read each row as a lever: the first column names the driver, the middle column explains why it moves effort, and the last column shows how to keep it contained. The main takeaway is that standardizing early on one database platform and one proxy pattern usually removes more work than any single technical choice.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Host count | More monitored hosts raise item volume, history write load and the number of nodes needed to keep the server cluster within capacity, which affects sizing and load testing. | Size the server nodes and database from a measured item count, and confirm capacity with the team before adding hosts in bulk. |
| Number of remote sites | Each remote site may need its own proxy, and proxies that are not in a group need manual reassignment when they fail, adding design and runbook work. | Reuse one proxy design across sites and place proxies in proxy groups so hosts redistribute automatically when a proxy goes offline. |
| Database platform and replication complexity | Server nodes share one database, so the database high availability design (replication, failover and backups) often takes more effort than the Zabbix settings themselves. | Standardize on one supported database platform and version, and confirm the replication approach with the database owners before the build starts. |
| Number of environments | Production, staging and disaster recovery each need matching cluster layouts, configuration and failover tests, so effort multiplies with every environment. | Keep configuration in version control, script the cluster build, and use the same templates and settings in every environment. |
| Integration with existing alerting | Routing alerts through existing ticketing, paging or chat tools requires media types and tests on each node, and failover can change which node sends notifications. | Agree the alert routes early, test notifications after a forced failover, and keep media type definitions identical across server nodes. |
| Compliance evidence needs | Assessors may ask for failover test records, access control settings, backup restore proof and change history, which must be collected during the build rather than reconstructed later. | Define the evidence list at scoping, capture failover tests and restores as they happen, and confirm the required format with the compliance or audit team. |
How HA differs across deployment models
In a single data center or office, the native Zabbix server HA cluster is the most direct model. Several server nodes point at one shared database, one node is active and the others stand by, and failover occurs when the active node exceeds the configured failover delay, which can be set from 10 seconds to 15 minutes. The database is the component that most often decides whether the cluster survives, so its availability matters as much as the server nodes.
- Shared database availability: The cluster has no HA value if the single database instance is the weak point. Plan database replication or clustering in the same design and confirm the supported options for your chosen engine.
- Failover delay tuning: A short delay reacts faster but can trigger failover on a busy node. A long delay keeps gaps in monitoring longer. Test the value against your real load.
- Node placement: Put server nodes on separate hosts or hypervisors so one hardware fault does not remove all of them.
- Frontend and web tier: The HA cluster covers the server, not automatically the web frontend. Plan redundancy for that layer separately.
- Supported database versions: Confirm the MySQL, MariaDB, PostgreSQL or TimescaleDB versions against the requirements for the Zabbix release you run.
Confirm the exact cluster configuration steps, node limits and database replication options against the Zabbix high availability documentation for your release before finalizing the design.
When monitored hosts sit in remote sites or segmented networks, Zabbix proxies collect data locally and forward it to the server. Proxy availability then becomes a separate HA question from server availability. From Zabbix 7.0, proxy groups can redistribute monitored hosts between proxies automatically when one goes offline, which covers proxy failure without manual reassignment. The server cluster and the proxy layer must be designed together, because a failover at one layer can hide problems at the other.
- Proxy group membership: Group proxies that can reach the same hosts. Hosts can only move to proxies that have the access they need.
- Data buffering during outages: Confirm how much data a proxy holds while disconnected from the server and what happens when it reconnects.
- Server reachability: Each proxy must reach every server node the cluster may activate. Check firewall rules for all nodes, not only the current active one.
- Database load after recovery: A reconnecting proxy can send a backlog. Size the database for that burst, not only steady state.
- Cross-site database links: Keep the database close to the servers. Remote proxies should not depend on a database across a slow link.
Confirm the proxy group behavior and version requirements in the Zabbix proxy load balancing and high availability documentation before you map hosts to groups.
Running Zabbix components in containers or on Kubernetes changes how node failure is detected and recovered. The orchestrator may restart or reschedule a pod, but the Zabbix server still decides active and standby roles through its own cluster logic. Persistent storage for the database and any stateful components also becomes a dependency that the orchestrator must manage. Container restarts can look like node failures to the cluster, so timing settings need careful testing.
- Failover timing versus rescheduling: Pod rescheduling can take longer than the failover delay. Test whether the cluster fails over first or the orchestrator restarts the pod first.
- Database placement: Decide whether the database runs inside the cluster or on managed infrastructure. Each choice changes backup, replication and failover ownership.
- Persistent volumes: Confirm storage survives node replacement and that database volumes are not tied to a single node.
- Image and version pinning: Pin server, proxy and agent images to versions you have tested together.
- Network policies: Allow traffic between server nodes, proxies and the database under your network policy rules.
Confirm whether your chosen container images and deployment method are covered by the vendor documentation for your release, since the official HA guidance describes the server cluster in general terms.
In an air-gapped network, Zabbix must be installed from media you have verified and cannot depend on external repositories, time sources or license servers during failover. Open-source Zabbix has no license fee or device limits, which simplifies procurement, but every dependency for the HA cluster must sit inside the isolated network. Failover logic itself does not require internet access, yet the surrounding tooling, certificates and database backups often do.
- Local package and image sources: Mirror every package, container image and dependency you need inside the enclave and keep them under change control.
- Time synchronization: Nodes need consistent clocks from an internal time source. Clock drift can complicate cluster state and monitoring timestamps.
- Certificates and authentication: Issue internal certificates for server, proxy and frontend traffic. If you use LDAP or SAML, confirm the identity provider is reachable inside the enclave.
- Backups and restore testing: Store database backups in the enclave and test restores, since you cannot pull a fresh copy from outside.
- Update path: Plan how security patches reach nodes, because failover does not replace the need for controlled upgrades.
Confirm the supported offline installation methods and database requirements for your Zabbix release with the vendor documentation and your security team before you schedule the build.
How to secure the HA cluster and its database
A high availability cluster multiplies the places where Zabbix holds access: every server node, the shared database, the frontend and every proxy and agent. The cards below cover the controls to set and verify across those points, and the hardening sibling covers the full configuration detail.
Database accounts and replication users
Each Zabbix server node connects to the same database, so give the cluster its own database account rather than reusing an administrator login. Keep the replication account separate from the application account, and restrict it to the replication source and replica hosts. Confirm which accounts can drop or alter the schema, since upgrades need that right only during a planned change window.
Zabbix requirementsLeast-privilege database users
The server account needs read and write access to the Zabbix schema, not superuser rights on the database engine. Review grants after every upgrade, because schema changes can alter what a role needs. Ask your database team to confirm that backup, monitoring and DBA accounts are separate from the Zabbix server account so one leaked credential does not expose every database.
Traffic between server nodes and the database
Server nodes and the database exchange monitoring data continuously, so the link needs encryption in transit and network restriction. Use the database engine's TLS option, allow only the server node addresses through firewall rules, and keep the database off any network segment that users or monitored hosts can reach directly. Verify the certificate chain on each node, not only on the first one you configure.
Frontend access through supported authentication
Zabbix supports internal, HTTP, LDAP, SAML and MFA authentication for the frontend. In a cluster, pick one method and apply it to every frontend instance behind the load balancer so a user cannot reach a weaker login path. Enable just-in-time provisioning only if your identity provider controls group membership, and confirm that disabled directory accounts lose Zabbix access.
Zabbix authenticationCredentials for proxies and agents
Proxies and agents hold their own identities and must not share a single credential across sites. Give each proxy a unique name and its own pre-shared key or certificate, and record which proxy belongs to which group. When a node is decommissioned or a proxy is rebuilt, revoke or rotate its credential, because a proxy group that fails over can still carry a stale identity if one entry is missed.
Proxy HA docsHardening detail and ownership
This section covers only what makes the HA layer safe to run. Encryption settings for server, proxy and agent traffic, frontend and API restrictions, role design and database hardening steps are in the Zabbix security hardening guide. Assign one owner for each credential and review the list quarterly, so access changes made during a failover event are reversed after the incident.
How to test that monitoring survives a node failure
The point of this test plan is to prove, before go-live, that losing any single component does not silently stop monitoring. Start with the Zabbix server cluster: in a test window, stop the active server node (for example, by stopping the zabbix-server service or powering the node off) and record the exact time. A standby node should take over once the active node exceeds the failover delay you configured, which can be anywhere from 10 seconds to 15 minutes. Compare the observed takeover time against that setting, and check the server log and the frontend's high availability nodes view to confirm which node is now active. Then verify that data collection resumes: check the latest item values, trigger evaluation and problem events for hosts that were polled during the gap. Expect a small window of missing values equal to the failover delay plus the takeover time. Confirm that this gap is the only one, and that no duplicate or stale problems remain open.
Test the proxy layer next, because it is where most remote-site outages happen. With proxy groups (Zabbix 7.0 and later), stop one proxy in a group that monitors a segmented network and confirm that its hosts are redistributed to the remaining proxies. Measure how long redistribution takes, and confirm that the proxy's buffered data is delivered once it returns, and that the host assignments rebalance when it comes back. Repeat the test at a realistic peak load for your environment, since a proxy group that works at idle may not have headroom at peak. Also test the fail-safe behavior: the database is the component that cannot be replaced by the cluster, so simulate its loss by stopping the active database node or the connection path from the server nodes. Confirm which operations halt, what the server logs say, and whether alerting resumes after your database failover completes. Confirm with your database vendor and your DBA how replication lag, promotion and reconnection are handled for the database you chose, and document the recovery steps, including who runs them and how long you expect them to take.
What to monitor, back up and document after go-live
This table lists the recurring operational tasks that keep a Zabbix high availability setup working after go-live, with the team that should own each one. Read it as a handover checklist: each row names what to watch or test, and the owner who should sign it off. The main takeaway is that the HA cluster only protects monitoring if the team checks the standby nodes, the database and the restore path on a schedule.
| Task | What to do | Owner |
|---|---|---|
| Monitor the HA nodes | Watch each server node's status, load and database connection, and alert when a standby stops being ready to take over | Platform engineering |
| Monitor database replication lag | Track replica lag and replication errors on the shared database platform, and alert before lag affects history recency | Database administration |
| Verify backup restores | Restore the Zabbix database to a separate host on a schedule and confirm the server starts and history is readable | Database administration |
| Run scheduled failover drills | Stop the active node in a test window, confirm failover within the configured delay, then record the time and any gaps in data | Platform engineering with monitoring owners |
| Plan upgrade order | Upgrade standby server nodes first, then the active node, then proxies and agents, following the vendor's documented order for the target version | Platform engineering |
| Track proxy group health | Confirm hosts redistribute when a proxy goes offline, and check that proxy queues and data arrive after recovery | Monitoring operations |
| Review failover settings | Check the failover delay and node configuration after each change, and confirm the values match the runbook | Platform engineering |
| Maintain the runbook | Document node names, failover delay, database endpoints, restore steps, drill results and contacts, and update them after every change | Service owner with platform engineering |
Questions teams ask before building Zabbix HA
How much effort does a Zabbix server HA build take?
Effort depends mainly on how many server nodes you run, how the shared database is built and made resilient, how many hosts and items you monitor, and how much of the surrounding platform (proxies, agents, alerting and monitoring of the HA setup itself) you bring into scope. Zabbix native HA is one feature of the server, so the core configuration is modest, but the database layer, network design, testing of failover and documented runbooks usually take the most time. Ask any partner for a fixed-scope quote built from a written list of nodes, database topology, sites and test cases. The Zabbix high availability documentation describes the server-side settings, which you can use to size the work yourself.
Can our team build Zabbix HA without a partner?
Yes, a team with Linux, database and Zabbix administration skills can build native server HA without an external partner. The official documentation covers the cluster model: several server nodes share one database, one node is active, and the others stand by. Teams usually need outside help when they lack database replication experience, need a formal test plan, or must produce evidence for an assessment. Zabbix open source has no license fee, so the cost of building it yourself is staff time, infrastructure and testing. Paid Zabbix technical support subscriptions are a separate decision that you can review against your own risk tolerance.
What does the work need from our staff and infrastructure?
Plan for staff who can run the operating systems, the database cluster, load balancers or virtual IPs, DNS, time synchronization and backups, plus someone who owns Zabbix configuration. Infrastructure needs include at least two server nodes, a database deployment that survives a node loss, and enough network separation to keep the agents and proxies reaching the active node. Confirm the supported database engines and versions against the Zabbix requirements before you order hardware or licenses for the database. Also confirm who approves changes during a failover test, since the test will interrupt monitoring.
How long does a Zabbix HA build usually take?
Duration depends on the number of environments (lab, pre-production, production), whether the database layer is new or existing, how many change approvals your organization requires, and how many failover and recovery tests you run before go-live. Build work is often short compared with design review, change windows and evidence gathering. Ask for a timeline with milestones for design sign-off, build, failover testing and handover, and check whether it includes time for a documented rollback. No general duration is stated by Zabbix for this work, so treat any figure you are given as an estimate tied to the scope.
Do proxy groups replace Zabbix server high availability?
No. Proxy groups and server HA solve different problems. Proxy groups, available from Zabbix 7.0, redistribute monitored hosts between proxies for load balancing and automatically move hosts when a proxy goes offline. Server HA lets several server nodes share one database, with one node active and the others on standby, and fails over when the active node exceeds the configured failover delay. A resilient design usually uses both: server HA protects the central processing and frontend, while proxy groups protect data collection at remote sites. Review the proxy load balancing and high availability documentation before deciding how to combine them.
Which database versions does Zabbix support for HA?
For Zabbix 7.4, the official requirements list MySQL or Percona 8.0.30 to 9.7, MariaDB 10.5 to 12.3, and PostgreSQL 13 to 18, with the TimescaleDB extension 2.13 to 2.29 available for PostgreSQL. SQLite is supported for proxies only, so it does not apply to a server HA cluster. Check the requirements page for the version of Zabbix you plan to run, since supported ranges change between releases. Also confirm that your chosen database replication or clustering product is compatible with the exact engine version you deploy, because Zabbix documentation does not cover every third-party replication setup.
Which Zabbix release line should an HA build target?
Plan the build on a Long Term Support (LTS) line where possible, because LTS releases are supported for five years, with three years of full support and two years of limited support. Zabbix 7.0 LTS was released on 4 June 2024, with full support until 30 June 2027 and limited support until 30 June 2029, according to the Zabbix life cycle and release policy. Zabbix 8.0 LTS is planned for Q4 2026. Confirm the current support dates on that page before you choose a version, and schedule any upgrade path into your HA plan from the start.
How DeployOpen scopes, builds and hands over Zabbix HA
DeployOpen plans and builds Zabbix high availability inside your own infrastructure, from the shared database and server nodes through to proxy groups. Each engagement starts with a written scope, then moves through build, testing, documentation and handover, with ongoing support available as a retainer.
How we scope
- Confirm the Zabbix version and support line, such as an LTS release, before any build starts.
- Agree in writing which server nodes, shared database engine and failover delay settings are in scope.
- Map which remote sites and proxies need grouping so host redistribution is designed in advance.
How we build
- Deploy two or more Zabbix server nodes against one shared database, with one active node and standbys.
- Set up database replication and backups so the shared database itself does not become the single point of failure.
- Configure proxy groups and test that hosts move to remaining proxies when a proxy goes offline.
How we hand over
- Test failover by stopping the active node and confirming standby takeover within the agreed delay.
- Document the cluster layout, failover delay settings, replication topology and recovery steps for your team.
- Deliver a runbook covering node replacement, database failover and proxy group changes after go-live.
How we support
- Offer ongoing support, upgrades and retesting of failover as a retainer after handover.
- Review cluster health, database capacity and proxy group balance on a schedule you agree.
- Retest the cluster after Zabbix upgrades or database changes to confirm failover still works.

