MSSQL: 填入 SQL Server 執行個體群組

Microsoft.SQLServer.2016.GlobalInstanceGroupDiscovery (Discovery)

這項探索規則會在執行個體群組中填入所有 SQL Server 資料庫引擎。

Knowledge Base article:

摘要

這項探索規則會在執行個體群組中填入所有 SQL Server 資料庫引擎。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

Element properties:

TargetMicrosoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup
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.GlobalInstanceGroupDiscovery" Target="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Generic!Microsoft.SQLServer.Generic.Presentation.SQLServerInstanceGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Discovery!Microsoft.SQLServer.2016.DBEngine"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2016.GlobalInstanceGroupContainsDBEngine"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>