SSAS 2012 Event Log Collection Target Discovery

Microsoft.SQLServer.2012.AnalysisServices.Discovery.EventLogCollectionTarget (Discovery)

This discovery rule discovers an event log collection target for a Microsoft SQL Server 2012 Analysis Services. This object is used to collect module errors from event log of computers that have SSAS 2012 components.

Knowledge Base article:

Summary

This discovery rule discovers an event log collection target for a Microsoft SQL Server 2012 Analysis Services. This object is used to collect module errors from event log of computers that have SSAS 2012 components.

Overrideable Parameters

Name

Description

Default Value

Enabled

Enables or disables the workflow

Yes

Frequency in seconds

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

14400

Element properties:

TargetMicrosoft.SQLServer.2012.AnalysisServices.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2012.AnalysisServices.Discovery.EventLogCollectionTarget" Enabled="true" Target="Microsoft.SQLServer.2012.AnalysisServices.Seed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2012.AnalysisServices.EventLogCollectionTarget"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>RealComputerName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.SQLServer.2012.AnalysisServices.EventLogCollectionTarget"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/RealComputerName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>