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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 6.4.15
    • Component/s: 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.

            Assignee:
            Edgar Akhmetshin
            Reporter:
            Evgeny Semerikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: