MSSQL 2016: Discover SQL Server 2016 Database Engines

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

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

Knowledge Base article:

Summary

This object discovery discovers all instances of SQL Server 2016 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 instance names or the * character to exclude all instances.

Configuration

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

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 Veritas.SQLServer.2016.DBEngineDiscovery Default

Source Code:

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