I'm trying to get an aggregated value over the latency from all datastores from all ESXi hosts.
I tried these variants of the grpmax
aggregation function:
grpmax["Hypervisors","vmware.hv.datastore.read[{$URL},{HOST.HOST},,latency]",avg,600]
grpmax["Hypervisors","vmware.hv.datastore.read[,,,latency]",avg,600]
But for both I'm getting the error message:
Incorrect function expression: grpmax["Hypervisors","vmware.hv.datastore.read[,,,latency]",avg,600]
How do I have to enter the keys so that zabbix finds them in the aggregation?
The keys of the items I want to aggregate look like this:
vmware.hv.datastore.read[{$URL},{HOST.HOST},datastore1,latency]
vmware.hv.datastore.read[{$URL},{HOST.HOST},datastore2,latency]
vmware.hv.datastore.read[{$URL},{HOST.HOST},datastore3,latency]
You can only aggregate items with the same key. In your example, you have
datastore1
,datastore2
anddatastore3
. Zabbix aggregate items do not support wildcards, there is a feature request to allow that.