VMware Cloud Community
VMbkota
Enthusiast
Enthusiast
Jump to solution

View of VMs

Hello All,

How can I create a view for the VMs to get the VM name, vCPU, hostname, physical CPU 

For example:

VM: windos server 1 - vCPU: 8 vcpus -  HOST Name: esx01  - physical CPU: 20

Thanks,

Reply
0 Kudos
1 Solution

Accepted Solutions
VMbkota
Enthusiast
Enthusiast
Jump to solution

Thank you, @KabirAli82 for your help

Actually, I am able to get that by creating super matric

I have created 2 super metrics (ESXi Host CPU Cores and Cluster Physical CPUs), the object type is Virtual machine, and the Formula is Host System, and all looks good now.

sum(${adaptertype=VMWARE, objecttype=HostSystem, attribute=hardware|cpuInfo|numCpuCores, depth=-1})

VMbkota_0-1683043718676.jpeg

 

 

 

 

 

 

 

View solution in original post

Reply
0 Kudos
2 Replies
KabirAli82
Expert
Expert
Jump to solution

The host is a different object type, and thus you can't get that in the same view. But if you really really have to get the physical CPU count in the same view, then you'll need to create a super metric for the host count.

 

Here is a view of only the VM info.


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
VMbkota
Enthusiast
Enthusiast
Jump to solution

Thank you, @KabirAli82 for your help

Actually, I am able to get that by creating super matric

I have created 2 super metrics (ESXi Host CPU Cores and Cluster Physical CPUs), the object type is Virtual machine, and the Formula is Host System, and all looks good now.

sum(${adaptertype=VMWARE, objecttype=HostSystem, attribute=hardware|cpuInfo|numCpuCores, depth=-1})

VMbkota_0-1683043718676.jpeg

 

 

 

 

 

 

 

Reply
0 Kudos