If multiple dependencies are set on a trigger, would it function in an ‘AND’ or an ‘OR’ manner?
Ad Widget
Collapse
Multiple Trigger Dependencies
Collapse
X
-
Neither. Trigger Dependencies are used for items in devices like Router -> PC. So when Router is first unreachable, PC will also be unreachable but you will get alert for only Router, because PC is depending on Router to stay up. But the order of dependency must be correct, you should go to PC host trigger and add Router item as its Dependency.
Manual Page
Forum post explaining Dependencies
When you create Dependencies within the same host but for different or related triggers (like in your example: Parent Trigger -> Agent not running, -> ICMP failed), It never works as you think it might. Which one will you think first triggers? They're all polling at either same time or a bit different from each other. -
registration_is_lame, Thanks for responding. I appreciate the links, but I am still confused on how to best make things work. The triggers I posted were created by a different team and I can not modify them myself. The ICMP check is as it would seem. The "agent not running" check, should be dependent on the ICMP check but isn't. The "agent not running" check verifies the ICMP ping then verifies no data from agent for x minutes, if ping was successful. If either negative situation occur, then I don't get data for my application and my trigger fires for my application being down.Comment
-
I get what is being asked here, because I have the same question. Do MULTIPLE dependencies use AND or OR logic?
My scenario is this: I have multiple core routers at multiple locations with private gigabit lines between them that utilize BGP for high resiliency. That also goes through a series of layer 3 switches that receiving their routing updates from the routers to determine which direction to go.
I want to add two different HSRP addresses to Zabbix trigger dependencies, and if EITHER of them are NOT triggered, I want the dependents to fire. However, if they are BOTH triggered, I want the dependents to be ignored, because there's a much bigger problem.
So back the original question, do MUTIPLE dependencies use AND or OR logic?Last edited by Brain2000; 22-08-2024, 17:51.Comment
Comment