Zabbix 5.0.19 on postgresql, alert message aren't posted and found error in server.log: PGRES_FATAL_ERROR: ERROR: duplicate key value violates unique constraint "alerts_pkey"
I think it may be a bug. In order to make alert action work, I remove "alerts_pkey" constraint in talbe "alerts", Then alert message posted successfully, but I found new errors in server.log, more primary key conflicts, eg:
events_pkey, escalations_pkey, event_recovery_pkey etc.
How to solve the problem? Does the zabbix on postgresql have bug?
I think it may be a bug. In order to make alert action work, I remove "alerts_pkey" constraint in talbe "alerts", Then alert message posted successfully, but I found new errors in server.log, more primary key conflicts, eg:
events_pkey, escalations_pkey, event_recovery_pkey etc.
How to solve the problem? Does the zabbix on postgresql have bug?
Things happen sometimes... But GIYF...
Start for example from here ..
Comment