[ZBX-25706] VMWare discovery template cannot create triggers for Windows Created: 2024 Dec 10  Updated: 2025 Mar 18  Resolved: 2025 Mar 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 7.0.6
Fix Version/s: 7.0.11rc1, 7.2.5rc1, 7.4.0beta1

Type: Problem report Priority: Trivial
Reporter: Alexey Pustovalov Assignee: Aleksejs Sestakovs
Resolution: Fixed Votes: 1
Labels: lld, template, vmware, windows
Remaining Estimate: Not Specified
Time Spent: 10h
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
related to ZBX-25910 VMWare discovery template cannot crea... READY TO DEVELOP
Team: Team B
Sprint: S25-W2/3, S25-W6/7, S25-W8/9, S25-W10/11
Story Points: 1

 Description   

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.



 Comments   
Comment by Aleksejs Sestakovs [ 2025 Mar 10 ]

Available in versions:

Generated at Tue Apr 15 09:02:21 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.