Highlighted
Expert
Expert

Why don't show any output a simple supermetric

This is a simple supermetric . why it cannot show any output ? I just want show memory usage for VM 

 

 

Please mark helpful or correct if my answer resolved your issue.
0 Kudos
3 Replies
Highlighted
Commander
Commander

Can you show the supermetric from the legacy screen

0 Kudos
Highlighted
Expert
Expert

supermetric in legacy mode is :

(${this, metric=mem|usage_average})

and show the output 

Actually I decide to write supermetric for one issue . There is strange problem on one of my machines. This machine has 32G memory 

now Memory usage is 94% but Guest free memory is more than 20G what is the problem ? 

The guest OS is linux thus I decide to write a supermteric that can calculate total capacity - guest free memory to find memory usage 

Do you think is that correct ?

 

 

Please mark helpful or correct if my answer resolved your issue.
0 Kudos
Highlighted
Commander
Commander

(${this, metric=mem|usage_average}) is not the metric you are using in the screenshot. If it was then you would not have virtual machine in the text. a this formula should look like the below

sxnxr_0-1605781394922.png

If i had to guess it is because you picked a metric and not a this and didnt add a function at the start so it didnt know what to do with the metric (sum, min or max it etc)

0 Kudos