Ad Widget

Collapse

Functions in Zabbix messages doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • viktorzzz
    Junior Member
    • May 2020
    • 18

    #1

    Functions in Zabbix messages doesn't work

    In Zabbix version 5.0 used macros and functions in messages in trigger actions. For example: 'Max in 30m cnt: {{HOST.HOST}:{ITEM.KEY}.max(30m)}'
    When an event occurred, received the maximum value for the last 30 minutes in the message.

    After migration to 6.0, functions in this form in messages stopped working. The documentation for Zabbix 6.0 suggests writing functions in the form: max(/{HOST.HOST}/{ITEM.KEY},15m)
    But it doesn't work. I get messages like: 'max(/hostname/item_name, 15m). The node name is substituted, the item name is substituted, but the function does not work. Is something broken or am I missing something? How to make functions work again in trigger events in custom messages?
Working...