Discover SQL Server 2012 Database Engines (Windows Server)

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

This object discovery discovers all instances of SQL Server 2012 DB Engine running on Windows Servers. By default, all instances are discovered and monitored. You can override the discovery to exclude one or more instances from being discovered using the Exclude List. This list takes a comma-separated list of instances or * wildcard to exclude all instances.

Knowledge Base article:

Summary

This object discovery discovers all instances of SQL Server 2012 DB Engine running on Windows Servers. By default, all instances are discovered and monitored. You can override the discovery to exclude one or more instances from being discovered using the Exclude List. This list takes a comma-separated list of instances or * wildcard to exclude all instances.

Configuration

Exclude List: A comma-separated list of instances that should be excluded from discovery. You can use the wildcard * to exclude all instances.

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Exclude List

A comma-separated list of instances that should be excluded from discovery. You can use the wildcard * to exclude all instances.

 

Interval (seconds)

The polling interval in seconds that discovery will run on.

14400

Synchronization Time

The synchronization time specified by using a 24-hour format. May be omitted.

 

Timeout (seconds)

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

300

Element properties:

TargetMicrosoft.SQLServer.2012.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

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

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.DBEngineDiscoveryRule.Server" Enabled="true" Target="Microsoft.SQLServer.2012.Seed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.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"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="InstanceID"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2012.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>