差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:08_technical_reference:04_anexo_plugins_considerations [2022/09/16 21:30] – [プラグインと拡張のバージョン管理] junichi | ja:documentation:08_technical_reference:04_anexo_plugins_considerations [2022/09/16 21:41] – [使い方とプラグインのバージョン] junichi | ||
---|---|---|---|
行 7: | 行 7: | ||
===== 概要 ===== | ===== 概要 ===== | ||
- | プラグインにより Pandora は、複雑な処理を必要とするものや、複雑なシステムや API を利用する必要のある情報収集を実行することができます。プラグインの例をあげると、複雑な処理が必要な Oracle データベースのモニタリングや、何らかの自動検出処理があります。他には、Goliat が実行できないような簡単な HTML のパースができます。 | + | |
+ | The plugins allows to Pandora FMS to get information that requires a complex process or that requires the use of complex systems or APIs. Examples of plugins could be the Oracle® database monitoring that requires a complex process for the monitoring and also some auto-discovery tasks. Other example could be a simple HTML parse, but that requires some that Goliat ([[: | ||
+ | |||
+ | プラグインにより Pandora は、複雑な処理を必要とするものや、複雑なシステムや API を利用する必要のある情報収集を実行することができます。プラグインの例をあげると、複雑な処理が必要な Oracle データベースのモニタリングや、何らかの自動検出処理があります。他には、Goliat | ||
===== 実装とパフォーマンスの違い ===== | ===== 実装とパフォーマンスの違い ===== | ||
- | Pandora のプラグイン実行には、エージェントでの実行とサーバでの実行の二種類があります。 | + | |
+ | Pandora FMS offers two possibilities when executing plugins: execution in the [[: | ||
+ | |||
+ | Pandora のプラグイン実行には、[[: | ||
サーバプラグインは、収集する情報ごとに個々に実行されます。サーバプラグインの実行は、重くなく、一つの種類の情報を取得するのを簡単な処理にする必要があるため、とても難しいです。特定の HTML をパースするプラグインは、多くの処理を実装せずにサーバに負荷をかけないようにする必要があります。 | サーバプラグインは、収集する情報ごとに個々に実行されます。サーバプラグインの実行は、重くなく、一つの種類の情報を取得するのを簡単な処理にする必要があるため、とても難しいです。特定の HTML をパースするプラグインは、多くの処理を実装せずにサーバに負荷をかけないようにする必要があります。 | ||
行 32: | 行 38: | ||
[[: | [[: | ||
+ | |||
+ | * The load of each execution is small, for example, simple queries. | ||
+ | * If the Recon Task requires low data process. | ||
+ | * If the Recon Task execution intervals are large, for example, once a week | ||
* 実行負荷が小さい場合。例えば単純な処理など。 | * 実行負荷が小さい場合。例えば単純な処理など。 | ||
- | * 自動検出処理が多くのデータ処理を必要後する場合。 | + | * 自動検出処理のデータ処理量が少ない場合。 |
* 自動検出処理の実行間隔が長い場合。例えば、1週間に一度など。 | * 自動検出処理の実行間隔が長い場合。例えば、1週間に一度など。 | ||
行 78: | 行 88: | ||
常に最初のリビジョンから開始し、新しいバージョンへ変更していく必要があります。つまり、バージョン v1r5 のプラグインに対して、より新しいバージョンを定義したい場合は、v2r1 などになります。 | 常に最初のリビジョンから開始し、新しいバージョンへ変更していく必要があります。つまり、バージョン v1r5 のプラグインに対して、より新しいバージョンを定義したい場合は、v2r1 などになります。 | ||
- | === 使い方とプラグインのバージョン === | + | ==== 使い方とプラグインのバージョン |
All plugins should respond to a call without parameters, or also with an option type -h or --help, showing the command for its execution and the different parameters of it.Besides, it will be necessary to show the version of the plugin. For example: | All plugins should respond to a call without parameters, or also with an option type -h or --help, showing the command for its execution and the different parameters of it.Besides, it will be necessary to show the version of the plugin. For example: | ||
行 85: | 行 95: | ||
< | < | ||
- | $ ./myplugin | + | $ ./myplugin |
- | + | ||
| | ||
- | + | ||
Usage myplugin < | Usage myplugin < | ||
- | + | ||
- | | + | |
- | | + | |
</ | </ | ||
[[ja: | [[ja: | ||