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

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.0.5
    • None
    • Frontend (F)
    • None

    Description

      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

       

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: