VMware Cloud Community
OsburnM
Hot Shot
Hot Shot
Jump to solution

Supermetric for Counting VMs in Multiple Clusters

Greetings!  I'd like to create a supermetric that can count the number of VMs in multiple clusters and provide back a single number.  Same for hosts.  Is this possible and if so, how?

 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
OsburnM
Hot Shot
Hot Shot
Jump to solution

Solved my own question-- but for others, turns out this was actually pretty simple.

1st, create a Custom Group that has all the clusters in it.

2nd, create a supermetric with a simple one-liner "sum" calculation with a depth of 3 (see below) and apply it to the "Environment" Object types & correct policy.

That's it. 

OsburnM_0-1621264257963.png

OsburnM_2-1621264312982.png

 

OsburnM_1-1621264289980.png

 

View solution in original post

0 Kudos
1 Reply
OsburnM
Hot Shot
Hot Shot
Jump to solution

Solved my own question-- but for others, turns out this was actually pretty simple.

1st, create a Custom Group that has all the clusters in it.

2nd, create a supermetric with a simple one-liner "sum" calculation with a depth of 3 (see below) and apply it to the "Environment" Object types & correct policy.

That's it. 

OsburnM_0-1621264257963.png

OsburnM_2-1621264312982.png

 

OsburnM_1-1621264289980.png

 

0 Kudos