DPA: DPA kan het python-script niet uitvoeren wanneer de waarschuwing wordt gegenereerd.

Summary: Kan Python-script niet uitvoeren wanneer waarschuwing wordt gegenereerd

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


Wanneer een gebeurtenisgestuurde waarschuwing in DPA wordt aangewezen om python-script uit te voeren wanneer een waarschuwing wordt gegenereerd, kan het script niet worden uitgevoerd en wordt de volgende foutmelding in het serverlogboek waargenomen:

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

Hieronder vindt u de analysebeleidsconfiguratie van de DPA GUI:

DPA GUI 

Cause

DPA werkt naar behoren. DPA kan geen pythonscript of ander script uitvoeren, behalve Windows Batch-script.

Resolution

 DPA ondersteunt alleen Windows-scripts, zoals een batchscript.

De tijdelijke oplossing in dit scenario zou zijn om een batchscript te maken dat het python-proces aanroept om het python-script uit te voeren. Gebruik vervolgens het batchbestand in de op beleid gebaseerde acties bewerken op de DPA GUI.

Affected Products

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