MSSQL 2014: Discover SQL Server 2014 Database Engines

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

This discovery rule discovers all instances of SQL Server 2014 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 the * character to exclude all instances.

Knowledge Base article:

Summary

This discovery rule discovers all instances of SQL Server 2014 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 the * character 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 recurring interval of time in seconds in which to run the workflow.

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.2014.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

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

Member Modules:

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

Source Code:

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