SCOM S2D: 스크립트 실패

Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.WorkflowScriptFailed (Rule)

이 규칙은 모니터링 또는 검색 스크립트를 처리하는 중 발생한 오류를 생성합니다. 해당 규칙은 기본적으로 사용되지 않습니다. 더 많은 진단 데이터를 받아야 하는 경우, 재정의를 통해 이 규칙을 사용하도록 설정합니다. 또한 재정의를 통해 해당 워크플로에 대해 디버그 모드를 사용하도록 설정해야 합니다.

Knowledge Base article:

요약

이 규칙은 모니터링 또는 검색 스크립트를 처리하는 중 발생한 오류를 생성합니다. 해당 규칙은 기본적으로 사용되지 않습니다. 더 많은 진단 데이터를 받아야 하는 경우, 재정의를 통해 이 규칙을 사용하도록 설정합니다. 또한 재정의를 통해 해당 워크플로에 대해 디버그 모드를 사용하도록 설정해야 합니다.

원인

모니터링 또는 검색 스크립트가 실패했습니다.

Element properties:

TargetMicrosoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Seed
CategoryAlert
EnabledFalse
Event SourceHealth Service Script
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
S2D 스크립트가 실패했습니다.
{0}
Event LogOperations Manager

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.WorkflowScriptFailed" Enabled="false" Target="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.Seed" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">8672</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">8862</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Script</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.Storage.StorageSpacesDirect.WorkflowScriptFailed.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>