DPA:アラートの生成時にDPAが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デフォルト-195)コマンドの実行中にエラーが発生しました。エラー メッセージ「プログラム "
E:\monitoring\backup_fail.py" を実行できません: CreateProcess エラー = 193、%1 は有効な Win32 アプリケーションではありません


DPA GUIからの分析ポリシー設定を次に示します。

kA2j0000000RI6ECAW_3_0

Cause

DPAは設計どおりに動作しています。DPAは、PythonスクリプトまたはWindows Batchスクリプト以外のスクリプトを実行できません。

Resolution

 DPAは、バッチ スクリプトなどのWindowsスクリプトのみをサポートします。

このシナリオでの回避策は、Pythonスクリプトを実行するPythonプロセスをコールするバッチ スクリプトを作成することです。次に、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.