삭제된 Power Shell 스크립트에 대한 경고입니다.
System Center 관리 상태 서비스가 과도한 사용량 때문에 PowerShell 스크립트를 규칙 또는 모니터의 일부로 실행할 수 없습니다.
이 문제는 일부 모니터링 또는 검색에 영향을 미칠 수 있습니다.
다음과 같은 문제가 원인일 수 있습니다.
System Center 관리 상태 서비스에서 너무 많은 PowerShell 스크립트가 실행 중입니다.
PowerShell 스크립트를 실행하는 데 너무 오래 걸립니다.
PowerShell 스크립트가 너무 자주 실행됩니다.
컴퓨터에 PowerShell 스크립트를 실행하기 위한 리소스(예: 메모리)가 충분하지 않습니다.
경고 설명 및 컨텍스트에 실패한 규칙이나 모니터를 나타내는 정보가 들어 있습니다. 그러나 실패한 다른 규칙이나 모니터가 있을 수도 있습니다. 다음 링크를 클릭하면 실행 파일의 실행 실패를 나타내는 모든 이벤트가 표시됩니다.
PowerShell 이벤트 보기
컨텍스트의 오류를 검토한 후에 PowerShell 스크립트의 실행 빈도를 줄이는 것을 고려하세요.
해당 컴퓨터가 과도하게 사용되고 있지 않은지 확인합니다.
작업 관리자에 사용 가능한 메모리가 충분한지 확인합니다.
작업 관리자에서 모든 CPU를 사용하는 프로세스가 있는지 확인합니다.
너무 많은 PowerShell 스크립트가 예약되고 있을 때 이러한 문제가 발생할 수도 있습니다. 너무 많은 이벤트나 잘못 구성된 타이머가 원인일 수 있습니다. 두 경우 모두 규칙 구성을 검사하여 PowerShell 스크립트가 너무 자주 실행되고 있는 이유를 확인하고 일반적으로 간격을 늘리는 등의 방법으로 어떻게 해서든지 빈도를 줄어야 합니다.
Target | Microsoft.SystemCenter.HealthService | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Consolidator | ConditionDetection | System.ConsolidatorCondition | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.PowerShellModule.AlertOnDroppedResponses" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" 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"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Modules</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Name$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">22411</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<ConditionDetection ID="Consolidator" TypeID="System!System.ConsolidatorCondition">
<Consolidator>
<ConsolidationProperties>
<PropertyXPathQuery>Params/Param[1]</PropertyXPathQuery>
</ConsolidationProperties>
<TimeControl>
<WithinTimeSchedule>
<Interval>300</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>10</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerSlideByOne</CountMode>
</CountingCondition>
</Consolidator>
</ConditionDetection>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.PowerShellModule.AlertOnDroppedResponses.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Context/DataItem/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Context/DataItem/Params/Param[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>