Sitescope dynamic disk alert based on 2 metrics calculated
I am trying to created a calculated metric to return an error condition if a dynamic disk is greater than 98% full and less than 2GB free. I am doing this to reduce alerts that are not actionable. The formula I am using is here: ((#valueOf(<</.*/percent full/>>) >=98) & (#valueOf(<</.*/MB free/>>) <2048)) |0
I thought this would return a 0 or 1 and then I could alert from it but it does not seem to work and I am having trouble understanding why. Any help would be appreciated.
I have attached screen shot of when I try your solution. Your values work because you specify the disk. I need to find a way to get the any disk dynamically. The calculated metric will not take more than one regular expression. That Is why I was using the #valueof in the expression. Thanks for helping.
I dont think it is possible since each dynamic disk will appear in all combinations of the calculated metric. so for example if you have 2 disks, this calculated metric will have 4 "instances".
you can sumit Enhancement Request for calclated metrics.