差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_reference:06_anexo_agent_plugins [2024/09/01 07:54] – [XMLの確認] junichi | ja:documentation:pandorafms:technical_reference:06_anexo_agent_plugins [2025/02/26 02:38] (現在) – [pandora_agent_daemon の再起動] junichi | ||
---|---|---|---|
行 8: | 行 8: | ||
===== エージェントプラグインの基本機能 ===== | ===== エージェントプラグインの基本機能 ===== | ||
- | The //agent //plugin **is executed | + | The //agent //plugin **is run by Pandora FMS Software Agent** so it has to have some special features: |
// | // | ||
- | | + | * Each plugin |
- | * It will be possible to access resources local to the machine | + | * It will be possible to access |
* It is possible to use any type of programming language supported by the operating system where the Pandora FMS software agent is installed. | * It is possible to use any type of programming language supported by the operating system where the Pandora FMS software agent is installed. | ||
- | * All the dependencies or software needed to run the plugin must be available or installed in the same machine that runs the Pandora FMS agent. | + | * All dependencies or software needed to run the plugin must be available or installed in the same machine that runs Pandora FMS agent. |
* それぞれのプラグインの実行では、一つまたは複数のモジュールの値を返します。出力は後述する XML フォーマットである必要があります。 | * それぞれのプラグインの実行では、一つまたは複数のモジュールの値を返します。出力は後述する XML フォーマットである必要があります。 | ||
行 22: | 行 22: | ||
* プラグインを実行するために必要な依存プログラムは、Pandora ソフトウエアエージェントを実行するのと同じマシンにインストールされている必要があります。 | * プラグインを実行するために必要な依存プログラムは、Pandora ソフトウエアエージェントを実行するのと同じマシンにインストールされている必要があります。 | ||
- | Agent plugins | + | Agent plugins |
エージェントプラグインは、" | エージェントプラグインは、" | ||
行 229: | 行 229: | ||
<code bash> | <code bash> | ||
- | / | + | systemctl |
</ | </ | ||
行 274: | 行 275: | ||
==== デバッグモード ==== | ==== デバッグモード ==== | ||
- | //pandora_agent.conf// ファイル内で、// | + | You can activate the development mode by changing the value of the debug tag in the '' |
- | ファイル名は、エージェント名と | + | '' |
+ | |||
+ | The name of the document will be the name of the agent with the extension '' | ||
+ | |||
+ | ファイル名は、エージェント名と | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | |||
+ | When you enable Debug mode, the agent runs only once and then exits. | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
- | <WRAP center round tip 60%> | ||
デバッグモードを有効にすると、エージェントは 1回の実行で終了します。 | デバッグモードを有効にすると、エージェントは 1回の実行で終了します。 | ||
+ | |||
</ | </ | ||
+ | |||
+ | <wrap #ks3_7 /> | ||
==== フォーラム ==== | ==== フォーラム ==== | ||
- | それでもまだうまくいかない場合は、我々の [[http://www.openideas.info/smf/ | + | If after all the error persists, [[https:// |
+ | |||
+ | それでもまだうまくいかない場合は、我々の [[https://pandorafms.com/community/ | ||
[[ja: | [[ja: | ||