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

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



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:

kA2j0000000RI6ECAW_3_0

Cause

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

Resolution

 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.



Affected Products

App Direct File System Agent
Article Properties
Article Number: 000055098
Article Type: Solution
Last Modified: 06 May 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.