差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
ja:documentation:03_monitoring:14_syncserver_monitoring [2022/10/28 08:53] – [設定] junichi | ja:documentation:03_monitoring:14_syncserver_monitoring [2022/10/28 09:10] – [その他の設定パラメータ] junichi | ||
---|---|---|---|
行 48: | 行 48: | ||
===== 設定 ===== | ===== 設定 ===== | ||
- | メインの Pandora FMS サーバにて同期サーバをたてる作業から開始します。それには、設定ファイル内の次のパラメータを設定します。 | + | |
+ | 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 | + | |
- | | + | syncserver 1 |
- | | + | sync_address <ip_address_tentacle_serve> |
+ | sync_port <port_number> | ||
</ | </ | ||
- | Where <IP_address> is the IP address of the Tentacle Server and <port> is 41121, the number by default of the Tentacle protocol. | + | Where '' |
- | ここで <IP_address> は、Tentacle サーバの IP アドレスで、< | + | ここで |
- | 隔離されたネットワーク上に | + | * Install the updated |
+ | | ||
- | | + | * 隔離されたネットワーク上に Tentacle サーバをインストール |
+ | | ||
- | 同期サーバーが通信を開始し、**sync_address**パラメーターに示されている Tentacle サーバのファイルを取得するので、Tentacle サーバ側で何らかの IP を指定する必要はありません。 | + | < |
+ | TENTACLE_EXT_OPTS=" | ||
- | 複数のリモート Tentacle サーバを設定することができ、同期サーバは **sync_address** にカンマ区切りで設定された IP アドレスすべてに対して通信を行います。 | + | </ |
- | sync_address | + | |
+ | * 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 アドレスすべてに対して通信を行います。 | ||
- | **pandora_server.conf** 内: | + | < |
+ | sync_address 10.142.50.10, | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 全体の例 ==== | ||
+ | |||
+ | ''/ | ||
< | < | ||
- | syncserver 1 | + | syncserver 1 |
- | | + | sync_address 10.140.70.110 |
- | | + | sync_port 41121 |
</ | </ | ||
- | Tentacle サーバの起動スクリプト **/ | ||
- | TENTACLE_EXT: | + | In the Tentacle server startup script (''/ |
- | === SSL を使った同期サーバ設定 === | + | '' |
- | 同期サーバの通信では、SSL の利用に対応しています。**pandora_server.conf** にさまざまなパラメータを追加する必要があります。また、リモートの Tentacle サーバのスクリプトにも同様に通常の SSL 接続を行うためのオプションが必要です。 | + | |
- | **pandora_server.conf** 内: | + | < |
+ | TENTACLE_EXT: | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== SSL を使った同期サーバ設定 ==== | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | |||
+ | There is a [[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | |||
+ | Tentacle サーバをセキュリティオプション付きで設定する方法は、[[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | **Sync server** | ||
+ | |||
+ | **同期サーバ**の通信では、SSL の利用に対応しています。'' | ||
+ | |||
+ | === 同期サーバ === | ||
+ | |||
+ | '' | ||
- | * **sync_ca**: < | + | * '' |
- | * **sync_cert**: < | + | * '' |
- | * **sync_key**: < | + | * '' |
pandora_server.conf の設定例: | pandora_server.conf の設定例: | ||
行 100: | 行 141: | ||
</ | </ | ||
- | **tentacle-serverd** 内: | + | === Tentacle サーバ === |
+ | |||
+ | '' | ||
- | * **-e**: < | + | * '' |
- | * **-k**: < | + | * '' |
- | * **-f**: < | + | * '' |
<WRAP center round important 60%> **ALWAYS** | <WRAP center round important 60%> **ALWAYS** | ||
行 129: | 行 172: | ||
TENTACLE_EXT_OPTS=" | TENTACLE_EXT_OPTS=" | ||
- | その他の設定パラメータ: | + | === その他の設定パラメータ |
- | **sync_retries**: 同期のリトライ回数。デフォルトは 3 です。 | + | '' |
- | **sync_timeout**: 同期タイムアウト。デフォルトは 10 です | + | '' |
Tentacle サーバで SSL 接続を利用する場合のクイックガイドは [[: | Tentacle サーバで SSL 接続を利用する場合のクイックガイドは [[: |