MSSQL 2016: Alerts Scope Group Discovery

Microsoft.SQLServer.2016.AlertsScopeGroupDiscovery (Discovery)

This object discovery populates the Alerts Scope group to contain all SQL Server Roles.

Knowledge Base article:

Summary

This object discovery populates the Alerts Scope group to contain all SQL Server Roles.

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Element properties:

TargetMicrosoft.SQLServer.Generic.Presentation.SQLServerAlertsScopeGroup
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.AlertsScopeGroupDiscovery" Target="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerAlertsScopeGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerAlertsScopeGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2016.AlertsScopeGroupL3"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2016.Relationships.AlertsScopeGroupContainsAlertsScopeGroupL3"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Discovery!Microsoft.SQLServer.2016.Seed"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2016.Relationships.AlertsScopeGroupContainsSeed"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>