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

Incorrect indexed macros description

    XMLWordPrintable

    Details

    • Type: Documentation task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4 (plan)
    • Component/s: Documentation (D)
    • Labels:
      None
    • Team:
      Team D
    • Story Points:
      0.5

      Description

      https://www.zabbix.com/documentation/current/manual/appendix/macros/supported_by_location

      {ITEM.VALUE}

       and {ITEM.LASTVALUE} macro description

      The description is wrong, because these macros reference to first, second, third, etc item in a trigger expression.

      This macro may be used with a numeric index e.g. {ITEM.VALUE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
      

      It is still correct for all  {HOST.*} macros, because they reference a host.

      The INDEXED MACROS section at the bottom of the page is incomplete, it talks only about hosts

      INDEXED MACROS
      The indexed macro syntax of {MACRO<1-9>} is limited to the context of trigger expressions. It can be used to reference hosts in the order in which they appear in the expression. Macros like {HOST.IP1}, {HOST.IP2}, {HOST.IP3} will resolve to the IP of the first, second and third host in the trigger expression (providing the trigger expression contains those hosts).
      

        Attachments

          Activity

            People

            Assignee:
            mgeneralova Marina Generalova
            Reporter:
            kaspars.mednis Kaspars Mednis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: