Hi everyone,
I'm encountering an issue with Low-Level Discovery (LLD) in Zabbix while using the VMware Guest Template for monitoring virtual machine disk space. The problem occurs when trying to create triggers based on the disk paths discovered by LLD macros, and I keep seeing the following error messages:
The trigger prototype:
The issue seems to stem from LLD returning disk paths like C:\ and D:\, where Zabbix doesn't accept the backslash (\) at the end of these strings in the trigger expression.
Context:
Has anyone else encountered this issue when working with VMware Guest Templates and LLD macros in Zabbix? Is there a recommended workaround or a better way to handle the backslashes in these disk paths when creating triggers?
Any advice or guidance would be greatly appreciated!
Thank you!
I'm encountering an issue with Low-Level Discovery (LLD) in Zabbix while using the VMware Guest Template for monitoring virtual machine disk space. The problem occurs when trying to create triggers based on the disk paths discovered by LLD macros, and I keep seeing the following error messages:
Code:
Cannot create trigger: failed to expand LLD macros in expression: quoted context "C:\" cannot end with '\' character. Cannot create trigger: failed to expand LLD macros in expression: quoted context "D:\" cannot end with '\' character.
Code:
[{#FSNAME}]: Disk space is critically low. Space free: {ITEM.LASTVALUE}
max(/VMware Guest/vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},pfree],5m)<{$VMWARE.VM.FS.PFREE.MIN.CRIT:"{#FSNAME}"} and {$VMWARE.VM.FS.TRIGGER.USED:"{#FSNAME}"}=1
Context:
- The LLD is part of the VMware Guest Template provided by Zabbix, which automatically discovers virtual disks in the guest OS. (Latest version)
- Zabbix version: 7.0.4
- VMware environment: vSphere version 8
- OS: Windows
Has anyone else encountered this issue when working with VMware Guest Templates and LLD macros in Zabbix? Is there a recommended workaround or a better way to handle the backslashes in these disk paths when creating triggers?
Any advice or guidance would be greatly appreciated!
Thank you!
Comment