MSSQL on Windows: Discover Local SQL Server Database Engines Should Manage Relationship

Microsoft.SQLServer.Windows.ClusterInstanceRelationshipDiscovery (Discovery)

This rule discovers Local SQL Server DB Engines Should Manage Relationship on Windows.

Knowledge Base article:

Summary

This rule discovers Local SQL Server DB Engines Should Manage Relationship on Windows.

Overridable 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.

60

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.

55

Element properties:

TargetMicrosoft.SQLServer.Windows.LocalClusteredDBEngineDiscoverySeed
EnabledTrue
Frequency60
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.Windows.ClusterInstanceRelationshipDiscovery" Enabled="true" Target="Microsoft.SQLServer.Windows.LocalClusteredDBEngineDiscoverySeed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="SC!Microsoft.SystemCenter.HealthServiceShouldManageEntity"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Windows.DataSource.ClusterInstanceRelationshipDiscovery">
<IntervalSeconds>60</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>55</TimeoutSeconds>
<MachineName>$Target/Property[Type="Microsoft.SQLServer.Windows.LocalClusteredDBEngineDiscoverySeed"]/MachineName$</MachineName>
<NetbiosComputerName>$Target/Property[Type="Microsoft.SQLServer.Windows.LocalClusteredDBEngineDiscoverySeed"]/MachineName$</NetbiosComputerName>
<InstanceName>$Target/Property[Type="Microsoft.SQLServer.Windows.LocalClusteredDBEngineDiscoverySeed"]/InstanceName$</InstanceName>
</DataSource>
</Discovery>