Ad Widget

Collapse

Discovery Cannot create item error in formula

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Discovery Cannot create item error in formula

    I have an LLD that uses the following prototype, a calculated item.
    Code:
    sum(last_foreach(/host1/*?[tag="IPGroup:{#IPGROUP.NAME}" and tag="CAPS:out"]))
    +
    sum(last_foreach(/host2/*?[tag="IPGroup:{#IPGROUP.NAME}" and tag="CAPS:out"]))

    When I run the discovery, it gives me an error.
    "Cannot create item, error in formula: Invalid item key at position 0."

    Click image for larger version

Name:	image.png
Views:	235
Size:	20.6 KB
ID:	473654

    It seems to me that the formula is correct.
    Any idea of what's going on?​
Working...