MSSQL 2016: 发现数据库引擎资源池

Microsoft.SQLServer.2016.Discovery.ResourcePool (Discovery)

此发现规则将发现 SQL Server 2016 数据库引擎的给定实例的所有资源池。

Knowledge Base article:

摘要

此发现规则将发现 SQL Server 2016 数据库引擎的给定实例的所有资源池。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

间隔(秒)

运行工作流的重复间隔时间(秒)。

14400

同步时间

使用 24 小时格式指定的同步时间。可以忽略。

14400

超时(秒)

指定允许工作流在被关闭并标记为失败之前运行的时间。

 

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

300

Element properties:

TargetMicrosoft.SQLServer.2016.Database
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2016.DataSource.ResourcePool Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.Discovery.ResourcePool" Enabled="true" Target="Microsoft.SQLServer.2016.Database">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.InternalPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.DefaultPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.UserDefinedPool">
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2016.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.DataSource.ResourcePool">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SQLInstanceName>$Target/Host/Property[Type="Microsoft.SQLServer.2016.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
<OnlyInMemoryOLTPPools>true</OnlyInMemoryOLTPPools>
</DataSource>
</Discovery>