VMware Cloud Community
Gaprofitt17
Enthusiast
Enthusiast

Need help with a formula to do something.

Hey guys,

So I have created a dashboard with Cluster Resource, Cluster Storage and Cluster CPU.  The interactions are set when I selected a Cluster Resource, say DMZ01 it populates the data for each metric graph.  I have seperate
XML files for each dashboard.  I want to be able to select a cluster in the resources widget and have it show each datastore and the total disk space free (gb) and total available (gb) for each datastore.  How
would I do this, I assume I need a new supermetric and xml file.

Thanks,

Greg

0 Kudos
2 Replies
mark_j
Virtuoso
Virtuoso

The relationships are many from the cluster compute resource down to datastores of the underlying hosts. You probably only have a handful of clusters, so you'd be best off going with custom groups to do your organization.

I'd go in to the vSphere UI, create a custom group for each cluster, and populate using a criteria of all descendants + datastore object type so that you get groups for each cluster with datastores. Then go over to the custom ui.. add those groups to a resource widget.. then have another resource widget show "children".. so when you click a cluster group in the first resource widget, the 2nd resource widget populates with datastores. Pretty straightforward.

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos
Gaprofitt17
Enthusiast
Enthusiast

Thanks for the help, when I do this when I select the Group under environment for the resource widget it immediately shows the Datastores and not a list of the Groups.  I want to select the group and have it show children via another resources widget as mentioned.

Thanks,

Greg

0 Kudos