I am trying to set up Warning and Critical alerts for volumes. Most of our volumes are Windows drives with drive letters. I was trying to do this with alerts, but I'm having trouble.
There doesn't appear to be a way to do this cleanly. I want an alert to work like this:
Alert when a warning threshold is reached with a set business logic for alerting.
Alert when a critical threshold is reached with a different set of business logic for alerting.
I know I could set these up as two different alerts. The problem is in transitioning from warning to critical. I have to reset the warning and fire the critical (thus producing two emails) or leave both alerts active which just bloats alerts and escalations.
I decided to go the APM route to get the data via WMI since it has a concept of warning and critical for WMI monitors. It also covers the few mount points I have. First, for some reason Volumes don't show up when exploring WMI. I was able to get the data anyway by writing the query myself.
The bigger issue is that NPM allows me to get space used and percent used. WMI lets me get space free and percent used. I need the alerting from APM, but the space used statistic from NPM. I don't want to have to set up monitoring for a disk through NPM and APM every time we add a disk. Is there a away around this?