VMware Cloud Community
shallriseagain
Contributor
Contributor
Jump to solution

Sums of metrics of VMs

Hello,

I can't figure out if it's possible to create the kind of dashboard I want:

I have virtual machines that have been assigned a tag "Sys1" in my vCenter.

How to create a dashboard that summarizes the metrics of certain virtual machines?

CPU Count (Cores) of all VMs "Sys1"

Memory Granted of all VMs "Sys1"

Disk Provisioned of all VMs  "Sys1"

etc.

I created a custom group called "sys1" with defined membership criteria "Virtual Machine" - Properties - Summary | vSphere Tag - Contains - Sys1"

But then, wherever I try to apply this group, I can only look at the resources of each machine individually.

Please, help me Smiley Happy

Thank you!

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
sxnxr
Commander
Commander
Jump to solution

Standard sum SM's and will work when you apply them to the group

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=cpu|corecount_provisioned, depth=1})

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=mem|guest_usage, depth=1})

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=diskspace|provisionedSpace, depth=1})

View solution in original post

4 Replies
sxnxr
Commander
Commander
Jump to solution

Standard sum SM's and will work when you apply them to the group

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=cpu|corecount_provisioned, depth=1})

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=mem|guest_usage, depth=1})

sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=diskspace|provisionedSpace, depth=1})

RobertMesropyan
VMware Employee
VMware Employee
Jump to solution

The next method is view with summary,please refer to "How to Add a Summary Row or Column to a View" in https://docs.vmware.com/en/vRealize-Operations-Manager/8.0/com.vmware.vcom.config.doc/GUID-FA44BAFA-...
0 Kudos
shallriseagain
Contributor
Contributor
Jump to solution

I was able to make a list that outputs a summary metric on the virtual machines. I don't understand how to draw the summary chart Smiley Sad

0 Kudos
shallriseagain
Contributor
Contributor
Jump to solution

I got it. It is necessary to create a new super metric, as advised by sxnxr, apply it to the default policy. After that, you can draw a chart metric using it. Damn, It was very easy to do, but difficult to understand.

0 Kudos