差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:03_monitoring:03_remote_monitoring [2024/01/15 05:17] – junichi | ja:documentation:03_monitoring:03_remote_monitoring [2024/01/24 05:48] – [//exec server// 機能の利用] junichi | ||
---|---|---|---|
行 3: | 行 3: | ||
[[ja: | [[ja: | ||
+ | |||
+ | ===== リモート監視 ===== | ||
===== 概要 ===== | ===== 概要 ===== | ||
行 948: | 行 950: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | GNU/Linux へインストールした Pandora FMS サーバのみ。 | ||
- | </ | ||
- | この機能は、Pandora コンソールから Pandora リモートサーバでのアクションの実行をするものです。そのため、SNMP エージェントのウィザード、MIBブラウザ、およびリモートサーバからの「イベント応答」の使用を許可し、コンソールがあるサーバからのアクセスも許可する必要があります。 | + | Only for PFMS servers installed on GNU/Linux. |
- | 内部的には、" | + | </ |
- | ==== 設定 ==== | + | <WRAP center round tip 60%> |
- | It is a logic agent already created and with remote configuration enabled it will be set that a user (for example, " | + | GNU/Linux へインストールした Pandora FMS サーバのみ。 |
- | リモート設定が有効で論理的なエージェントが既に作成されている必要があります。ユーザ(" | ||
- | |||
- | <WRAP center round important 60%> | ||
- | リモート設定が有効になってない場合、サテライトモジュールはウィザードで作成されません。 | ||
</ | </ | ||
- | 1. This option can be configured on the Network Server and/or Satellite Server. From Pandora FMS server list, select one to work as Exec server and edit it: | + | This feature allows to execute some actions in remote |
- | 1. このオプションはネットワークサーバおよびサテライトサーバで設定できます。Pandora FMS のサーバ一覧で、exec server として利用したいサーバへアクセスする必要があります。 | + | この機能は、Pandora FMS コンソールから、リモートの Pandora FMS サーバでのアクションの実行をするものです。 |
- | {{ wiki:Exec-server-111.jpg }} | + | {{ :wiki:pfms-exec_server_enabled.png |
- | 2. Activate “Exec Server” checkbox. Enter the and the server's IP address where the desired commands will be launched. | + | Once you have configured at least one Exec server |
- | 2. 指定したコマンドを実行するサーバの IP を編集し、"Exec Server" | + | 少なくとも 1 つの Excec サーバを設定したら、次の選択ができます。 |
- | {{ wiki:server_222_2.png?800 }} | + | * [[# |
+ | * [[:en: | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
- | <WRAP center round tip 60%> | + | * [[# |
- | 設定が完了していないため、接続テストは失敗します。 | + | * イベントセクションの [[: |
- | </ | + | * [[# |
+ | * [[# | ||
+ | * [[# | ||
- | 3. Pandoraコンソールが動作するサーバーを有効にして、" | + | Depending on the server selected when launching each //wizard//, the modules adapted for server or Satellite Server will be created. In the latter case, the modules will be written in the remote configuration file so that they can be executed by the server. |
- | apache: | + | 各 //ウィザード// の起動時に選択したサーバに応じて、サーバまたはサテライトサーバに適合したモジュールが作成されます。 後者の場合、モジュールはサーバで実行できるようにリモート設定ファイルに書き込まれます。 |
- | 4. ''/ | + | The Exec servers work internally through the execution of remote SSH commands from Pandora FMS console to the enabled servers, called **Exec Server**. These can be [[: |
- | < | + | Exec サーバは、Pandora FMS コンソールから **Exec Server** と呼ばれる有効なサーバへのリモート SSH コマンドの実行を通じて内部的に機能します。 これらは [[: |
- | mkdir / | + | |
- | chown apache / | + | |
- | </ | + | |
- | 5. 鍵のペアを作成するために root で作業します。 | + | The configuration process will require the assistance of the person in charge of network administration to configure both PFMS servers and the target computers and the connection and data traffic, among other aspects such as firewalls and VLAN to increase security. |
- | < | + | 設定段階では、Pandora FMS サーバとターゲットコンピュータの両方、接続とデータトラフィック、特にセキュリティを強化するためのファイアウォールや VLAN などを設定するネットワーク管理担当者の支援が必要です。 |
- | su apache | + | |
- | | + | |
- | </ | + | |
- | 6. Accept the default values by clicking “enter”, | + | * You must have a logical agent configured with remote configuration enabled. |
- | 6. " | + | * リモート設定を有効にして論理エージェントを設定する必要があります。 |
- | {{ wiki: | + | <WRAP center round important 60%> |
+ | |||
+ | Without remote configuration enabled **you will lack** | ||
- | <WRAP center round tip 60%> | ||
- | 作成された鍵ファイルの場所と名前を覚えておいてください。これは、次のステップの 1つに必要なだけでなく、セキュリティにとっても重要です。 | ||
</ | </ | ||
- | 7. SSH で "Exec server" | + | <WRAP center round important 60%> |
- | '' | + | |
- | sudo useradd pandora_exec_proxy -m | + | リモート設定が有効になっていないと、**ウィザード (// |
- | mkdir / | ||
- | |||
- | <WRAP center round important 60%> | ||
- | 鍵認証のみのためユーザにはパスワードは設定しません。これによりセキュリティを高めることができます。 | ||
</ | </ | ||
- | 8. 前のステップで作成した公開鍵の内容を、Pandora コンソールから "// | + | * You must have created digital keys (public key and private key) for the SSH connection. |
+ | * The public key must be copied to the target servers and must be configured to only connect that way, by digital key. | ||
+ | * On the server | ||
+ | * In PFMS Web Console you must log in as user //superadmin// | ||
- | | + | |
+ | * 公開鍵はターゲットサーバにコピーする必要があり、鍵によってのみ接続するように設定する必要があります。 | ||
+ | * Pandora FMS ウェブコンソールを実行しているサーバ上では、**オペレーティングシステムレベル**でユーザを作成し、独自のディレクトリへの適切なアクセス権を持ち、タスクを実行するための有効な | ||
+ | * Pandora FMS ウェブコンソールでは、ユーザ // | ||
- | 9. ユーザを作成したら、コンソールを実行しているマシンから " | + | [[: |
- | ssh pandora_exec_proxy@ip_address | + | より詳細は、[[: |
- | 11. すべてのステップを正しく実行したら、apache ユーザを元の状態(ログインシェル無し)に戻すために ''/ | ||
- | apache: | ||
- | 12. 最後に、Pandora コンソール内のプロキシサーバの編集セクションで設定をテストをすれば、テストインジケータが緑色に変わり、完全に動作し機能します。 | + | ===== 経路監視 ===== |
- | {{ wiki: | + | <WRAP center round tip 60%> |
- | ==== //exec server// 機能の利用 ==== | + | Version NG 715 or higher. |
- | MIB ブラウザー、エージェントの SNMP ウィザード、およびイベント応答で、ローカルコンソールまたは設定済みの Exec server のどちらから要求を開始するかを選択できます。 | + | </ |
- | {{ wiki: | + | <WRAP center round tip 60%> |
+ | バージョン NG 715 以降 | ||
- | また、WMI ウィザード、SNMP インターフェイス、SNMP エージェントのウィザード(サテライトサーバーでは使用できません)からも同様です。 | + | </ |
- | {{ wiki: | + | Pandora FMS offers by default the monitoring of complete routes between two points in the network, visually indicating the path that is being followed at all times to communicate between these two points. Pandora FMS route analyzer uses an agent plugin to map the route. |
+ | Pandora FMS は、デフォルトでネットワーク内の 2 つのポイント間の完全な経路の監視を提供し、これら 2 つのポイント間の通信のために常にたどっているパスを視覚的に示します。 Pandora FMS 経路アナライザは、エージェントプラグインを使用して経路をマッピングします。 | ||
- | ウィザードを起動したときに選択したサーバに依存して、サテライトサーバまたはサーバに関連付けられたモジュールが作成されます。サテライトサーバーの場合は、サーバーで実行できるようにリモート構成ファイルにモジュールを書き込みます。 | + | To use this system you need: |
- | + | ||
- | " | + | |
- | + | ||
- | {{ wiki:Exec-server-777.jpg }} | + | |
- | + | ||
- | + | ||
- | そしてイベントからそれを起動します。 | + | |
- | + | ||
- | {{ wiki: | + | |
- | + | ||
- | + | ||
- | ===== パス監視 ===== | + | |
- | + | ||
- | Pandora FMS は、ネットワークの 2つのポイント間の完全なパス監視をデフォルトで提供し、これらの 2つのポイント間の通信パスを視覚的に示します。 | + | |
このシステムを利用するには以下が必要です。 | このシステムを利用するには以下が必要です。 | ||
- | | + | * A software Agent at the point of origin of the route to be analyzed. |
- | * 発信元ポイントからの | + | |
- | Pandora FMS パス解析は、ルートのマップ生成にエージェントプラグインを利用します。このエージェントプラグインは、情報収集し構造化した情報を Pandora サーバへレポートするためいくつかの手法を利用します。 | + | * 分析したいルートの発信元となるポイント上にソフトウエアエージェント |
+ | * 発信元ポイントからの ICMP による宛先までの到達性 | ||
- | オプションで、インターネット越しにパスをスキャンしたい場合は、発信元となるコンピュータに [[https:// | + | Optionally, if you want to do route scans over the Internet, it is recommended that you deploy the MTR application on the route source computer. |
- | ==== 設定 ==== | + | オプションで、インターネット越しに経路をスキャンしたい場合は、発信元となるコンピュータに MTR アプリケーションを入れることをお勧めします。 |
- | <WRAP center round tip 60%> | + | Access the agent plugins configuration tab and add the following line: |
- | バージョン NG 715 以上 | + | |
- | </ | + | |
- | エージェントのプラグイン設定タブへ行き、次の行を追加します。 | + | エージェントプラグイン設定タブにアクセスし、次の行を追加します。 |
< | < | ||
- | route_parser -t < target_address > | + | |
+ | route_parser -t < | ||
</ | </ | ||
- | {{ wiki: | + | Finally activate the execution of the plugin. |
- | + | ||
- | ここで、''< | + | |
- | + | ||
- | * プラグイン実行の有効化 | + | |
- | + | ||
- | **注意** | + | |
- | + | ||
- | エージェントバージョン NG 715 以前を利用している場合: | + | |
- | * モジュールライブラリのパス解析 [[https:// | + | 最後にプラグインの実行を有効にします。 |
- | * コレクションを介してプラグインをソフトウェアエージェントに転送します(またはファイルを手動でコピーします。次の図を参照してください)。 | + | |
- | {{ wiki: | ||
==== 表示 ==== | ==== 表示 ==== |