Esta regla genera alertas cuando una regla o monitor intenta ejecutar un proceso y éste no se puede iniciar.
El servicio de mantenimiento intentaba ejecutar un archivo ejecutable y no pudo crear el proceso.
Esto puede afectar a la supervisión o detección.
Esto puede deberse a:
No se ha podido encontrar el archivo ejecutable.
El equipo no tiene suficientes recursos (por ejemplo, memoria) para ejecutar el archivo ejecutable.
La extensión de secuencia de comandos no está registrada correctamente.
El contexto y la descripción de la alerta tiene información que indica qué regla o monitor ha dado error. El siguiente vínculo mostrará todos los eventos que indiquen un error en la ejecución del archivo ejecutable:
Ver eventos de respuesta por lotes
Después de revisar el error en el contexto, compruebe:
Que exista la ruta de acceso al archivo ejecutable en el equipo.
Que no se haya usado el equipo por encima de su capacidad.
Consulte el administrador de tareas para ver si hay suficiente memoria libre.
Consulte el administrador de tareas para ver si hay procesos que consuman toda la CPU.
Para garantizar que todas las extensiones de secuencia de comandos están registradas, siga los pasos de la sección “Permitirme corregirlo yo mismo” del artículo 949140 de Knowledge Base (http://go.microsoft.com/fwlink/?LinkId=181825).
Tenga en cuenta que si no se puede encontrar el ejecutable, la regla estará mal configurada. Abra la regla que estaba ejecutando la respuesta y actualice la configuración de regla con la ruta de acceso correcta al ejecutable o instale el ejecutable en el sistema de destino.
Por último, debe comprobar el directorio de trabajo y la ruta de acceso al archivo de la aplicación por si hay errores, así como comprobar que la cuenta de acción tiene acceso a la aplicación o directorio.
Target | Microsoft.SystemCenter.HealthService | ||
Category | EventCollection | ||
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 |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<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>
<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/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>