DPA: DPA unable to execute python script when Alert is generated.

Resumen: unable to execute python script when Alert is generated

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas


When an event driven alert in DPA is pointed to run python script when alert is generated, it fails to execute the script and following error message in the server log is observed:

2016-12-31 08:03:24,534 ERROR [com.emc.apollo.command.util.ExecCommandsBean] (EJB default - 195) Error running command. Error message was Cannot run program "E:\monitoring\backup_fail.py": CreateProcess error=193, %1 is not a valid Win32 application

Below is the Analysis policy configuration from the DPA GUI:

DPA GUI 

Causa

DPA is working as designed. DPA cannot execute python script or any other script except Windows Batch script.

Resolución

 DPA supports only windows scripts such a Batch script.

The workaround in this scenario would be to create a batch script which will call the python process to run the python script. Then use the batch file in the edit policy-based actions on the DPA GUI.

Productos afectados

App Direct File System Agent
Propiedades del artículo
Número del artículo: 000055098
Tipo de artículo: Solution
Última modificación: 21 ene. 2026
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.