| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:technical_reference:11_pfms_plugis [2025/11/29 05:31] – [Pandora FMS プラグイン設定] junichi | ja:documentation:pandorafms:technical_reference:11_pfms_plugis [2026/02/04 08:00] (現在) – [PSPZ2] junichi |
|---|
| * エージェントプラグイン: エージェントプラグインは Pandora FMS エンドポイントによって実行されます。通常はローカルにあり、リモートでは動作しないため、エージェントデーモンによって実行されます。 エージェントプラグインは通常、実行時に XML を出力し、モジュールにはデータが含まれます。 | * エージェントプラグイン: エージェントプラグインは Pandora FMS エンドポイントによって実行されます。通常はローカルにあり、リモートでは動作しないため、エージェントデーモンによって実行されます。 エージェントプラグインは通常、実行時に XML を出力し、モジュールにはデータが含まれます。 |
| * サーバプラグイン: サーバプラグインは [[:ja:documentation:pandorafms:introduction:02_architecture#プラグインサーバ|プラグインサーバ]] によって実行され、通常は API または別の方法でリモートでデータを取得します。(ほとんどの場合)エージェントプラグインとして設定することもできますが、推奨されるオプションは、サーバプラグインとして設定することです。 サーバプラグインは、実行の成功を示す ''1'' などの 1 つの値のみを返します。 | * サーバプラグイン: サーバプラグインは [[:ja:documentation:pandorafms:introduction:02_architecture#プラグインサーバ|プラグインサーバ]] によって実行され、通常は API または別の方法でリモートでデータを取得します。(ほとんどの場合)エージェントプラグインとして設定することもできますが、推奨されるオプションは、サーバプラグインとして設定することです。 サーバプラグインは、実行の成功を示す ''1'' などの 1 つの値のみを返します。 |
| | |
| | <wrap #ks5 /> |
| |
| ===== プラグインの見つけ方 ===== | ===== プラグインの見つけ方 ===== |
| <WRAP center round download 60%> | <WRAP center round download 60%> |
| |
| [[https://pandorafms.com/library/|https://pandorafms.com/library/]] | [[https://marketplace.pandorafms.com/]] |
| |
| </WRAP> | </WRAP> |
| **total_modules_provided**: ''.ini'' ファイルの次のセクションで定義されているモジュールの数を指定します。 少なくとも 1 つ設定します (少なくとも例で使用)。 | **total_modules_provided**: ''.ini'' ファイルの次のセクションで定義されているモジュールの数を指定します。 少なくとも 1 つ設定します (少なくとも例で使用)。 |
| |
| **execution_command**: If it is used, it must be placed before script. It could be an interpreter, such as ''java -jar''. Therefore, the plugin will be called for execution, from the Pandora FMS Plugin Server, with the following code: ''java -jar < plugin_path/ plugin_filename''. | **execution_command**: If it is used, it must be entered before the script. It could be an interpreter, such as Python. |
| |
| **execution_command**: 使用する場合は、script の前に置かなければなりません。これは、''java -jar'' のようなインタプリタかもしれません。プラグインは Pandora FMS プラグインサーバから次のようなコードで呼び出され実行されます: ''java -jar < plugin_path/ plugin_filename'' | **execution_command**: 使用する場合は、script の前に置かなければなりません。Pythonなどのインタープリタでも構いません。 |
| |
| **execution_postcommand**: If used, it defines the additional parameters transmitted to the plugin after ''< plugin_filename >'', which is invisible to the user. | **execution_postcommand**: If used, it defines the additional parameters transmitted to the plugin after ''< plugin_filename >'', which is invisible to the user. |