-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.0.6
-
Sprint candidates
Template "VMware guest" have "Mounted filesystems discovery" with a few triggers, like this:
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
When
{#FSNAME} is Windows disk, like "C:\" or "D:\", LLD rule produce the following error: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.
So {#FSNAME}
in the item key must be double quoted to fix the issue.