I have a problem with a Calculated item.
Scenario: I have 2 hosts on which I created 1 item which gives me the total amount of bandwidth used by the host.
Item setting
Key: net.if.total[enp2s0]
Preprocessing:
Custom multiplier 8
Change per second
Everything works fine However,
I am unable to add these values Setting items calculated
I created a new host and added calculated item
Key: item.value.sum
Formula: last(/host1/net.if.total[enp2s0].value + last(/host2/net.if.total[enp2s0].value
Preprocessing: Custom multiplier 8
Change per second
result:
Incorrect value for field "Formula": incorrect expression starting from "last(/host1/ net.if.total[enp2s0]) + last(/host2/net.if.total[enp2s0].value)".
Scenario: I have 2 hosts on which I created 1 item which gives me the total amount of bandwidth used by the host.
Item setting
Key: net.if.total[enp2s0]
Preprocessing:
Custom multiplier 8
Change per second
Everything works fine However,
I am unable to add these values Setting items calculated
I created a new host and added calculated item
Key: item.value.sum
Formula: last(/host1/net.if.total[enp2s0].value + last(/host2/net.if.total[enp2s0].value
Preprocessing: Custom multiplier 8
Change per second
result:
Incorrect value for field "Formula": incorrect expression starting from "last(/host1/ net.if.total[enp2s0]) + last(/host2/net.if.total[enp2s0].value)".
Comment