Ad Widget

Collapse

VMWare Template {#HV.UUID} macro from hypervisor template to guest template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FabrizioA
    Member
    • Sep 2015
    • 33

    #1

    VMWare Template {#HV.UUID} macro from hypervisor template to guest template

    Classic VMWare_Template_Hypervisor has the macro {HOST.HOST} which returns the UUID of the Hypervisor host.
    I need the UUID because I can use it inside the VMWare_Template_Gust template to create some items that returns me some VM's Hypervisor information.

    Thanks in advance.
    F
  • huangyingja
    Junior Member
    • Apr 2015
    • 27

    #2
    Hello
    Please SSH to ur VMWare host and run command as follow :
    You can get VM Guest UUID from that command!
    FYI ~

    Obtain a list of all running virtual machines, identified by their World ID, Cartel ID, display name, and path to the .vmx configuration file using this command:

    # esxcli vm process list

    You see output similar to:

    VirtualMachineName
    World ID: 1268395
    Process ID: 0
    VMX Cartel ID: 1264298
    UUID: ab cd ef ...
    Display Name: VirtualMachineName
    Config File: /path/VirtualMachineName.vmx

    Two worlds are listed. The first world number (in this example, 1268395) is the Virtual Machine Monitor (VMM) for vCPU 0. The second world number (in this example, 1264298) is the virtual machine Cartel ID.

    Comment

    Working...