Alerta de definição de Runbook inválida

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

Cria um alerta quando é recebido um evento que indica que um runbook foi guardado com uma definição inválida.

Knowledge Base article:

Resumo

Cria um alerta em resposta ao evento 50006.

Causas

Não foi possível a um fluxo de trabalho definido no System Center Orchestrator - Service Management Automation iniciar ou concluir uma tarefa devido a uma configuração inválida ou porque foi parado por um utilizador.

Resolução

Para resolver o problema, navegue para o portal do Windows Azure Pack e selecione o recurso Automatização. Selecione Runbooks e utilize a opção do filtro para selecionar o runbook especificado no Alerta e ver o estado das Tarefas. Depois de selecionar, veja o Histórico do Resumo da Tarefa para determinar a causa da falha.

Configuração

As seguintes opções podem ser configuradas nesta regra:

Opção

Definição

Predefinição

Ativado

Especifica se a regra deverá ser executada.

Verdadeiro

Prioridade dos Alertas

Prioridade do alerta gerado por esta regra.

0 = Baixo

1 = Médio

2 = Alto

Média

Gravidade do Alerta

Gravidade do alerta gerado por esta regra.

0 = Informação

1 = Aviso

2 = Crítico

Crítica

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.Server.WebService
CategoryAlert
EnabledFalse
Event_ID50006
Event SourceMicrosoft-ServiceManagementAutomation
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
A definição do runbook é inválida.
{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.RunbookDefinitionInvalid" Target="Microsoft.SystemCenter.ServiceManagementAutomation.Server.WebService" 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>50006</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.RunbookDefinitionInvalid.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>