差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:03_monitoring:14_syncserver_monitoring [2022/10/28 09:03] – [全体の例] junichi | ja:documentation:03_monitoring:14_syncserver_monitoring [2023/11/14 07:33] (現在) – 削除 junichi | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== 隔離された環境の監視: | ||
| - | {{indexmenu_n> | ||
| - | [[ja: | ||
| - | |||
| - | |||
| - | |||
| - | ===== 概要 ===== | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | The isolated environment monitoring system with [[: | ||
| - | |||
| - | [[: | ||
| - | |||
| - | この機能は、Pandora FMS サーバが直接置かれてない場所でリモートネットワークを監視する場合に特に便利です。リモートネットワークから Pandora へ通信ができない環境で、リモートサーバが通信を行い情報を収集します。 | ||
| - | |||
| - | |||
| - | ===== 処理概要 ===== | ||
| - | |||
| - | This feature is generally applied in environments with the following structure: | ||
| - | この機能は、次のような構造の環境に適用します。 | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | |||
| - | 標準インストールのように、Pandora FMS セントラルサーバーから開始します。リモートネットワークでは、データ収集ポイント(tentacle サーバ)がインストールされ、メインサーバ(同期サーバー)が通信を開始し、バッファのように情報をダウンロードするまですべてのデータが保管されます。 | ||
| - | |||
| - | バッファリングされたデータは、メインサーバにダウンロードされると消されます。 | ||
| - | |||
| - | <WRAP center round tip 60%> | ||
| - | |||
| - | The main difference between the sync server and the [[https:// | ||
| - | |||
| - | </ | ||
| - | |||
| - | <WRAP center round tip 60%> | ||
| - | |||
| - | 同期サーバの[[: | ||
| - | |||
| - | </ | ||
| - | |||
| - | A more complex environment, | ||
| - | |||
| - | より複雑な環境の例: | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | ===== 設定 ===== | ||
| - | |||
| - | Start from an environment where there is a main Pandora FMS server, where the **Sync Server**. To carry it out, modify the following parameters in the configuration file: | ||
| - | |||
| - | メインの Pandora FMS サーバにて **同期サーバ** をたてる作業から開始します。それには、設定ファイル内の次のパラメータを設定します。 | ||
| - | |||
| - | < | ||
| - | |||
| - | syncserver 1 | ||
| - | sync_address < | ||
| - | sync_port < | ||
| - | |||
| - | </ | ||
| - | |||
| - | Where ''< | ||
| - | |||
| - | ここで ''< | ||
| - | |||
| - | * Install the updated Tentacle server on the isolated network. | ||
| - | * Modify the '' | ||
| - | |||
| - | * 隔離されたネットワーク上に Tentacle サーバをインストール | ||
| - | * 起動スクリプト '' | ||
| - | |||
| - | < | ||
| - | TENTACLE_EXT_OPTS=" | ||
| - | |||
| - | </ | ||
| - | |||
| - | * It is not necessary to indicate any IP on the Tentacle server, since the sync server initiates communications and recovers the Tentacle server files indicated on the '' | ||
| - | * Multiple remote Tentacle servers can be configured and the sync server will communicate with all of them, provided that the IP addresses are indicated on the **sync_address** | ||
| - | |||
| - | * 同期サーバが通信を開始し、'' | ||
| - | * 複数のリモート Tentacle サーバを設定することができ、同期サーバは **sync_address** にカンマ区切りで設定された IP アドレスすべてに対して通信を行います。 | ||
| - | |||
| - | < | ||
| - | sync_address 10.142.50.10, | ||
| - | |||
| - | </ | ||
| - | |||
| - | ==== 全体の例 ==== | ||
| - | |||
| - | ''/ | ||
| - | |||
| - | < | ||
| - | syncserver 1 | ||
| - | sync_address 10.140.70.110 | ||
| - | sync_port 41121 | ||
| - | |||
| - | </ | ||
| - | |||
| - | In the Tentacle server startup script (''/ | ||
| - | |||
| - | '' | ||
| - | |||
| - | < | ||
| - | TENTACLE_EXT: | ||
| - | |||
| - | </ | ||
| - | |||
| - | === SSL を使った同期サーバ設定 === | ||
| - | 同期サーバの通信では、SSL の利用に対応しています。**pandora_server.conf** にさまざまなパラメータを追加する必要があります。また、リモートの Tentacle サーバのスクリプトにも同様に通常の SSL 接続を行うためのオプションが必要です。 | ||
| - | |||
| - | **pandora_server.conf** 内: | ||
| - | |||
| - | * **sync_ca**: | ||
| - | * **sync_cert**: | ||
| - | * **sync_key**: | ||
| - | |||
| - | pandora_server.conf の設定例: | ||
| - | |||
| - | < | ||
| - | | ||
| - | | ||
| - | | ||
| - | </ | ||
| - | |||
| - | **tentacle-serverd** 内: | ||
| - | |||
| - | * **-e**: < | ||
| - | * **-k**: < | ||
| - | * **-f**: < | ||
| - | |||
| - | <WRAP center round important 60%> **ALWAYS** | ||
| - | |||
| - | < | ||
| - | / | ||
| - | |||
| - | </ | ||
| - | |||
| - | </ | ||
| - | |||
| - | <WRAP center round important 60%> **常に** パラメータに与える証明書は絶対パスにします。例: | ||
| - | |||
| - | < | ||
| - | / | ||
| - | |||
| - | </ | ||
| - | |||
| - | </ | ||
| - | |||
| - | |||
| - | 一通り設定を行った例は以下の通りです。 | ||
| - | |||
| - | TENTACLE_EXT_OPTS=" | ||
| - | |||
| - | その他の設定パラメータ: | ||
| - | |||
| - | **sync_retries**: | ||
| - | |||
| - | **sync_timeout**: | ||
| - | |||
| - | Tentacle サーバで SSL 接続を利用する場合のクイックガイドは [[: | ||