User macro is not working in webhook

XMLWordPrintable

    • Type: Problem report
    • Resolution: Cannot Reproduce
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Hello! ATM i'm use Zabbix 7.0.13 and faced with problem: macro is not resolves in webhook parameter value, like described in https://www.zabbix.com/documentation/current/en/manual/appendix/macros/supported_by_location_user#other-locations 

      Steps to reproduce:

      1. Create global macro like '{$MYMACRO}' = 'test'
      2. Create simple webhook with parameter which include this macro and has simple script like this:
      var params = JSON.parse(value);
      console.log('INIT: ' + JSON.stringify(params)); 

      Result:

      00:00:00.000 [Debug] INIT: {"parameter":"{$MYMACRO}"} 

      Expected:

      00:00:00.000 [Debug] INIT: {"parameter":"test"}  

            Assignee:
            Unassigned
            Reporter:
            Evgeny Semerikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: