MSSQL 2012: Mirroring Common Group Discovery

Microsoft.SQLServer.2012.Mirroring.MirroringCommonGroupDiscovery (Discovery)

This object discovery populates the Mirroring Common group to contain all SQL Server Mirroring components.

Knowledge Base article:

Summary

This object discovery populates the Mirroring Common group to contain all SQL Server Mirroring components.

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Element properties:

TargetMicrosoft.SQLServer.Generic.Presentation.MirroringGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.Mirroring.MirroringCommonGroupDiscovery" Enabled="true" Target="Generic!Microsoft.SQLServer.Generic.Presentation.MirroringGroup" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.SQLServer.2012.Mirroring.CommonMirroringGroupContainsService"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2012.Mirroring.Service"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2012.Mirroring.CommonMirroringGroupContainsService"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>