Ad Widget

Collapse

Actions for trigger problem got triggered twice

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gnik
    Junior Member
    • Mar 2020
    • 13

    #1

    Actions for trigger problem got triggered twice

    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.

    Attached Files
  • gnik
    Junior Member
    • Mar 2020
    • 13

    #2
    Anyone, any idea? In any case, if someone has this issue in the future I will log my findings here. It turned out that not only "problem" actions get sometimes executed twice, sometimes "resolve" actions get executed twice. So far I haven't seen a specific time window when it happens - the time seems random. I will start the server with debug logs and hope I catch something before I run out of space.

    Comment

    • huyNguyen
      Junior Member
      • Dec 2024
      • 2

      #3
      I have encountered the same problem as well, do you have any findings on this?

      Comment

      Working...