差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_reference:04_anexo_plugins_considerations [2024/10/11 22:50] – [自動検出処理] junichi | ja:documentation:pandorafms:technical_reference:04_anexo_plugins_considerations [2025/07/21 07:10] (現在) – [実装とパフォーマンスの違い] junichi | ||
---|---|---|---|
行 17: | 行 17: | ||
===== 実装とパフォーマンスの違い ===== | ===== 実装とパフォーマンスの違い ===== | ||
- | Pandora FMS offers two possibilities when executing plugins: execution in the [[en: | + | Pandora FMS offers two possibilities when executing plugins: execution in the [[:en: |
- | Pandora のプラグイン実行には、[[: | + | Pandora |
* Server plugins do independent executions to collect each information piece. The server plugin execution is very difficult so it is only possible for " | * Server plugins do independent executions to collect each information piece. The server plugin execution is very difficult so it is only possible for " | ||
- | * Software agent plugins allow to obtain several modules at the same time and for that reason they are much more flexible than server plugins. They are perfect for plugins that need several queries to get an information piece; they allow more flexibility to programmers so it is possible to return several modules at the same time. | + | * EndPoint |
* サーバプラグインは、収集する情報ごとに個々に実行されます。サーバプラグインの実行は、重くなく、一つの種類の情報を取得するのを簡単な処理にする必要があるため、とても難しいです。特定の HTML をパースするプラグインは、多くの処理を実装せずにサーバに負荷をかけないようにする必要があります。 | * サーバプラグインは、収集する情報ごとに個々に実行されます。サーバプラグインの実行は、重くなく、一つの種類の情報を取得するのを簡単な処理にする必要があるため、とても難しいです。特定の HTML をパースするプラグインは、多くの処理を実装せずにサーバに負荷をかけないようにする必要があります。 | ||
- | * エージェントプラグインは、同時に複数のモジュールの情報を取得することができます。このことにより、サーバプラグインよりより柔軟性があります。一つの情報を取得するのに多くの処理が必要なプラグインに適しています。そのため、同時に複数のモジュールの値を返すことができ、開発者にとってより柔軟性があります。 | + | * エンドポイントプラグインは、同時に複数のモジュールの情報を取得することができます。このことにより、サーバプラグインよりより柔軟性があります。一つの情報を取得するのに多くの処理が必要なプラグインに適しています。そのため、同時に複数のモジュールの値を返すことができ、開発者にとってより柔軟性があります。 |
<wrap #ks3 /> | <wrap #ks3 /> | ||
行 37: | 行 37: | ||
The first one consists on using Pandora server [[: | The first one consists on using Pandora server [[: | ||
- | 一つは、Pandora サーバの自動検出サーバを利用しての構成です。これを行うには、特定の技術や状況に応じてアドホックなコードを作成する必要があります。自動検出処理は、Pandora サーバに負荷を与えます。そのため、大量のデータ処理が必要な場合は、この選択枝は考えるべきではありません。 | + | 一つは、Pandora サーバの[[: |
It is also possible to create a recon task using an agent plugin. Usually, agent plugins return modules that are attached to the XML that the agent sends to Pandora server. But, consider that when installing the agent in a machine with it, [[: | It is also possible to create a recon task using an agent plugin. Usually, agent plugins return modules that are attached to the XML that the agent sends to Pandora server. But, consider that when installing the agent in a machine with it, [[: | ||
- | エージェントプラグインを用いても自動検出処理を作成することができます。通常、エージェントプラグインは、Pandora サーバに対して送信する XML に記載されたモジュールを返します。しかし、エージェントのインストールと一緒にプラグインをインストールし、tentacle も入っていれば、Pandora サーバに XML を送信することができます。自動検出処理をエージェントプラグインから実行するには、この方法を利用することができます。さらに、通常のプラグインの実行と同じように、モジュールを追加します。自動検出処理が実行するように、エージェントの更新情報を Pandora へ XML で送信するようにプラグインを用意します。 | + | エージェントプラグインを用いても自動検出処理を作成することができます。通常、エージェントプラグインは、Pandora サーバに対して送信する XML に記載されたモジュールを返します。しかし、エージェントのインストールと一緒にプラグインをインストールし、[[: |
The idea is that the plugin, besides creating average modules, collects the information and creates and sends the XML simulating other installed agents if necessary. | The idea is that the plugin, besides creating average modules, collects the information and creates and sends the XML simulating other installed agents if necessary. |