Changing the color of the Logical Disk Label to reflect health state

Is it possible to change the color of your Custom Label for each logical disk to relfect the health state.

for example

When a Disk is in a healthy state the custom label (properties.principalName\displayName) shows up in GREEN

When the Health state of the Disk hits the Warning threshold the Custom label changes to YELLOW

When the Health state of the Disk hits the Critical threshold the Custom label changes to RED

is this possbile and how would i go about creating this custom label, also it would probably be a good idea to show the percentage of disk used next to the label

example

DiskState.png

Any help would be greatly appreciated

1 Like

Matthew Long went into a brief example on this webinar:

https://www.youtube.com/watch?v=PHziS6DzUUA&list=PLJNXoiGgmTEu3yZRGpPNWQbG9WMyihZFs&t=533s&index=2

Essentially, using IF statements and some HTML allows you to do this for the SLA tile, though I’ve not tested this on a performance/status tile. It also doesn’t appear as though space used is not a property against a disk, so this wouldn’t be possible.

To be honest though, if these thresholds are set in SCOM, the object health will show as Healthy/Warning/Critical when the thresholds are breached. It seems a superfluous to do this extra level.

1 Like