SSAS 2008 事件日志集合目标发现

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

此发现规则可发现 Microsoft SQL Server 2008 Analysis Services 的事件日志集合目标。此对象用于从包含 SSAS 2008 组件的计算机的事件日志收集模块错误。

Knowledge Base article:

摘要

此发现规则可发现 Microsoft SQL Server 2012 Analysis Services 的事件日志集合目标。此对象用于从包含 SSAS 2008 组件的计算机的事件日志收集模块错误。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流

频率(秒)

运行工作流的重复间隔时间(秒)。

14400

Element properties:

TargetMicrosoft.SQLServer.2008.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.2008.AnalysisServices.Discovery.EventLogCollectionTarget" Enabled="true" Target="Microsoft.SQLServer.2008.AnalysisServices.Seed" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.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.2008.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>