A powershell script that can help you reduce “monitoring noise” created by the “manual reset” monitors.
The script is intended to be used as an alert notification command. The notification channel should be configured to pass alert ID as an argument to the script and corresponding notification subscription must include _closed_ alerts of warning and error severity.
Once the script recieves ID of the closed alert, it will look up the monitor that generated the alert and check if there is a workflow defined for the current state of the monitor. If there is no workflow for the current state, then the script will force reset of the monitor’s state, returning it to the “healthy” condition.
$s_rms variable should be modified to contain the name of your rms