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

Inventory macros not being translated in Script type items

XMLWordPrintable

    • S25-W34/35, S25-W36/37, S25-W40/41, S25-W42/43, S25-W46/47
    • 1

      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";

      https://www.zabbix.com/documentation/7.0/en/manual/appendix/macros/supported_by_location#host-inventory

       

       

       

        1. image-2025-05-21-09-32-51-570.png
          28 kB
          Sjors Hoefmans
        2. image-2025-05-21-09-33-28-227.png
          22 kB
          Sjors Hoefmans
        3. Test item.png
          26 kB
          Sjors Hoefmans
        4. script.png
          10 kB
          Sjors Hoefmans
        5. deprecatedMacroNotResolved.mp4
          44.82 MB
          Sanija Smildzina
        6. disabledInventoryDifferentBehaviour.mp4
          49.38 MB
          Sanija Smildzina

            msnihach Maksym Snihach
            SjorsH Sjors Hoefmans
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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