Best Practice: Unit monitors should have AutoResolveset to true

 

What does this best practice check for?

In an MP, it is a frequent occurrence to have unit monitor that raise alerts as they change state. As a best practice, alerts raised by monitors should auto-resolve when the monitor returns to a healthy state.

Why is it important to follow this best practice? What is the impact of not following this best practice?

When alerts do not auto-resolve, they will remain active in the Active Alerts view for the operator to address them. It then becomes the operator’s responsibility to realize that an alert is no longer relevant because the issue has been resolved and the monitor is healthy, and the operator must manually resolve the alert. This increases end-user dissatisfaction with the management pack.

How do I fix this?

Using the Authoring Console:

1.        For all monitors, open the Properties dialog. In the Alerting tab, check that the checkbox for “Automatically resolve this alert when the monitor returns to a healthy state” is checked off.

Using XML:

< UnitMonitor ID = " Microsoft.Windows.Server.2008.LogicalDisk.AvailabilityHealth" Accessibility =" Public" Enabled =" onEssentialMonitoring" Target =" Server2008!Microsoft.Windows.Server.2008.LogicalDisk" ParentMonitorID =" SystemHealth!System.Health.AvailabilityState" Remotable =" true" Priority =" Normal" TypeID =" Microsoft.Windows.Server.2008.LogicalDisk.Monitortype" ConfirmDelivery =" false" >

       < Category > StateCollection </ Category >

       < AlertSettings AlertMessage = " Microsoft.Windows.Server.2008.LogicalDisk.AvailabilityHealth.AlertMessage" >

         < AlertOnState > Error </ AlertOnState >

          < AutoResolve > true </ AutoResolve >

         < AlertPriority > Normal </ AlertPriority >

         < AlertSeverity > Error </ AlertSeverity >

         < AlertParameters >

           < AlertParameter1 > $Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/Name$ </ AlertParameter1 >

          </ AlertParameters >

       </ AlertSettings >

     

     </ UnitMonitor >