DPA:アラートの生成時にDPAがPythonスクリプトを実行できない。
Summary: アラートの生成時にPythonスクリプトを実行できない
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
アラートの生成時にDPAのイベント駆動型アラートがpythonスクリプトを実行するように指定されている場合、スクリプトの実行に失敗し、サーバー ログに次のエラー メッセージが表示されます。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
DPA GUIからの分析ポリシー設定を次に示します。
Cause
DPAは設計どおりに動作しています。DPAは、PythonスクリプトまたはWindows Batchスクリプト以外のスクリプトを実行できません。
Resolution
DPAは、バッチ スクリプトなどのWindowsスクリプトのみをサポートします。
このシナリオでの回避策は、Pythonスクリプトを実行するPythonプロセスをコールするバッチ スクリプトを作成することです。次に、DPA GUIのポリシーベースの編集アクションでバッチ ファイルを使用します。
Affected Products
App Direct File System AgentArticle 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.