Tworzy alert w momencie odebrania zdarzenia wskazującego wstrzymanie zadania.
Tworzy alert w odpowiedzi na zdarzenie 5022.
Nie można rozpocząć lub ukończyć procesu roboczego zdefiniowanego w programie System Center 2012 R2 Orchestrator - Service Management Automation z powodu nieprawidłowej konfiguracji lub ręcznego przerwania przez użytkownika.
Aby rozwiązać ten problem, przejdź do portalu Windows Azure Pack i wybierz zasób automatyzacji. Wybierz elementy Runbook i użyj filtra, aby wybrać element Runbook podany w alercie i sprawdzić stan zadania. Po wybraniu przejrzyj historię podsumowania zadania, aby określić przyczynę niepowodzenia.
W odniesieniu do tej reguły można skonfigurować następujące opcje:
Opcja | Definicja | Domyślne |
Włączone | Określa, czy zasada powinna zostać uruchomiona. | Prawda |
Priorytet alertu | Priorytet alertu wygenerowanego przez tę zasadę. 0 = niski 1 = średni 2 = wysoki | Średni |
Ważność alertu | Ważność alertu wygenerowanego przez tę zasadę. 0 = informacja 1 = ostrzeżenie 2 = krytyczny | Krytyczny |
Target | Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker | ||
Category | Alert | ||
Enabled | False | ||
Event_ID | 50022 | ||
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.JobSuspended" 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>50022</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.JobSuspended.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>