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

Cannot evaluate expression: no input data for function at "sum(avg_foreach...

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.4.15
    • None
    • None

      Hello!

      Steps to reproduce:

      I'm have a lot of hosts with CPU discovery, this discovery produces few items, with keys like this:

      x5.hw.redfish.systems.processors.cores[/redfish/v1/Systems/1/Processors/1]
      x5.hw.redfish.systems.processors.cores[/redfish/v1/Systems/1/Processors/2]

      In my case I need to sum values from this items. For this I create a calculated item

      x5.hw.common.cpu.cores.count

      with formula:

      sum(last_foreach(//x5.hw.redfish.systems.processors.cores[*]))

      Result:

      Expected:
      This two items is returm value 18. Expected to see 36 in calculated item without error of not supporting.

            edgar.akhmetshin Edgar Akhmetshin
            Evgeny.Semerikov@x5.ru Evgeny Semerikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: