hmscott4 / AlertManagement

Manage SCOM Alerts
2 stars 3 forks source link

Auto Resolve Alert Storm Detected alerts #50

Open hmscott4 opened 3 years ago

hmscott4 commented 3 years ago

When all alerts associated to "Alert Storm Detected" have been closed (assuming that they are monitor-based alerts), update resolution state for the "master" alert to 254 (resolved).

Pseudo logic:

  1. Find open master alerts (Alert Storm Detected:)
  2. Get the internal incident number
  3. Find all alerts with the matching incident number
  4. If all alerts with the matching incident number are Closed, then update resolution state for master alert to "Resolved"