VMware Cloud Community
ScottThomson
Contributor
Contributor

Easy metric conversions - Whats the best approach?

I am monitoring and reporting on clusters, all the usual metrics.  Let pick on storage and on Disk|Total Disk Space (TB)

So one of my clusters has 155.47 TB total disk.  You can do all the normal conversions KB,MB,GB,TB which are available and works fine.

 

What if I need to report on TiB not TB?  There doesn't appear to be an ability to do that?

I cheated and created a super metric to do the conversion and applied it.  It half works.

 

{This ResourceDisk|total_disk_space}*0.90949470177293

So 155.47 TB is 141 TiB    (141,402,431,945,801 - to be a bit more exact)

 

Is there a more elegant way of doing this?  Creating supermetrics for total,used,free,etc etc is going to be a pain.

 

Thanks

S

 

0 Kudos
1 Reply
KabirAli82
Expert
Expert

I'd say a super metric is your only real option.


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
0 Kudos