Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25706

VMWare discovery template cannot create triggers for Windows

XMLWordPrintable

    • 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.

            zabbix.dev Zabbix Development Team
            dotneft Alexey Pustovalov
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: