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

Request to Update Trigger expression Documentation (Function parameters)

XMLWordPrintable

    • Documentation backlog
    • 1

      The description of "Function parameters" on the following page states:
      "If a host is omitted (i.e. as in function(//key,parameter,...)), the function will reference the current host."

      URL: https://www.zabbix.com/documentation/7.0/en/manual/config/triggers/expression#function-parameters

      My understanding and testing, this // syntax (to omit the host name) does not work in actual trigger expressions.

      I tested it with the following:

      hostname : test
      itemkey : test.item
      Trigger Expression(before) : last(/test/test.item)=0
      Trigger Expression(after) : last(//test.item)=0

      Trigger Expression (after) cannot be saved and an error occurs.

      Invalid parameter "/1/expression": incorrect expression starting from "last(//test.item)=0".
      

      Could you please confirm if this documentation description is accurate?

            afediuk Andrii Fediuk
            hnishida Hibiki Nishida
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: