差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:technical_annexes:39_exec_server_configuration [2025/12/12 07:48] – [Exec server 設定] junichi | ja:documentation:pandorafms:technical_annexes:39_exec_server_configuration [2026/04/18 07:08] (現在) – [PFMS Exec server 設定] junichi | ||
|---|---|---|---|
| 行 2: | 行 2: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | This option can be configured on a PFMS Network Server and/or a PFMS Satellite Server. | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | このオプションは、PFMS ネットワークサーバおよび PFMS サテライトサーバで設定できます。 | ||
| + | |||
| + | </ | ||
| + | |||
| + | Exec Server allows you to run console processes from remote servers. | ||
| + | |||
| + | Exec Server を使用すると、リモートサーバからコンソールプロセスを実行できます。 | ||
| + | |||
| + | For example, to perform a scan using the SNMP wizard on an isolated network accessible only by a PFMS Satellite Server. | ||
| + | |||
| + | 例えば、PFMS サテライトサーバのみがアクセスできる隔離されたネットワーク上で、SNMP ウィザードを使用してスキャンを実行する場合などです。 | ||
| + | |||
| + | この機能は、Pandora FMS によって自動的に設定された SSH トンネルを使用します。詳細については、[[: | ||
| + | |||
| + | Once the SSH tunnel has been configured, the server will be available as an Exec Server from the Pandora FMS Web Console. | ||
| + | |||
| + | SSH トンネルの設定が完了すると、サーバは Pandora FMS ウェブコンソールから実行サーバとして利用できるようになります。 | ||
| + | |||
| + | [[ja: | ||
| + | |||
| + | ===== (OBSOLETE) ===== | ||
| At the end of this configuration process, an SSH connection with a digital key will have been established for automated monitoring processes. This is the type of connection recommended, | At the end of this configuration process, an SSH connection with a digital key will have been established for automated monitoring processes. This is the type of connection recommended, | ||
| 行 31: | 行 61: | ||
| ===== Pandora FMS ウェブコンソール設定 ===== | ===== Pandora FMS ウェブコンソール設定 ===== | ||
| - | This option can be configured on a Network Server PFMS and/or a Satellite Server PFMS. From the list of Pandora FMS servers, select one to work as Exec Server and edit it: | + | <WRAP center round info 90%> |
| - | このオプションは、Pandora FMS ネットワークサーバおよびサテライトサーバで設定できます。 Pandora FMS サーバのリストから実行サーバとして機能するサーバを選択し、編集します。 | + | This option may be configured on a PFMS Network Server and/or a PFMS Satellite Server. |
| - | {{ : | + | </ |
| - | Check the checkbox as Exec Server, enter the port number (default '' | + | <WRAP center round info 90%> |
| - | Exec Server | + | このオプションは、Pandora FMS ネットワークサーバおよびサテライトサーバで設定できます。 |
| - | {{ : | + | </ |
| - | <WRAP center round tip 60%> | + | From the list of Pandora FMS servers, select one to work as the Exec Server and edit it: |
| - | Since the configuration is not finished | + | Pandora FMS サーバのリストから実行サーバとして機能するサーバを選択し、編集します。 |
| + | |||
| + | {{ : | ||
| + | |||
| + | Check the box labelled <wrap : | ||
| + | |||
| + | **Exec Server** のチェックボックスをオンにし、ポート番号 (デフォルトは '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | <WRAP center round tip 90%> | ||
| + | |||
| + | Since configuration is not yet complete | ||
| </ | </ | ||
| - | <WRAP center round tip 60%> | + | <WRAP center round tip 90%> |
| - | この時点では設定が完了していないため、接続テスト(**サーバーの実行を確認**)は失敗します。 | + | この時点では設定が完了していないため、接続テスト(**サーバの実行を確認**)は失敗します。 |
| </ | </ | ||
| + | |||
| + | <wrap #ks2 /> | ||
| ===== リモートサーバにおける OS ユーザ設定 ===== | ===== リモートサーバにおける OS ユーザ設定 ===== | ||
| - | Before accessing the Exec Server through SSH, in the Network server | + | Before accessing the Exec Server through SSH, on PFMS Network Server |
| SSH 経由で実行サーバにアクセスする前に、実行サーバとして有効になっている Pandora FMS ネットワークサーバまたはサテライトサーバで、そのマシンに特定のユーザ (たとえば、'' | SSH 経由で実行サーバにアクセスする前に、実行サーバとして有効になっている Pandora FMS ネットワークサーバまたはサテライトサーバで、そのマシンに特定のユーザ (たとえば、'' | ||
| 行 68: | 行 112: | ||
| {{ : | {{ : | ||
| - | Assign a password to the newly created user: | + | A password |
| 新しく作成したユーザにパスワードを設定します。 | 新しく作成したユーザにパスワードを設定します。 | ||
| 行 80: | 行 124: | ||
| ===== Pandora FMS サーバ OS でのユーザ設定 ===== | ===== Pandora FMS サーバ OS でのユーザ設定 ===== | ||
| + | |||
| + | <wrap #ks3_1 /> | ||
| ==== 鍵の生成とコピー ==== | ==== 鍵の生成とコピー ==== | ||
| - | Now act as root or equivalent user where PFMS Web Console is running to generate the key pair: | + | Now work as //root// or an equivalent user where PFMS Web Console is running to generate the key pair: |
| - | 次に、Pandora FMS ウェブコンソールが実行されている環境で root または同等のユーザで鍵のペアを生成します。 | + | 次に、Pandora FMS ウェブコンソールが実行されている環境で |
| <code bash> | <code bash> | ||
| 行 94: | 行 140: | ||
| {{ : | {{ : | ||
| - | Proceed to copy the key to the remote server (replace the IP address in ''< | + | Proceed to copy the key to the remote server (replace the IP address in ''< |
| - | 鍵をリモートサーバにコピーします (''< | + | 鍵をリモートサーバにコピーします (''< |
| <code bash> | <code bash> | ||
| - | ssh-copy-id pandora_exec_proxy@< | + | ssh-copy-id pandora_exec_proxy@< |
| </ | </ | ||
| {{ : | {{ : | ||
| - | Then create the SSH folder | + | Next, create the SSH folder |
| - | 次に、'' | + | 次に、"Apache" |
| + | |||
| + | **Rocky Linux / RHEL**: | ||
| <code bash> | <code bash> | ||
| 行 113: | 行 160: | ||
| mv / | mv / | ||
| chown -R apache. / | chown -R apache. / | ||
| + | </ | ||
| + | **Ubuntu server**: | ||
| + | |||
| + | <code bash> | ||
| + | mkdir / | ||
| + | mv / | ||
| + | chown -R www-data. / | ||
| </ | </ | ||
| + | |||
| + | <WRAP center round warning 90%> | ||
| + | |||
| + | You should check that the default '' | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | This is so that the '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round warning 90%> | ||
| + | |||
| + | Apache2 サービスのデフォルトの '' | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | これは、Web ブラウザから '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | <wrap #ks4 /> | ||
| ===== Exec server 動作チェック ===== | ===== Exec server 動作チェック ===== | ||
| - | To finish, you only have to test the configuration in the proxy server | + | Finally, just test configuration in the proxy server |
| - | 完了するには、Pandora FMS コンソールのプロキシサーバ編集セクションで設定をテストするだけで済みます。テストインジケータをクリックして確認します。 | + | 最後に、Pandora FMS Webコンソールのプロキシサーバ編集セクションで設定をテストします。[[#ks1|テストインジケータ]]をクリックして確認します。 |
| - | {{ : | + | {{ : |
| [[ja: | [[ja: | ||