目次

隔離された環境の監視: 同期サーバ

Pandora FMS ドキュメント一覧に戻る

概要

The isolated environment monitoring system with Sync server and Tentacle server allows to deploy monitoring in remote networks from which communication with the main Pandora FMS server is not possible. Pandora FMS's own server will start communicating with the isolated environment to recover all the monitoring information.

同期サーバTentacle サーバを備えた隔離された環境の監視システムを使って、メインの Pandora FMS サーバーとの通信が不可能なリモートネットワークへ監視を展開できます。 隔離された環境への通信を開始し、すべての監視情報を収集するのは、それぞれのリモートサーバです。

この機能は、Pandora FMS サーバが直接置かれてない場所でリモートネットワークを監視する場合に特に便利です。リモートネットワークから Pandora へ通信ができない環境で、リモートサーバが通信を行い情報を収集します。

処理概要

This feature is generally applied in environments with the following structure: この機能は、次のような構造の環境に適用します。

標準インストールのように、Pandora FMS セントラルサーバーから開始します。リモートネットワークでは、データ収集ポイント(tentacle サーバ)がインストールされ、メインサーバ(同期サーバー)が通信を開始し、バッファのように情報をダウンロードするまですべてのデータが保管されます。

バッファリングされたデータは、メインサーバにダウンロードされると消されます。

The main difference between the sync server and the Satellite Server is that it is the main server that initiates communications and receives packets from the remote network. In an environment with a satellite server and/or proxy, it is the satellite/proxy that sends the data to Pandora FMS server.

同期サーバのサテライトサーバとの主な違いは、メインのサーバが通信を開始しリモートネットワークからのデータを受け取るという点です。サテライトサーバやプロキシでは、それが Pandora FMS サーバへデータを送信します。

A more complex environment, for example:

より複雑な環境の例:

設定

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 <ip_address_tentacle_serve>
sync_port <port_number>

Where < ip_address_tentacle_server > is the IP address of the Tentacle Server and < port_number > is 41121, the number by default of the Tentacle protocol.

ここで < ip_address_tentacle_server > は、Tentacle サーバの IP アドレスで、< port_number > は Tentacle プロトコルのデフォルトのポート番号である 41121 です。

TENTACLE_EXT_OPTS="-i.*\.conf:conf;.*\.md5:md5;.*\.zip:collections -I -o"
sync_address 10.142.50.10,20.152.50.20

全体の例

/etc/pandora/pandora_server.conf 内:

syncserver 1
sync_address 10.140.70.110
sync_port 41121

In the Tentacle server startup script (/etc/init.d/tentacle_serverd ) identified in sync_address with 10.140.70.110:

sync_address10.140.70.110 の Tentacle サーバの起動スクリプト (/etc/init.d/tentacle_serverd):

TENTACLE_EXT:OPTS="-i.*\.conf:conf;.*\.md5:md5;.*\.zip:collections -I -o"

SSL を使った同期サーバ設定

There is a quick guide on how to set up a Tentacle server with security options.

Tentacle サーバをセキュリティオプション付きで設定する方法は、クイックガイド にあります。

Sync server communications support SSL certificate use. Several parameters must be added to the pandora_server.conf file, and in the remote Tentacle server script, the same options should be used to achieve normal SSL connection.

同期サーバの通信では、SSL の利用に対応しています。pandora_server.conf にさまざまなパラメータを追加する必要があります。また、リモートの Tentacle サーバのスクリプトにも同様に通常の SSL 接続を行うためのオプションが必要です。

同期サーバ

pandora_server.conf 内:

pandora_server.conf の設定例:

 sync_ca /home/cacert.pem
 sync_cert /home/tentaclecert.pem
 sync_key /home/tentaclekey.pem

Tentacle サーバ

tentacle-serverd 内:

ALWAYS indicate the absolute paths where the certificates are located in the parameters, e.g.:

/home/tentaclecert.pem

常に パラメータに与える証明書は絶対パスにします。例:

/home/tentaclecert.pem

一通り設定を行った例は以下の通りです。

TENTACLE_EXT_OPTS="-i.*\.conf:conf;.*\.md5:md5;.*\.zip:collections -e /home/tentaclecert.pem -k /home/tentaclekey.pem -f /home/cacert.pem"

その他の設定パラメータ

sync_retries: 同期のリトライ回数。デフォルトは 3 です。

sync_timeout: 同期タイムアウト。デフォルトは 10 です

Tentacle サーバで SSL 接続を利用する場合のクイックガイドは こちら にあります。

Pandora FMS ドキュメント一覧に戻る