Why use two Zabbix servers?
If monitoring runs on only one server, a server outage can also interrupt alert visibility. I therefore configured two Zabbix Server nodes in an active/standby arrangement. Under normal conditions, Zabbix1 is active and Zabbix2 waits in standby. The configured HA failover delay is 60 seconds; actual failover timing and success require separate testing.
Components used
MariaDB has one primary and one replica instance. HAProxy provides a defined database access endpoint for the Zabbix nodes. I also added Grafana dashboards to present monitoring data more clearly.
How did I verify the running setup?
- Zabbix HA: I confirmed that one node was
activeand the other wasstandby. - Database: I checked that the primary database was writable (
read_only=0). - Replication: I confirmed that IO and SQL replication threads were running and the measured lag was
0seconds at the time of the check. - Connectivity: I verified that HAProxy was running, listening on the database port and able to reach the primary via TCP.
- Dashboards: I used the Grafana views created for system and network monitoring.
An important distinction
Having two Zabbix application nodes does not make every component highly available. MariaDB replication alone does not provide automatic database failover. HAProxy and Grafana also need their own availability plans. Therefore, I verify HA status, the database and dashboards independently rather than assuming the whole stack is redundant.
Summary: I observed a working active/standby setup with healthy replication. I view this as an infrastructure that still needs regular checks and further tests, not a guarantee of uninterrupted service in every failure scenario.