VMware Cloud Community

vROPS 7.5 - Super Metrics using strings in Ternary Expressions

Hey folks,

I am trying to achieve a result to be displayed as a string if one the metrics is between two numbers. To give you more insight, I am trying to work with the Reclaimable Capacity metric for vCPU and Memory. In our company we manage T-Shirt sizes for the servers we deploy. If it has 2 vCPU and 4 GB of RAM is Small, if it has 4 vCPU and 8 GB RAM is Medium and so on.

The condition I am trying to apply is if that metric is for example:

  • If reclaimable capacity is between 2 and 4 then display "Small".

Of course it has more logic inside but what I would like to know is if it is possible and how to display strings to be used later in reports, dashboards, etc.


0 Kudos
0 Replies