Reputation: 150
Let's say I have two hosts. One is a firewall and the other one a L2 device. I set ping check items with different time interval. 1-minute interval for firewall, and 5-minute interval for L2. And I also set triggers for both of them just to be informed when there is a disconnection or error. And the FW trigger is dependent on L2 trigger. If there is a problem in FW, I should get a notification of that trigger, and if there is a problem in L2, I should get one notification from L2 trigger only. However, I am just curious how this works even though their ping check time intervals are not the same. Regardless the time interval difference, does Zabbix check L2's ping right after it detects any problem in FW so that it determines whether the problem is from L2 or not?
Upvotes: 0
Views: 511
Reputation: 2113
The notification depends on the action steps, it can be sent immediately at problem creation or after N minutes.
The problem creation depends on the triggers creation and dependancy.
The trigger depends on both the interval checks and the trigger condition.
For instance, you can set itemX at 1m and itemY at 5min for ping loss. If you create a trigger that checks only the .last()
value then disconnect the cables from X and Y: ideally you'll see a trigger after one minute and the second one after 4 more minutes (and the dependancy will kick in).
It will work even with an average check of the last N minutes etc.
However, I advise not to do anything similar in production unless you want an headache
Upvotes: 1