Inventory macros not being translated in Script type items

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 6.0.12, 6.2.6
    • Component/s: Documentation (D)
    • None

      When trying to create a script type item, using any inventory macro as a parameter, and using as script

      return value; 

      the returned value is

      "Parameter: {macro}", without translating it to the macro value, even tho the documentation mentions that this kind of macros are supported in "Script-type items"

      Item configuration

      Test

      Host Inventory

       

        1. image-2023-01-25-12-09-04-391.png
          42 kB
          Francys Nivea
        2. image-2023-01-25-12-10-34-354.png
          46 kB
          Francys Nivea
        3. image-2023-01-25-12-11-32-707.png
          27 kB
          Francys Nivea
        4. image-2023-01-26-18-50-59-819.png
          12 kB
          LivreAcesso.Pro
        5. image-2023-02-14-17-35-18-074.png
          41 kB
          Alexander Vladishev
        6. screenshot-1.png
          34 kB
          Alexander Vladishev
        7. screenshot-2.png
          52 kB
          Alexander Vladishev

            Assignee:
            Zabbix Development Team
            Reporter:
            Francys Nivea (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: