VMware Cloud Community
RickVerstegen
Expert
Expert
Jump to solution

Disk usage alert

All,

vROps does disk usage only in percentage and i would like to do this with disk space left (MB, GB, TB). I would like to create an alert for our file servers based on disk space left.

For example Disk 10 TB @90% full = 1 TB free space. Most servers with 1 TB free space can keep running for a long time. Therefore i don't want an alert @90% full for these type of servers but on remaining disk space.

Can anyone advise of put me in the right direction, on how to setup this in vROps?

Rick

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
1 Solution

Accepted Solutions
RickVerstegen
Expert
Expert
Jump to solution

daphnissovsxnxr

There is a metric available called Guest File System Free (GB). This metric is disabled by default. I've enabled this in the policy.

This metric will then be available under the disk drives (drive letters) for virtual machines.

Depending on the drives that you have within virtual machines in your environment it will display the available drives.

In my case i have only a C:\ and E:\ and therefore it will only display those.

pastedImage_0.png

Based on this metric I've created the symptoms/alert for disk space left based on GB. For example: if E:\ is less than 2GB remaining i want to be triggered with an alert. There is no need to create Super Metrics.

I tested this with version 6.6.1.

Again, thanks for helping me in the right direction.

Rick

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick

View solution in original post

0 Kudos
8 Replies
sxnxr
Commander
Commander
Jump to solution

easier said than done

If you want the total for all disks there us a Total Guest File System Free (GB)

If you want specific disks there is a Guest File System usage for each disk. you will have to create a supermetric and take that away from the guest file system capacity (GB) that will give you the capacity remaining in GB

The biggest problem is if you have lots of different drive letters. The Guest File System usage for each disk is drive letter specific so if all the drive letters you want are d: then easy but if they are all over the place you will need to create a super metric for all drive letters you want and then create symptoms and alarms based on the super metrics and then enable the alarms through policies.

I dont do this so i dont know if a super metric that has no data will be seen as having a value of 0. If it dies then different policies for each alert will need to be created and applied using custom groups.

There may be an easier way. If so i dont know it. Hopefully someone else here can help if there is.

RickVerstegen
Expert
Expert
Jump to solution

Thanks daphnissov​. I will have a look into this tomorrow.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

Thanks sxnxr​, for your input. Definitely useful information.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

daphnissovsxnxr

There is a metric available called Guest File System Free (GB). This metric is disabled by default. I've enabled this in the policy.

This metric will then be available under the disk drives (drive letters) for virtual machines.

Depending on the drives that you have within virtual machines in your environment it will display the available drives.

In my case i have only a C:\ and E:\ and therefore it will only display those.

pastedImage_0.png

Based on this metric I've created the symptoms/alert for disk space left based on GB. For example: if E:\ is less than 2GB remaining i want to be triggered with an alert. There is no need to create Super Metrics.

I tested this with version 6.6.1.

Again, thanks for helping me in the right direction.

Rick

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

RickVerstegen​, is this disabled metric found in vROps 6.6 or 6.7? I didn't recall seeing it in 6.6 but I hope I didn't do all that work only to overlook something obvious.

0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

daphnissov​, yes the metric Guest File System Free (GB) was disabled. At least for version 6.6 it was disabled, for 6.7 I do not know. I will have to check this.

Rick

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

Crap. You're right, it's there. I suppose I should have looked for that. Thanks for the info.

0 Kudos