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-W22/23

      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
          image-2025-05-21-09-32-51-570.png
          28 kB
        2. image-2025-05-21-09-33-28-227.png
          image-2025-05-21-09-33-28-227.png
          22 kB
        3. script.png
          script.png
          10 kB
        4. Test item.png
          Test item.png
          26 kB

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

              Created:
              Updated: