Ad Widget

Collapse

Wildcards in LLD keys: Cannot evaluate function: item ... does not exist at ...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ivo Palli
    Junior Member
    • Jul 2021
    • 13

    #1

    Wildcards in LLD keys: Cannot evaluate function: item ... does not exist at ...

    Hiya,

    I've got 3 LLD items:
    • ssh.run[myvalue_item1]
    • ssh.run[myvalue_item2]
    • ssh.run[myvalue_item3]
    and I want to sum them. However,

    sum(last_foreach(//ssh.run[myvalue_*]))

    gives error:

    Cannot evaluate function: item "/test_host/ssh.run[myvalue_*]" does not exist at "last_foreach(//ssh.run[myvalue_*]))


    Any idea how I can do this?
  • Ivo Palli
    Junior Member
    • Jul 2021
    • 13

    #2
    If it's not possible, I'd like to hear that as well..

    Comment

    Working...