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

User macro is not resolved in the item test dialog if it is entered as a parameter of the item key

XMLWordPrintable

    • S24-W16/17
    • 0.25

      "Invalid third parameter." error appears in the item test dialogue, in case if user macro is used as a parameter of the item key.

      Steps to reproduce:
      1. Create a new host with user macro (f.e: {$TEST} and Value: maintenance) ;
      2. Create a new item for this host with created macro in parameters (f.e: with Type "Zabbix internal" and Key zabbix[host,,{$TEST}]) ;
      3. Test the item: press the "Test" button in the item configuration form and then press the "Get value and test" button.

      Result:
      "Invalid third parameter." error appears:

      Expected:
      Result should be retrieved.

        1. z.png
          z.png
          89 kB
        2. za.png
          za.png
          41 kB

            jfreibergs Janis Freibergs
            jiljina Juliana Iljina
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h