Steps to reproduce:
- Any trigger raise problem event
- Resolve problem
- OK event is generated, problem automatically closed
- Get raised events via API, field c_eventid is NULL
- Events in database:
- Database event_recovery:
- Call of event.get API result:
On our environments field c_eventid is always empty for OK event after resolving any problem.
I've attached what we have in database and what we get by calling event.get API.
By documentation (https://www.zabbix.com/documentation/4.0/ru/manual/api/reference/event/object) we except following:
Value of r_eventid is correct for problem event but c_eventid is always empty.
Also there is no errors in postgresql logs during reproducing this problem.
Could you please advise what is possible cause of this behavior? Is our expectation about system behavior correct? Is any additional configuration needed?