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

Global macros are not resolved inside of "regsub" function

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 7.0.12
    • None
    • None

      Customer reports that after upgrading from 5.0 to 7.0 their global user macros are no longer being resolved inside of regsub functions.

      Example:

      {{#COS}.regsub([0-1],{$STRING_BE})}
      

      Previously, in Item prototypes this worked as expected, and resolved the macro.

      This change was not mentioned anywhere, so I am assuming this is a bug.

        1. configuration-list-5.0.png
          configuration-list-5.0.png
          30 kB
        2. configuration-list-7.0.png
          configuration-list-7.0.png
          31 kB
        3. created-item-5.0.png
          created-item-5.0.png
          43 kB
        4. created-item-7.0.png
          created-item-7.0.png
          43 kB
        5. global-macros-5.0.png
          global-macros-5.0.png
          28 kB
        6. global-macros-7.0.png
          global-macros-7.0.png
          28 kB
        7. item-prototype-5.0.png
          item-prototype-5.0.png
          46 kB
        8. item-prototype-7.0.png
          item-prototype-7.0.png
          45 kB
        9. latest-data-5.0.png
          latest-data-5.0.png
          22 kB
        10. latest-data-7.0.png
          latest-data-7.0.png
          23 kB

            zabbix.dev Zabbix Development Team
            tbross Tomass Janis Bross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: