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

Expression macro might get expanded using wrong item values

    XMLWordPrintable

Details

    • Team B
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.5

    Description

      If expression macro holds functions with {HOST.HOST} macro (or its indexed version) then  value of the first item will be used for all of them. 

      Steps to reproduce:

      1. Create two items on a single host: system.uptime and system.cpu.util
      2. Create trigger and action for that trigger with custom message:
      Uptime: {?last(/{HOST.HOST}/system.uptime)}
      CPU usage: {?last(/{HOST.HOST}/system.cpu.util)}
      1. Fire a trigger

      Result:

      Uptime: 10712
      CPU usage: 10712

      Expected:

      Uptime: 10712
      CPU usage: 11.154913

      Caused by ZBX-21266

      Attachments

        Issue Links

          Activity

            People

              asestakovs Aleksejs Sestakovs
              asestakovs Aleksejs Sestakovs
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: