Hello,
we are running a Zabbix-HA Cluster (2 Zabbix-Servers) which connect to a Patroni (Postgres) cluster through a Load Balancer.
But when a fail over happens on the postgres cluster the primary Zabbix Server ends up in a read-only transaction which generates a lot of Errors in the Serverlog. Is there any way to detect this behavior and failover the cluster to the secondary node?
Note that we did not noticed this error since the zabbix server was unable to send Notifications since they also end up in the readonly transaction and so they were never written to the database and also never send. We just randomly found huge log files on the zabbix server.
Zabbix Server Version: zabbix_server (Zabbix) 6.0.8
we are running a Zabbix-HA Cluster (2 Zabbix-Servers) which connect to a Patroni (Postgres) cluster through a Load Balancer.
But when a fail over happens on the postgres cluster the primary Zabbix Server ends up in a read-only transaction which generates a lot of Errors in the Serverlog. Is there any way to detect this behavior and failover the cluster to the secondary node?
Note that we did not noticed this error since the zabbix server was unable to send Notifications since they also end up in the readonly transaction and so they were never written to the database and also never send. We just randomly found huge log files on the zabbix server.
Zabbix Server Version: zabbix_server (Zabbix) 6.0.8
Comment