MSSQL on Windows: Discover Local SQL Server Database Engines

Microsoft.SQLServer.Windows.LocalDBEngineDiscovery (Discovery)

This rule discovers Local SQL Server DB Engines on Windows.

Knowledge Base article:

Summary

This rule discovers Local SQL Server DB Engines on Windows.

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow.

Yes

Interval (seconds)

The recurring interval of time in seconds in which to run the workflow.

14400

Mixed Monitoring

Specifies the names of the instances that should be monitored in mixed mode. Use comma to divide instance names. Cluster instances are always monitored in mixed mode. Use "*" to monitor all local DB Engines in mixed mode

 

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.Windows.LocalDiscoverySeed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.Windows.DataSource.LocalDBEngineDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.Windows.LocalDBEngineDiscovery" Enabled="true" Target="Microsoft.SQLServer.Windows.LocalDiscoverySeed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.Windows.LocalDBEngine"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Windows.DataSource.LocalDBEngineDiscovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<PrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</PrincipalName>
<AgentlessMonitoring/>
</DataSource>
</Discovery>