LLD-Macro not resolved in Trigger-Function

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • None
    • Environment:
      Debian 8 Server, Zabbix 3.0.1

      I'm starting using Context-Macros in LLD-Templates.
      When I use the following-Syntax:

      {Alcatel Lucent Router - General:ALUIClagsifLoadIN[{#SNMPINDEX}].count(30m,{$AVG_MAXLOAD_ICUPGRADE:"{#SNMPINDEX}"},gt)}>5
      

      {#SNMPINDEX} will not be resolved within the function:

      {edge01:ALUIClagsifLoadIN[1342177307].count(30m,{$AVG_MAXLOAD_ICUPGRADE:"{#SNMPINDEX}"},gt)}>5 
      

      If I use the same statement outside a function:

      {Alcatel Lucent Router - General:ALUIClagsifLoadIN[{#SNMPINDEX}].max(20h)}>{$AVG_MAXLOAD_ICUPGRADE:"{#SNMPINDEX}"}
      

      it will be resolved correctly:

      {edge01:ALUIClagsifLoadIN[1342177307].max(20h)}>{$AVG_MAXLOAD_ICUPGRADE:"1342177307"}
      

            Assignee:
            Unassigned
            Reporter:
            Kay Schroeder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: