Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11797

Problem with {$MACRO:context} in trigger names

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 3.2.3
    • API (A), Frontend (F)
    • CentOS Linux 7 Server, release 7.3.1611

      Hello, Team!

      I have a problem with trigger names on a host, when i use {$MACRO:context}
      1) I created a Template with Discovery (LLD by SNMP OID).

      2) Then I attached him to host (gw01) and got this result:

      3) In Template I have a macro ({$LOSS_LIM_UP} => 25) for all items:

      4) Then I change macro with context on the host: {$LOSS_LIM_UP:"451"} => 10 and saw this result:

      5) Add {$LOSS_LIM_UP:"452"} => 15 and saw result:

      On the screenshot it seen that {$LOSS_LIM_UP:"451"} was changed to {$LOSS_LIM_UP} value.

      6) Then I set macro {$LOSS_LIM_UP} => 5 (for example) on the host.
      Eventually i got next:
      and

      As snmp request it looks so:

        1. gw01.png
          50 kB
          Alexander
        2. snmp_oid.png
          11 kB
          Alexander
        3. trigger_prot.png
          59 kB
          Alexander
        4. triggers_2.png
          80 kB
          Alexander
        5. triggers_3.png
          24 kB
          Alexander
        6. triggers_4.png
          24 kB
          Alexander
        7. triggers_5.png
          25 kB
          Alexander
        8. triggers.png
          124 kB
          Alexander

            Unassigned Unassigned
            Jinal'da Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: