Hello,
i'm trying to evolve the VMware ESX Standalone Template ans I have difficulties to create an item prototype calculated on Zabbix 3.4.7
Here are the working values:
The Discovery Rules:
Name: Datastore discovery
Type: Simple check
Key:
Working: Yes
The 2 items needed for my item prototype calculation:
Name: Free space on datastore $3
Type: Simple check
Key:
Working: Yes
Name: Total size of datastore $3
Type: Simple check
Key:
Working: Yes
My calculated item prototype that is not working:
Name: Used space on datastore $3
Type: Calculated
Key:
Working: No
Formula:
I have try several combination but cannot find the way to write the good formula...
Any help is welcome
i'm trying to evolve the VMware ESX Standalone Template ans I have difficulties to create an item prototype calculated on Zabbix 3.4.7
Here are the working values:
The Discovery Rules:
Name: Datastore discovery
Type: Simple check
Key:
vmware.hv.datastore.discovery[{$URL},{$UUID}]
The 2 items needed for my item prototype calculation:
Name: Free space on datastore $3
Type: Simple check
Key:
Code:
vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE},free]
Name: Total size of datastore $3
Type: Simple check
Key:
Code:
vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE}]
My calculated item prototype that is not working:
Name: Used space on datastore $3
Type: Calculated
Key:
Code:
vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE}]
Formula:
Code:
last("vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE}]")-last("vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE},free]")
Errors: Cannot create item: Invalid first parameter "vmware.hv.datastore.size[{$URL},{$UUID},{#DATASTORE}"
Any help is welcome

Comment