Ad Widget

Collapse

VMware Template - Host Macro Override for Discovered VMs not available?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel4711
    Senior Member
    • Jul 2014
    • 126

    #1

    VMware Template - Host Macro Override for Discovered VMs not available?

    Hello all,

    I have the Vmware template in use at our company for testing purposes.
    All ESXI servers as well as Vsphere and the corresponding VMs are detected correctly.

    To determine the free space on the VM, I created the template "VMware Guest" a "Free Space in %" trigger in the discovery rule "Mounted Filesystem Discovery".
    Code:
    last(/VMware Guest/vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},pfree])<{$FREEDISKSPACEPERCENT}
    Since the threshold is not the same on every system, I created the {#FreeDiskspacepercent} macro in the template so I can correct at the host level if needed.
    This feature is extremely important when creating/using templates I find.

    However, this does not seem to work with Discovered Hosts in the VMware Template.
    So far I have had no trouble here - but assign the templates to manually created hosts.

    The lack of this feature prevents the use of this otherwise very good template.

    Am I doing something wrong here?

Working...