작업 상태 중지됨에 대한 경고

Microsoft.SystemCenter.ServiceManagementAutomation.RuleAlert.JobStatusStopped (Rule)

작업 상태가 중지됨으로 변경되었음을 나타내는 이벤트가 수신되었을 때 경고를 생성합니다.

Knowledge Base article:

요약

이벤트 3184에 응답하여 경고를 생성합니다.

원인

System Center Orchestrator - Service Management Automation에 정의된 워크플로가 잘못된 구성 또는 사용자에 의한 수동 중지로 인해 작업을 시작 또는 완료할 수 없습니다.

해결 방법

이 문제를 해결하려면 Windows Azure 팩 포털로 이동하여 Automation 리소스를 선택하십시오. Runbook을 선택하고 필터 옵션을 사용하여 경고에 지정된 Runbook을 선택하고 작업 상태를 확인하십시오. 선택한 후에는 작업 기록 요약을 보고 오류 원인을 확인하십시오.

구성

이 규칙에 대해 구성할 수 있는 옵션:

옵션

정의

기본값

사용

규칙을 실행할지 여부를 지정합니다.

True

경고 우선 순위

이 규칙으로 생성된 경고의 우선 순위입니다.

0 = 낮음

1 = 중간

2 = 높음

중간

경고 심각도

이 규칙으로 생성된 경고의 심각도입니다.

0 = 정보

1 = 경고

2 = 위험

위험

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker
CategoryAlert
EnabledFalse
Event_ID3184
Event SourceMicrosoft-ServiceManagementAutomation
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
작업 상태가 중지됨으로 변경되었습니다.
{0}
Event LogMicrosoft-ServiceManagementAutomation/Operational

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.ServiceManagementAutomation.RuleAlert.JobStatusStopped" Target="Microsoft.SystemCenter.ServiceManagementAutomation.Server.RunbookWorker" 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.RuleAlert.JobStatusStopped.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>