ジョブの状態が停止に変わったことを示すイベントを受け取ったときにアラートを生成します。
イベント 3184 に対してアラートを生成します。
System Center 2012 R2 Orchestrator - Service Management Automation に定義されているワークフローが、構成が無効なため、またはユーザーが手動で停止したため、ジョブを開始または完了できませんでした。
この問題を解決するには、Windows Azure パック ポータルを開き、Automation のリソースを選択します。次に Runbook を選択し、フィルター オプションを使用して、アラートに指定された Runbook を選択し、ジョブの状態を確認します。選択したら、ジョブの概要の履歴で、エラーの原因を特定します。
このルールでは次のオプションを構成できます:
オプション | 定義 | 既定 |
有効 | ルールを実行するかどうかを指定します。 | 真 |
アラートの優先順位 | このルールで生成されるアラートの優先順位。 0 = 低 1 = 中 2 = 高 | 中 |
アラートの重要度 | このルールで生成されるアラートの重大度。 0 = 情報 1 = 警告 2 = 重大 | 重大 |
Target | Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker | ||
Category | Alert | ||
Enabled | False | ||
Event_ID | 3184 | ||
Event Source | Microsoft-ServiceManagementAutomation | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Microsoft-ServiceManagementAutomation/Operational |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.RuleAlert.JobStatusStopped" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker" Enabled="false" ConfirmDelivery="false" 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"]/PrincipalName$</ComputerName>
<LogName>Microsoft-ServiceManagementAutomation/Operational</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>3184</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-ServiceManagementAutomation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.RuleAlert.JobStatusStopped.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>