Checks if a database mirror is synchronized.
This monitor checks if a SQL Server DB mirror is synchronized.
Critical state when the DB mirror state is Disconnected
Warning state when the state is unsynchronized or suspended.
Connect to the DB Engines and correct issues that caused the mirror to fail.
Use ‘SQL Server Management Studio’ to access the mirroring page in a DB’s properties. Or use the ‘Database Mirroring Monitor’.
Monitor is implemented as a summary roll up monitor to assure raising only a single alert.
Target | RABurri.SQLServer.2005.Mirroring.ComponentGroup | ||
Parent Monitor | System.Health.AvailabilityState | ||
Algorithm | WorstOf | ||
Source Monitor | RABurri.SQLServer.2005.MirroredDatabase.State.Monitor | ||
Relationship | RABurri.SQLServer.2005.Mirror.ComponentGroupContainsDB | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
|
<DependencyMonitor ID="RABurri.SQLServer.2005.Mirroring.MirrorDependsOnDBMirrorState" Accessibility="Public" Enabled="true" Target="RABurri.SQLServer.2005.Mirroring.ComponentGroup" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="RABurri.SQLServer.2005.Mirror.ComponentGroupContainsDB" MemberMonitor="RABurri.SQLServer.2005.MirroredDatabase.State.Monitor">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="RABurri.SQLServer.2005.Mirroring.MirrorDependsOnDBMirrorState_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="MirroringLibrary!RABurri.SQLServer.Mirroring.ComponentGroup"]/DatabaseName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
</DependencyMonitor>