MSSQL 2012: Mirroring Group Discovery

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

This object discovery populates the Mirroring Group to contain all SQL Server Mirroring groups.

Knowledge Base article:

Summary

This object discovery populates the Mirroring Group to contain all SQL Server Mirroring groups.

Overridable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Element properties:

TargetMicrosoft.SQLServer.Generic.Presentation.MirroringGroupsGroup
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.MirroringGroupsGroupDiscovery" Enabled="true" Target="Generic!Microsoft.SQLServer.Generic.Presentation.MirroringGroupsGroup" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.SQLServer.2012.Mirroring.MirroringGroupsGroupContainsGroup"/>
</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.Group"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2012.Mirroring.MirroringGroupsGroupContainsGroup"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>