规则将监视事件日志,并监视 SSAS 2016 管理包提交的错误事件。如果其中一个工作流(发现、规则或监视器)失败,将记录一个事件并报告严重警报。
规则将监视事件日志,并监视 SSAS 2016 管理包提交的错误事件。如果其中一个工作流(发现、规则或监视器)失败,将记录一个事件并报告严重警报。
工作流的失败可能会有多个原因,包括(但不限于):
RunAs 帐户配置错误
权限不足
WMI 中断
超时
其他意外状况
解决方案取决于根本原因,其必须在问题发生时根据每种情况进行调查。修复操作取决于根本原因。一般建议包括:
如果警报消息比较难懂或不明确,管理员应咨询 Microsoft 技术支持人员。
如果服务器无需考虑本文“原因”部分所述的状况,则完全禁用监视器。
名称 | 说明 | 默认值 |
已启用 | 启用或禁用工作流 | 是 |
优先级 | 定义警报优先级 | 2 |
严重性 | 定义警报严重性 | 2 |
Target | Microsoft.SQLServer.2016.AnalysisServices.EventLogCollectionTarget | ||
Category | Alert | ||
Enabled | True | ||
Event_ID | 6200 | ||
Event Source | SSAS 2016 MP | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<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>