发现 SQL Server 2008 数据库引擎(Windows Server)

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

此对象发现发现正在 Windows 服务器上运行的 SQL Server 2008 数据库引擎的所有实例。默认情况下,将发现并监视所有实例。您可以使用排除列表替代该发现,以便排除一个或多个实例不需要发现的实例。此列表以逗号分隔实例名称列表,或以 * 字符来排除所有实例。

Knowledge Base article:

摘要

此对象发现发现正在 Windows 服务器上运行的 SQL Server 2008 数据库引擎的所有实例。默认情况下,将发现并监视所有实例。您可以使用排除列表替代该发现,以便排除一个或多个实例不需要发现的实例。此列表以逗号分隔实例名称列表,或以 * 字符来排除所有实例。

配置

排除列表: 以逗号分隔的、应从发现中排除的数据库实例的列表。您可以使用通配符 * 以排除所有实例。

Element properties:

TargetMicrosoft.SQLServer.2008.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.SQLServer.2008.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

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2008.DBEngineDiscoveryRule.Server" Enabled="true" Target="Microsoft.SQLServer.2008.Seed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.DBEngine">
<Property TypeID="SQL!Microsoft.SQLServer.ServerRole" PropertyID="InstanceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ConnectionString"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServiceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServiceClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="FullTextSearchServiceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="FullTextSearchServiceClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Version"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Edition"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AuthenticationMode"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AgentName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AgentClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="MasterDatabaseLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="MasterDatabaseLogLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ErrorLogLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Language"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServicePackVersion"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AuditLevel"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="InstallPath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ToolsPath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="EnableErrorReporting"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ReplicationWorkingDirectory"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ReplicationDistributionDatabase"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="PerformanceCounterObject"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Cluster"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Account"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.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>