Quantcast
Channel: VMware Communities : Discussion List - vRealize Operations Manager
Viewing all articles
Browse latest Browse all 5932

How to Define Unit Type for SuperMetric

$
0
0

With vROps 6.7 changes to removing all the allocation stuff (most anyway), I decided to go and try to build a supermetric for available memory in a cluster after taking the HA memory reserve percentage into account so I could add it to the new Allocation Details View.  I have the supermetric working but I don't know how to define the unit type within the view.  The option is grayed out and shows "Not Applicable".

 

Anyone know how to do this?  I'd like it to show up as GB next to the number in the View.

 

If interested, here's my supermetric btw-- warning, she's a long one.  feel free to offer a better way!

 

sum((${this, metric=mem|host_provisioned}-(${this, metric=mem|host_provisioned}*(${this, metric=configuration|dasConfig|admissionControlPolicy|memoryFailoverResourcesPercent}/100)))-(${this, metric=mem|memory_allocated_on_all_vms}))/1024/1024

 

Here's the formula I came up with for the above:

 

sum((t-(t*(r/100)))-a)/1024/1024

 

where -

t = Metric | Memory | Total Capacity (KB)

r = Metric | Cluster Configuration | DAS Configuration | Admission Control Policy | Memory Failover Resources Percent

a = Metric | Memory | Memory Allocated on All VMs (KB)

 

Supermetric applied to the Cluster Compute Resource object type.


Viewing all articles
Browse latest Browse all 5932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>