Hello,
I have Zabbix 5.0.22 with mysql database.
A couple of times in the past 6 months I have noticed that when a trigger triggers, the actions for it get executed twice, while the recovery actions get execute only once. This is not isolated to one trigger, so far I have seen several triggers do it.
These triggers trigger quite often and work exactly as expected - execute script on problem, execute script on recovery, except these two times, when the script on problem was executed twice(and also mails to people were sent twice) and only once on recovery(which is what I would normally expect).
Even stranger is the fact that when I look through "Monitoring -> problems" I see that there are 16 actions executed on problem and 8 on recovery(normal is 8 on problem and 8 on recovery), but when I go to "Reports -> actions" I don't see the duplicate actions on Problem. Checking the database I see them - two actions for the same eventid for the same actionid, but 4 seconds apart.
Has anyone had similar issue? What log can I check? I can't leave the zabbix_server.log on debug for too long and the issue doesn't appear that often...
Below are some screenshots showing what I see in Problems and in the database.
I have Zabbix 5.0.22 with mysql database.
A couple of times in the past 6 months I have noticed that when a trigger triggers, the actions for it get executed twice, while the recovery actions get execute only once. This is not isolated to one trigger, so far I have seen several triggers do it.
These triggers trigger quite often and work exactly as expected - execute script on problem, execute script on recovery, except these two times, when the script on problem was executed twice(and also mails to people were sent twice) and only once on recovery(which is what I would normally expect).
Even stranger is the fact that when I look through "Monitoring -> problems" I see that there are 16 actions executed on problem and 8 on recovery(normal is 8 on problem and 8 on recovery), but when I go to "Reports -> actions" I don't see the duplicate actions on Problem. Checking the database I see them - two actions for the same eventid for the same actionid, but 4 seconds apart.
Has anyone had similar issue? What log can I check? I can't leave the zabbix_server.log on debug for too long and the issue doesn't appear that often...
Below are some screenshots showing what I see in Problems and in the database.
Comment