sxnxr
Commander
Commander

Using properties in vrops supermetrics

I have been struggling with this for a wile and not sure if it is even possible.

Can i get 6.7 to use a property in a SM. every time i get cannot convert aggregated result to a number

If i add a function it only displays 0 in the visualisations

The property has a number value

0 Kudos
6 Replies
sxnxr
Commander
Commander

I should have mentioned this is a custom property that i have created

0 Kudos
MichaelRyom
Hot Shot
Hot Shot

Super metric as the name suggest does not support properties. Smiley Sad

I'm hoping we will see this in a coming release of vRops.

Blogging at https://MichaelRyom.dk
0 Kudos
DanofreIqor
Enthusiast
Enthusiast

Im not using a property. m using a metric and getting either ) or the same error:

Im trying to sum pool capacity and divide by Cluster GHz capacity. Essentially Im trying to determine the average GHz consumed per active VDI session in any given pool.

adaptertype=V4V, objecttype=ViewPod, metric=summary|max_desktopvm_capacity

0 Kudos
MichaelRyom
Hot Shot
Hot Shot

If you are getting zero, you are doing something wrong Smiley Sad

Take a look at these blog post to give you an idea to how super metric works.

A Practical Example of Using Super Metrics - VMware Cloud Management Blog

vROps: Doing Cluster Level Metric Calculations Using Super Metrics and Custom Groups (SKKB1042) | Sp...

https://michaelryom.dk/vrops-vmotion-super-metric/

Might also look into depth in super metric.

Blogging at https://MichaelRyom.dk
0 Kudos
anna_grigoryan
VMware Employee
VMware Employee

Starting from vROps 7.0 the properties can be used in supermetrics. 

The supported use-case is  the string operation with "where" condition, for example
 ${this, metric=summary|runtime|isIdle, where = "System Properties|resource_kind_type !contains GENERAL"}
0 Kudos
produban
Contributor
Contributor

in which object did you use this supermetric? I checked this works count({Host System: Runtime|Maintenance State, depth=2, where = "Runtime|Maintenance State equals inMaintenance"})

0 Kudos