差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン | |||
| ja:documentation:pandorafms:monitoring:05_virtual_environment_monitoring [2026/01/17 00:46] – [XenServer] junichi | ja:documentation:pandorafms:monitoring:05_virtual_environment_monitoring [2026/01/17 00:47] (現在) – junichi | ||
|---|---|---|---|
| 行 997: | 行 997: | ||
| XenServer 用の DISCO パッケージの使用方法については、[[: | XenServer 用の DISCO パッケージの使用方法については、[[: | ||
| - | |||
| - | ==== XenServer プラグインの動作 ==== | ||
| - | |||
| - | The Pandora FMS plugin for monitoring Xen environments is written in Python. Use XenAPI to retrieve all necessary information. Allows monitoring of the following types of elements: | ||
| - | |||
| - | Xen 環境監視のための Pandora FMS プラグインは、Python で書かれています。 必要な情報をすべて取得するには、XenAPI を使用します。 これにより、次のタイプの要素の監視が可能になります。 | ||
| - | |||
| - | * Virtualized systems in Xen. | ||
| - | * Storage resources. | ||
| - | * Own XenServer 6.5 and 7.2 (host). | ||
| - | |||
| - | * Xen 内の仮想化システム | ||
| - | * ストレージリソース | ||
| - | * XenServer 6.5 および 7.2 自身(ホスト) | ||
| - | |||
| - | ==== プラグインに必要なもの ==== | ||
| - | |||
| - | It is essential that the system that runs the plugin has the following requirements: | ||
| - | |||
| - | プラグインを実行するシステムには次のものが必要です。 | ||
| - | |||
| - | * Python installed | ||
| - | * Installed Python libraries: XenAPI et xmltodict. | ||
| - | * Access to your XenServer API (web, enable traffic from the computer running the plugin to port 443 or 80 of the XenServer). | ||
| - | * It is recommended that virtual machines have Xen Server Tools installed, as the information available otherwise is quite limited. | ||
| - | |||
| - | * Python のインストール | ||
| - | * 次の Python ライブラリのインストール: | ||
| - | * XenServer API へのアクセス (プラグインを実行するマシンから、XenServer へのポート 443 または 80 での接続許可) | ||
| - | * 利用できる情報が多いため、仮想マシンには Xen Server Tools のインストールを推奨します。 | ||
| - | |||
| - | ==== プラグインのインストール ==== | ||
| - | |||
| - | Pandora FMS の XenServer プラグインを、[[https:// | ||
| - | |||
| - | 実行環境のマシン(Windows または Linux)で、Pandora FMS エージェントまたはシステム cron を使用して実行できるディレクトリにファイルを展開します。 | ||
| - | |||
| - | ==== プラグイン設定 ==== | ||
| - | |||
| - | Configuration available for the Pandora FMS plugin for Xen: | ||
| - | |||
| - | Xen 用の Pandora FMS プラグイン設定は以下の通りです。 | ||
| - | |||
| - | // | ||
| - | |||
| - | // | ||
| - | |||
| - | * **xen_server_ip: | ||
| - | * **user: **User with query permissions on the Xen API. | ||
| - | * **password: **User password | ||
| - | * **temporary: | ||
| - | |||
| - | * **xen_server_ip**: | ||
| - | * **user**: Xen API に対してクエリを出せるユーザ | ||
| - | * **password**: | ||
| - | * **temporary**: | ||
| - | |||
| - | // | ||
| - | |||
| - | // | ||
| - | |||
| - | * **tentacle_client: | ||
| - | * **tentacle_ip: | ||
| - | * **tentacle_port: | ||
| - | * **logfile: **Full path to the log file. | ||
| - | * **interval: **Interval of the generated agents. | ||
| - | * **group: **Group assigned to the generated agents. | ||
| - | |||
| - | * **tentacle_client**: | ||
| - | * **tentacle_ip**: | ||
| - | * **tentacle_port**: | ||
| - | * **logfile**: | ||
| - | * **interval**: | ||
| - | * **group**: 生成したエージェントに割り当てるグループ | ||
| - | |||
| - | // | ||
| - | |||
| - | // | ||
| - | |||
| - | * **time_adjustment: | ||
| - | * **scan_vm_ip: | ||
| - | |||
| - | * **time_adjustment**: | ||
| - | * **scan_vm_ip**: | ||
| - | |||
| - | // | ||
| - | |||
| - | // | ||
| - | |||
| - | * **xen_element_name = pandora_agent_name: | ||
| - | |||
| - | * **xen_element_name=pandora_agent_name**: | ||
| - | < | ||
| - | |||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | </ | ||
| - | |||
| - | 名前にスペースが含まれていても、クオートでくくる必要はありません。 | ||
| - | |||
| - | ==== プラグインの実行 ==== | ||
| - | |||
| - | You can schedule the plugin to run from any Pandora FMS agent, adding the following to its configuration: | ||
| - | |||
| - | Pandora FMS エージェントの設定に以下を追加することによって、プラグインの実行ができます。 | ||
| - | |||
| - | < | ||
| - | |||
| - | module_plugin python "< | ||
| - | |||
| - | </ | ||
| - | |||
| - | To schedule it through the system cron you can add the following line to ''/ | ||
| - | |||
| - | システムの cron で設定する場合は、''/ | ||
| - | |||
| - | < | ||
| - | /5 * * * * root python "< | ||
| - | |||
| - | </ | ||
| - | |||
| - | If you run the plugin manually the output should look like this: | ||
| - | |||
| - | プラグインを手動実行すると、出力は以下のようになります。 | ||
| - | |||
| - | < | ||
| - | python "< | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | </ | ||
| - | |||