Hello! We have several VMs with a drive where capacity pretty much needs to be ignored. I've tried to create custom symptoms, a custom alert, and applied that alert in a policy to the custom group containing those VMs. However I still see one of the default alerts appear for VMs in that policy. I've dug around and changed settings many times but have not found what I'm missing. Any help is appreciated!
Image 1 - Here you see that my VM has the Self Managed SQL policy applied, and is showing an alert
Image 2 - The alert info shows Guest file system space usage at immediate level - Guest File System stats F:\.
Image 3 - Clicking the Go to Alert Definition button at the top near Summary shows me the alert is One or more virtual machine guest file systems are running out of disk space. For some reason, this alert is triggering on my policy and I don't want it to.
Image 4 - This is my custom Alert Definition Self Managed SQL guest file systems are running out of disk space. It contains symptoms for warn/critical on C:\, D:\, and a 98% info symptom for F:\ (which is the drive I want to mostly ignore).
Image 5 - Here are my Symptom Definitions which are pulled into my Alert Definition. Nothing fancy. Warn/critical at 90/95% for C:\ and D:\ and then info at 98% on F:\.
Image 6 - Now let's look at my active policies. Self Managed SQL is there with priority 1, so if there were any conflicts, I believe it would take the lead.
Image 7 - Here's the policy tree.
Image 8 - Now let's get into my policy. First, the Metrics and Properties.
Image 9 - Next, Alert Definitions in the policy. Enabled my Self Managed SQL alert and disabled four others, including One or more virtual machine guest file systems are running out of disk space which we saw active in image 2 above!
Image 10 - I've left Symptom Definitions set to inherit. My understanding is that if the Alert Definition is disabled, the Symptom Definition won't matter. I've tried disabling these as well and have not noticed a difference.
Image 11 - And finally I apply the policy to the Self Managed SQL Servers custom group. That group is is of type Environment and contains members defined by Virtual Machine Object name.