MSSQL 2016: 探索 SQL Server 2016 資料庫引擎

Microsoft.SQLServer.2016.DBEngineDiscoveryRule.Server (Discovery)

此探索規則會探索 Windows Server 上執行的所有 SQL Server 2016 DB 引擎之執行個體。預設會探索及監視所有執行個體。可以使用排除清單來覆寫探索,以排除一或多個不要探索的執行個體。此清單為逗號分隔的執行個體清單,也可以使用 * 字元排除所有執行個體。

Knowledge Base article:

摘要

此探索規則會探索 Windows Server 上執行的所有 SQL Server 2016 DB 引擎之執行個體。預設會探索及監視所有執行個體。可以使用排除清單來覆寫探索,以排除一或多個不要探索的執行個體。此清單為逗號分隔的執行個體清單,也可以使用 * 字元排除所有執行個體。

組態

排除清單: 應從探索中排除的執行個體清單 (以逗號分隔)。可以使用萬用字元 * 排除所有執行個體。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

排除清單

應從探索中排除的執行個體清單 (以逗號分隔)。可以使用萬用字元 * 排除所有執行個體。

 

間隔 (秒)

執行工作流程的週期性時間間隔 (秒)。

14400

同步處理時間

使用 24 小時制指定的同步處理時間。將會忽略。

 

逾時 (秒)

指定允許工作流程在關閉且標示為失敗之前執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.2016.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.SQLServer.2016.DBEngine
    • InstanceName
    • ConnectionString
    • ServiceName
    • ServiceClusterName
    • FullTextSearchServiceName
    • FullTextSearchServiceClusterName
    • Version
    • Edition
    • AuthenticationMode
    • AgentName
    • AgentClusterName
    • MasterDatabaseLocation
    • MasterDatabaseLogLocation
    • ErrorLogLocation
    • Language
    • ServicePackVersion
    • AuditLevel
    • InstallPath
    • ToolsPath
    • EnableErrorReporting
    • ReplicationWorkingDirectory
    • ReplicationDistributionDatabase
    • PerformanceCounterObject
    • Cluster
    • Account
    • InstanceID
  • Microsoft.SQLServer.2016.ResourcePoolGroup

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2016.DBEngineDiscoveryRule.Server" Enabled="true" Target="Microsoft.SQLServer.2016.Seed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.DBEngine">
<Property TypeID="Microsoft.SQLServer.2016.ServerRole" PropertyID="InstanceName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ConnectionString"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ServiceName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ServiceClusterName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="FullTextSearchServiceName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="FullTextSearchServiceClusterName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="Version"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="Edition"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="AuthenticationMode"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="AgentName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="AgentClusterName"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="MasterDatabaseLocation"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="MasterDatabaseLogLocation"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ErrorLogLocation"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="Language"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ServicePackVersion"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="AuditLevel"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="InstallPath"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ToolsPath"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="EnableErrorReporting"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ReplicationWorkingDirectory"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="ReplicationDistributionDatabase"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="PerformanceCounterObject"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="Cluster"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="Account"/>
<Property TypeID="Microsoft.SQLServer.2016.DBEngine" PropertyID="InstanceID"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2016.ResourcePoolGroup"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.DBEngineDiscovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerNETBIOSName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</ComputerNETBIOSName>
<ExcludeList/>
<IsVirtualNode>$Target/Host/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$</IsVirtualNode>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>