Ad Widget

Collapse

regsub or iregsub in message templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blinkiz
    Junior Member
    • Mar 2011
    • 27

    #1

    regsub or iregsub in message templates

    It does not seem to work to use regsub or iregsub in message templates. Like in email messages.
    Am I doing something wrong or is it not supported in this location?

    Macro like {EVENT.NAME} works but not {{EVENT.NAME}.regsub("(.*)", "Testing: \1")}.

    Using Zabbix 5.0.3
Working...