VMware Cloud Community
Matrix_1970
Enthusiast
Enthusiast
Jump to solution

Hard threshold and free space

Hi all,

I tried to create an hard threshold to control when a file system within a VM disk reaches a certain threshold as free space. However, I understand that you can not set a percentage value (ie you can not set a warning when the free disk space is 20% of the total), but the precise value of the remaining space (that I can set a warning when the free space is smaller, eg. of 30GB). Can anyone help me?

Matrix

Reply
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi Matrix,

Yes you can do a % value. This will have to be done using a Super Metric. Below is an example of one that I did :

100 - (100*((avg($This:A909))/(avg($This:A913))))

This is the explanation : 100 - (100*((avg(This Resource: Disk Space|Virtual Disk Used (GB)))/(avg(This Resource: Disk Space|Provisioned Space (GB)))))

Here is my blog around how to create and assign Super Metric to a object : http://www.virtualclouds.co.za/?p=254

That will get you going.

View solution in original post

Reply
0 Kudos
2 Replies
admin
Immortal
Immortal
Jump to solution

Hi Matrix,

Yes you can do a % value. This will have to be done using a Super Metric. Below is an example of one that I did :

100 - (100*((avg($This:A909))/(avg($This:A913))))

This is the explanation : 100 - (100*((avg(This Resource: Disk Space|Virtual Disk Used (GB)))/(avg(This Resource: Disk Space|Provisioned Space (GB)))))

Here is my blog around how to create and assign Super Metric to a object : http://www.virtualclouds.co.za/?p=254

That will get you going.

Reply
0 Kudos
Matrix_1970
Enthusiast
Enthusiast
Jump to solution

Hi HStrydom,

thank you very much for your answer. As soon as possibile I'll try your suggestion!

Matrix

Reply
0 Kudos