VMware Cloud Community
vespavbb
Enthusiast
Enthusiast

Super Metric for Memory Consumed for Groups

Hi

I´m looking for a super metric to collect memory collection of a Group of VM´s, for example in a Folder...or Funktions

I have this , but this is not working?

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

 

this  for example works for CPU

 

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

 

VCP4,VCP5,VCP6,VCP7,VCP8
3 Replies
RickVerstegen
Expert
Expert

Did you include both virtual machine and virtual machine folder as object type to associate with the super metric?

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
vespavbb
Enthusiast
Enthusiast

Hi,

yes, both virtual machine and virtual machine folder are included. It looks like more, that it is not possible to get multible metrics in one formular. In my case, I just want to have a the consumed memory for online VM´s only of a group of vms located in a folder.

 

 

VCP4,VCP5,VCP6,VCP7,VCP8
Reply
0 Kudos
FredGSanford
Enthusiast
Enthusiast

This works for a custom group where type is function and object type in SM is Function.

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

 

FredGSanford_0-1701261315371.png

 

Reply
0 Kudos