执行 SSAS 2016 MP 托管模块时出错

Microsoft.SQLServer.2016.AnalysisServices.AlertRule.Seed.ModuleError (Rule)

规则将监视事件日志,并监视 SSAS 2016 管理包提交的错误事件。如果其中一个工作流(发现、规则或监视器)失败,将记录一个事件并报告严重警报。

Knowledge Base article:

摘要

规则将监视事件日志,并监视 SSAS 2016 管理包提交的错误事件。如果其中一个工作流(发现、规则或监视器)失败,将记录一个事件并报告严重警报。

原因

工作流的失败可能会有多个原因,包括(但不限于):

解决方法

解决方案取决于根本原因,其必须在问题发生时根据每种情况进行调查。修复操作取决于根本原因。一般建议包括:

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流

优先级

定义警报优先级

2

严重性

定义警报严重性

2

Element properties:

TargetMicrosoft.SQLServer.2016.AnalysisServices.EventLogCollectionTarget
CategoryAlert
EnabledTrue
Event_ID6200
Event SourceSSAS 2016 MP
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
SSAS 2016: 执行 SSAS 2016 MP 托管模块时出错
{0}
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2016.AnalysisServices.AlertRule.Seed.ModuleError" Target="SQLAS!Microsoft.SQLServer.2016.AnalysisServices.EventLogCollectionTarget" Enabled="true" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6200</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">SSAS 2016 MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2016.AnalysisServices.AlertRule.Seed.ModuleError.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>