Ad Widget

Collapse

Trigger with dependency fires after parent trigger recovers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aeb
    Junior Member
    • Feb 2026
    • 1

    #1

    Trigger with dependency fires after parent trigger recovers

    Hi,

    I am trying to to debug an issue where an ICMP down trigger with a dependency of another hosts ICMP down trigger fires in the moment the parent trigger recovers, even if the condition of the dependent trigger is not met for a couple of iterations.
    I've also tried to implement the solution from here: https://www.zabbix.com/forum/zabbix-...886#post481886
    But that just makes it more weird.

    Given this trigger action:
    Code:
    Details                                                           Start in      Duration
    Send message to user groups: Zabbix administrators via all media  00:01:30      Default
    Parent device "switch" has a trigger with problem and recovery expression:
    Code:
    Problem: max(/switch/icmpping,#3)=0
    Recovery: min(/switch/icmpping,#3)=1
    Child device "server" has a trigger with only a problem expression and is depending on the switches ICMP down trigger:
    Code:
    Problem: max(/server/icmpping,#3)=0
    Now the switch goes down and Zabbix fires a trigger action for the problem and also for the recovery:
    Code:
    Parent device "switch":
    2026-02-22 01:53:36 PM  Up (1)
    2026-02-22 01:54:36 PM  Up (1)
    2026-02-22 01:55:36 PM  Down (0)
    2026-02-22 01:56:36 PM  Down (0)
    2026-02-22 01:57:36 PM  Down (0)
    2026-02-22 01:58:36 PM  Down (0)
    2026-02-22 01:59:36 PM  Down (0) -> Problem Trigger Action fires: "Problem started at 01:57:36"
    2026-02-22 02:00:36 PM  Down (0)
    2026-02-22 02:01:36 PM  Up (1)
    2026-02-22 02:02:36 PM  Up (1)
    2026-02-22 02:03:36 PM  Up (1)  -> Recovery Trigger Action fires: "Problem has been resolved at 02:03:36"
    2026-02-22 02:04:36 PM  Up (1)
    2026-02-22 02:05:36 PM  Up (1)​
    A problem trigger action is not fired for the dependent server. This is what I want and until here everything is how I expected it to be.
    But after the parent device recovers, the problem trigger does fire for the child device, only to recover shortly afterwards, even though it has been up again for a few check iterations:

    Code:
    Child device "server"
    2026-02-22 01:53:27 PM Up (1)
    2026-02-22 01:54:27 PM Up (1)
    2026-02-22 01:55:27 PM Down (0)
    2026-02-22 01:56:27 PM Down (0)
    2026-02-22 01:57:27 PM Down (0)
    2026-02-22 01:58:27 PM Down (0)
    2026-02-22 01:59:27 PM Down (0)
    2026-02-22 02:00:27 PM Down (0)
    2026-02-22 02:01:27 PM Up (1)
    2026-02-22 02:02:27 PM Up (1)
    2026-02-22 02:03:28 PM Up (1) -> Problem Trigger Action fires: "Problem started at 01:57:27"
    2026-02-22 02:04:27 PM Up (1) -> Recovery Trigger Action fires: "Problem has been resolved at 02:04:27"
    2026-02-22 02:05:27 PM Up (1)
    ​
    Edit: I'm on Zabbix 7.4.2.
    Does anyone have an idea why that's happening?

    Thank you and all the best,
    aeb
    Last edited by aeb; Yesterday, 18:44.
Working...