[edit - as geoffsmith31 already said an if inside an if gets you clearer results]
I like to use a function then call the function from the probe. This way you can determine if the device is down or if the device is in error.
Make a function called disk01test
if(array_size(oid_column("1.3.6.1.2.1.25.2.3.1.6",10,5)),round((oid("1.3.6.1.2.1.25.2.3.1.6.1",10,5)/oid("1.3.6.1.2.1.25.2.3.1.5.1",10,5))*100),"False")
Repeat the above for as many disks as you have, incrementing the names and oid values by one. Note Drive C is normally disk02.
disk02test
if(array_size(oid_column("1.3.6.1.2.1.25.2.3.1.6",10,5)),round((oid("1.3.6.1.2.1.25.2.3.1.6.2",10,5)/oid("1.3.6.1.2.1.25.2.3.1.5.2",10,5))*100),"False")
Create a probe DriveC
Available disk02test()<>"False"
Error if(disk02test()<>"False",if(disk02test() < 80, "", concatenate("Warning: Drive C = ", disk02test(), "%")), "Failed to read Drive C the server might be down")
Value disk02test()
Unit %
disk02test.png
DriveC.png
You do not have the required permissions to view the files attached to this post.