MSSQL 2014: General AlwaysOn Discovery

Microsoft.SQLServer.2014.AlwaysOn.GeneralAlwaysOnDiscovery (Discovery)

Discovery of AlwaysOn objects

Knowledge Base article:

Summary

This is discovery for Microsoft SQL Server 2014 AlwaysOn objects including Availability Groups and Availability Replicas

Overrideable Parameters

Name

Description

Default Value

Enabled

 

Yes

Interval (seconds)

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

14400

Timeout (seconds)

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

300

Element properties:

TargetMicrosoft.SQLServer.2014.AlwaysOn.AlwaysOnSeed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
PowerShellDiscoveryProvider DataSource Microsoft.SQLServer.2014.AlwaysOn.CommandExecuterDataSource Microsoft.SQLServer.2014.AlwaysOn.DiscoveryAccount

Source Code:

<Discovery ID="Microsoft.SQLServer.2014.AlwaysOn.GeneralAlwaysOnDiscovery" Enabled="true" Target="Microsoft.SQLServer.2014.AlwaysOn.AlwaysOnSeed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.AlwaysOn.AvailabilityGroup"/>
</DiscoveryTypes>
<DataSource ID="PowerShellDiscoveryProvider" RunAs="Microsoft.SQLServer.2014.AlwaysOn.DiscoveryAccount" TypeID="Microsoft.SQLServer.2014.AlwaysOn.CommandExecuterDataSource">
<IntervalSeconds>14400</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>