-
New Feature Request
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Currently there is no ability to set individual thresholds on vmware datastores. I would like to be able to do this as we have multiple datastores.
I see on the Windows and Linux Templates the following Triggers
WINDOWS - Trigger Expression
min(/Windows by Zabbix agent updated dashboards/vfs.fs.dependent.size{#FSNAME},pused,5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSLABEL}({#FSNAME} )"}
Linux - Trigger Expression
min(/Linux by Zabbix agent updated dashboards/vfs.fs.dependent.size{#FSNAME},pused,5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}
However, the VMWARE Template (https://git.zabbix.com/projects/ZBX/...at=release/7.4)
Trigger Expression
last(/VMware/vmware.datastore.size{$VMWARE.URL},{#DATASTORE.UUID},pfree)<{$VMWARE.DATASTORE.SPACE.WARN}
Based on this it seems that you cannot create different thresholds for different datastores...
What I am wondering is, should the trigger have the {#DATASTORE.UUID} after the {$VMWARE.DATASTORE.SPACE.WARN}
Something like this
last(/VMware/vmware.datastore.size{$VMWARE.URL},{#DATASTORE.UUID},pfree)<{$VMWARE.DATASTORE.SPACE.WARN:"
"}
Note: I have tested the above on the VMware template and it seems to work. The change would also need to be done on the VMware Hypervisor, and VMware FQDN templates.