Инициализация рабочего процесса: Не удалось запустить процесс или сценарий

Microsoft.SystemCenter.BatchResponseModule.AlertOnFailedCreateProcess (Rule)

Это правило создает предупреждения, если правило или монитор предпринимает попытку выполнить процесс, но этот процесс не удается запустить.

Knowledge Base article:

Сводка

Службой работоспособности управления System Center была предпринята попытка запустить исполняемый файл; при этом ей не удалось создать процесс.

Это может повлиять на определенные аспекты отслеживания или обнаружения.

Причины

Это может быть вызвано следующими причинами:

Решения

В описании и контексте предупреждения указывается, в работе какого правила или монитора произошел сбой. Используйте следующую ссылку для отображения всех событий, указывающих на ошибку запуска исполняемого файла:

Просмотр событий пакетных ответов

После анализа ошибки в контексте, проверьте следующее:

На компьютере существует путь к исполняемому файлу.

Уровень загрузки компьютера не превышает допустимый.

Обратите внимание, что если не удалось найти исполняемый файл, правило настроено неправильно. Откройте правило и в свойствах обработки отклика обновите конфигурацию правила, указав правильный путь к исполняемому файлу, или установите исполняемый файл на целевой системе.

И наконец, проверьте рабочий каталог и путь к файлу приложения на наличие ошибок и убедитесь в том, что учетная запись действия имеет доступ к приложению/каталогу.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
Инициализация рабочего процесса: Не удалось запустить процесс или сценарий
{0}
Event LogOperations Manager

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.BatchResponseModule.AlertOnFailedCreateProcess" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">21400</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">21401</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</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>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.BatchResponseModule.AlertOnFailedCreateProcess.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Context/DataItem/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Context/DataItem/Params/Param[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>