top of page
Brock Peterson

vROps Views for Multiple Objects

You want a view showing VMs, the ESXi Hosts they are on, the Clusters they are in, and properties and metrics for each. Yep, we can do it, and it'll end up looking something like this!

When I first tried doing this, I created a View using multiple objects, thinking the relationships would be made, but they aren't.

While all Objects are included, they aren't all on the same line, no relationships are being made. Parent ESXi Host and Parent Cluster are available properties on the VM object, so those are easy, but the ESXi Host and Cluster properties I wanted aren't. So, Super Metrics!


Super Metrics are powerful, in that you can perform functions on metrics, ie total them, take averages, etc. You can also use Super Metrics to attach metrics or properties from related objects to a target, in this case a VM.


I created Super Metrics on the VMs as follows, but you can use this same methodology to create others as well:

  • Parent ESXi Host CPU Packages

  • Parent ESXi Host CPU Cores

  • Parent Cluster DRS Status

  • Parent Cluster Physical CPUs

  • Parent Cluster Usable CPUs

This effectively attaches the ESXi Host and Cluster metrics and properties you want to the VM object, making them available in your View. Now, when I go to create my View, I have everything I need.

I've uploaded these Super Metrics to VMware {code}. Feel free to download and make them your own. Hopefully this helps!

661 views

2 Comments


Brock Peterson
Brock Peterson
Feb 05, 2023

Should be able to get Max Supported VMs per vCenter: go to the vCenter object - metrics - summary.

Like

hamadakota
Feb 01, 2023

Hello Brock

I'm new to vROps. We have vROps 8.2. How can I monitor the production resources based on the vCenter7 limits (VMware vSphere ESXi and vCenter Configuration Maximums)? I want to create a view and dashboard to check vCenter limits and report that weekly.

Also, I didn't find any metric to know how many vDS we have/remaining. Thanks,

Like
bottom of page