ja:documentation:pandorafms:technical_reference:11_pfms_plugis

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:11_pfms_plugis [2025/07/12 07:34] – [プラグインのインストール方法] junichija:documentation:pandorafms:technical_reference:11_pfms_plugis [2026/02/04 08:00] (現在) – [PSPZ2] junichi
行 46: 行 46:
   * エージェントプラグイン: エージェントプラグインは 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 />
  
 ===== プラグインの見つけ方 ===== ===== プラグインの見つけ方 =====
行 59: 行 61:
 <WRAP center round download 60%> <WRAP center round download 60%>
  
-[[https://pandorafms.com/library/|https://pandorafms.com/library/]]+[[https://marketplace.pandorafms.com/]]
  
 </WRAP> </WRAP>
行 157: 行 159:
 データをリモートで取得できるプラグインは、データを取得するためにサービスマシン上に存在する必要がないため、プラグインサーバで実行できます。 データをリモートで取得できるプラグインは、データを取得するためにサービスマシン上に存在する必要がないため、プラグインサーバで実行できます。
  
-There are certain plugins that can only be run through the software agent since they need to be on the same system as the service from which you want to get data in order to get them.+There are certain plugins that can only be run through the EndPoint since they need to be on the same system as the service from which you may want to get data in order to get them.
  
-ソフトウェアージェントを介してのみ実行できる特定のプラグインもあります。データの取得がサービスと同じシステム上である必要がある場合です。+ンドポイントを介してのみ実行できる特定のプラグインもあります。データの取得がサービスと同じシステム上である必要がある場合です。
  
 ==== データをどのように表示しますか? ==== ==== データをどのように表示しますか? ====
行 685: 行 687:
  
 プラグインの設定は、これがエージェントプラグインかサーバプラグインかによって異なる場合があります。 プラグインの設定は、これがエージェントプラグインかサーバプラグインかによって異なる場合があります。
 +
 +<wrap #ks16_1 />
  
 ==== サーバプラグイン ==== ==== サーバプラグイン ====
行 764: 行 768:
 ==== エージェントプラグイン ==== ==== エージェントプラグイン ====
  
-In order to monitor from Pandora FMS with an agent plugin, call it from the software agent ''.conf''  file that is in the following path, in GNU/Linux:+In order to monitor from Pandora FMS with an agent plugin, call it from the EndPoint ''.conf''  file found at the following path, in Linux:
  
-エージェントプラグインを使用して Pandora FMS で監視するには、GNU/Linux の次のパスにあるソフトウェアージェントの ''.conf''  ファイルから呼び出します。+エージェントプラグインを使用して Pandora FMS で監視するには、Linux の次のパスにあるエンドポイントの ''.conf''  ファイルから呼び出します。
 <file> <file>
  
行 862: 行 866:
 **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.
  • ja/documentation/pandorafms/technical_reference/11_pfms_plugis.1752305681.txt.gz
  • 最終更新: 2025/07/12 07:34
  • by junichi