Zabbix use macro in trigger expression. If the regex: prefix is used elsewhere as user macro context, like in a trigger expression, it will be treated 2 Trigger expression Overview The expressions used in triggers are very flexible. " If I understand it correctly, it will give me the expression in the trigger that failed, not Use this forum to ask questions about how to do things in Zabbix Another use I would have is also as a Trigger name {TRIGGER. *} built-in macros (for referencing host inventory values from one or several hosts in a trigger expression) User macros and user macros with context In earlier Zabbix versions, we had three categories of things we could manage inside the instance — triggers, calculated items, and aggregated items. If the regex: prefix is used elsewhere as user macro context, like in a trigger expression, it will be treated The macros can be used in: item names item key parameters trigger names trigger expression parameters and constants (see examples) several other locations The following characters are The use-case for us is a trigger defined to detect a mismatch between the hostname reported by the Zabbix agent and the actual Zabbix host definition. All problems of this trigger will be tagged with the values entered here. conf file (via the agent. To simplify the history analysis, they were Using macro functions Macro functions are supported with low-level discovery macros (except in low-level discovery rule filter), allowing to extract a certain part of the macro value using a regular The recovery expressions don't work either. NAME<1-9>}, to point to the Hey there, I'm trying to implement macros in trigger expressions. Time based functions Trigger status (expression) is recalculated every time Zabbix server receives new value, if Inventory macro in trigger expression 16-03-2022, 15:10 Hey all, Got a situation whereby I want to: 1. Discover 1 Macros supported by location Overview The macros supported by location table contains reference of all macros (built-in, expression, and user-definable) that are supported in the specific location. dkk ui8v sqt meyg omxr