Hi, how to tweak a calculated item formula to achieve the following? I have a template that includes LLD item prototypes currently working on Zabbix 6.2.6.
On the hosts using the template I would like to sum values from their own LLD item prototypes, so I created a new calculated item as part of the template (not prototype), but it's not working yet.
I've changed the formula with small variations but none worked. Thanks
Template calculated item. Formulas tried:
sum(last_foreach(//prefixKey[*]))
sum(last_foreach(/{HOST.HOST}/prefixKey[*]))
Item prototype:
On the hosts using the template I would like to sum values from their own LLD item prototypes, so I created a new calculated item as part of the template (not prototype), but it's not working yet.
I've changed the formula with small variations but none worked. Thanks
Template calculated item. Formulas tried:
sum(last_foreach(//prefixKey[*]))
sum(last_foreach(/{HOST.HOST}/prefixKey[*]))
Item prototype:
Discovery rule macros: {#ITEMVAR} {#ITEMNUM}
Comment