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

User macros with context not working after update

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.9
    • Frontend (F)
    • Debian 11.5, PHP 7.4.30, MariaDB 10.5.15

      We use macros with context in name of item prototypes.

      example name of item:

      {$ABC:"{#SNMPINDEX}"}

      example macro:

      {$ABC:1} >> itemname1

      After Update of Zabbix from 5.0.4 over 5.0.28 to 6.0.9 result is {$ABC:"1"} and not itemname1 anymore.

      We don't see relevant differences in documentation, so think it should work in v6 too.
      https://www.zabbix.com/documentation/5.0/en/manual/config/macros/user_macros_context
      https://www.zabbix.com/documentation/6.0/en/manual/config/macros/user_macros_context

      Could you help?

            zabbix.support Zabbix Support Team
            SmetsysOver SmetsysOver
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: