shorts / zabbix · May 10, 2022 0

Shorts – How to define a trigger that works across two hosts

Defining a trigger is usually one of the most important things in Zabbix. Usually the item is used to display the information you need to see in Zabbix. Based on that text a trigger should be created in order to push the important data to your personal mailbox, sms or so. In this tutorial we will define a trigger which is taking the data from two hosts.

Setup the trigger will be as follows:

First server has a condition which has to be true and the second server as well. Then both conditions should be wrapped in one and if those are met then the trigger will report the issue.

({server1:item.name.iregexp(test)}=1 and {server2:item.name.iregexp(test)}=1)=1