After trying this in all variants for the last 2 days, I give up...
I created an item "Inbound" in a host..
Works fine. Displays graph and so on.
Then I like to calculate an average over "Inbound" for 600 seconds so I created another Item named "AverageInbound":
Result:
"Cannot evaluate function [avg(60)]: item [donald.:Inbound] not found"
I tried it in different flavours. With " and without.
It works when I move "net.if.in[{$IF.NAME}]" into the formula, but this is not welcome.
Is there any chance to use an item in a calculated item?
Bernd
I created an item "Inbound" in a host..
Code:
Host: donald
Name: Inbound
Type: Zabbix agent
Key: net.if.in[{$IF.NAME}] (user macro defined as "eth0")
Host interface: the agent
Type of information: Numeric (unsigned)
Data type: Decimal
Units: bps
Multiplier: 8
Then I like to calculate an average over "Inbound" for 600 seconds so I created another Item named "AverageInbound":
Code:
Host: donald
Name: AverageInbound
Type: Calculated
Key: AvgIn
Formula: avg("donald:inbound",600)
"Cannot evaluate function [avg(60)]: item [donald.:Inbound] not found"
I tried it in different flavours. With " and without.
It works when I move "net.if.in[{$IF.NAME}]" into the formula, but this is not welcome.
Is there any chance to use an item in a calculated item?
Bernd
Comment