ja:documentation:08_technical_reference:05_anexo_server_plugins_development

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ja:documentation:08_technical_reference:05_anexo_server_plugins_development [2021/07/16 23:26] – [古い PSPZ (Pandora バージョン 4) のアップグレード] junichija:documentation:08_technical_reference:05_anexo_server_plugins_development [2022/12/02 06:09] – [ヘッダー/定義] junichi
行 128: 行 128:
 ==== プラグインの手動登録 ==== ==== プラグインの手動登録 ====
  
-{{ wiki:Registro_manual_plugin.png?750 }}+{{  :wiki:pfms-server-plugins-manual_plugin_registration_1.png  }}
  
  
行 144: 行 144:
  
 プラグインの実行時間制限です。 この時間内に応答がない場合は、モジュールを不明として処理し、その値は更新されません。 プラグインを使用してモニタリングを実装する場合、これは非常に重要な要素です。そのため、プラグインの実行にかかる時間がこの数値より大きいと値を取得できません。この値は、プラグインとして使用されるスクリプトや実行ファイルが値を返すまでにかかる時間よりも常に大きくなければなりません。 何も設定しない場合は、plugin_timeout の設定値が使われます。 プラグインの実行時間制限です。 この時間内に応答がない場合は、モジュールを不明として処理し、その値は更新されません。 プラグインを使用してモニタリングを実装する場合、これは非常に重要な要素です。そのため、プラグインの実行にかかる時間がこの数値より大きいと値を取得できません。この値は、プラグインとして使用されるスクリプトや実行ファイルが値を返すまでにかかる時間よりも常に大きくなければなりません。 何も設定しない場合は、plugin_timeout の設定値が使われます。
 +
 +{{  :wiki:pfms-server-plugins-manual_plugin_registration_2.png  }}
  
   * **プラグインコマンド(Plug-in command)**   * **プラグインコマンド(Plug-in command)**
行 154: 行 156:
  
 コマンドのパラメータ文字列で、コマンドの引数としてしていするものです。パラメータフィールドには、_field1_ _field2_ ... _fieldN_ といったマクロが使えます。 コマンドのパラメータ文字列で、コマンドの引数としてしていするものです。パラメータフィールドには、_field1_ _field2_ ... _fieldN_ といったマクロが使えます。
 +
 +{{  :wiki:pfms-server-plugins-manual_plugin_registration_3.png  }}
  
   * **パラメータマクロ(Parameters macros)**   * **パラメータマクロ(Parameters macros)**
行 320: 行 324:
 === plugin_definition.ini の構造 === === plugin_definition.ini の構造 ===
 == ヘッダー/定義 == == ヘッダー/定義 ==
-これがオプションセクションを持つ標準的なINIファイルです。 + 
-最初のセクションは最も重要で、セクション名は"plugin_definition"固定です。 +This is a [[https://en.wikipedia.org/wiki/INI_file|classic INI file]] with optional sections. The first section, the most important, is a fixed name section called ''plugin_definition'', and this is an example: 
-以下に例を示します。+ 
 +これがオプションセクションを持つ[[https://en.wikipedia.org/wiki/INI_file|標準的なINIファイル]]です。最初のセクションは最も重要で、セクション名は ''plugin_definition'' 固定です。以下に例を示します。
  
 <code> <code>
行 512: 行 517:
 Find more information about major and minor version update in [[https://prewebs.pandorafms.com/manual/en/documentation/02_installation/02_annex_upgrade|this link]]. Find more information about major and minor version update in [[https://prewebs.pandorafms.com/manual/en/documentation/02_installation/02_annex_upgrade|this link]].
  
-メジャーおよびマイナーバージョンのアップデートに関する詳細は、[[:ja:documentation:02_installation:02_annex_upgrade|こちら]]を参照してください。+メジャーおよびマイナーバージョンのアップデートに関する詳細は、[[:ja:documentation:02_installation:02_anexo_upgrade|こちら]]を参照してください。