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

Macro funcitons aren't working on map element labels

XMLWordPrintable

    • Sprint 103 (Aug 2023)
    • 1

      Steps to reproduce:

      Create any map element

      Use any float item into the label with fmtnum macro function usage to limit digits after the comma, as it had been described into documentation

      https://www.zabbix.com/documentation/current/en/manual/config/triggers/expression#example-17

      Example

      Load: {{?last(/Zabbix server/system.cpu.load[all,avg5])}.fmtnum(1)} 

      Result - Expression Macro working, trigger function not

      Expected

      Expression macro is allowed to use in map element labels, macro functions should work as well

      Similar behavior on 6.0.0-6.0.5 versions

       

            sasha Alexander Vladishev
            igorbach Igor Gorbach
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: