差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite [2024/08/02 07:39] – [SNMP ブラックリスト] junichi | ja:documentation:pandorafms:complex_environments_and_optimization:05_satellite [2024/11/25 10:31] (現在) – [認証設定] kanayama | ||
---|---|---|---|
行 8: | 行 8: | ||
===== 概要 ===== | ===== 概要 ===== | ||
- | The **Satellite Server** is used to discover and monitor remote networks and equipment, either network elements (routers, switches, etc.) through SNMP or ICMP, or MS Windows® (via WMI) or GNU/Linux® (via SNMP) servers. It is especially | + | The **Satellite Server** is used to discover and monitor remote networks and equipment, either network elements (routers, switches, etc.) through SNMP or ICMP, or MS Windows® (via WMI) or GNU/Linux® (via SNMP) servers. It is particularly |
**サテライトサーバ** は、SNMP または ICMP 経由のネットワーク要素 (ルーター、スイッチなど)、または MS Windows® (WMI 経由) または GNU/Linux® (SNMP 経由) サーバのいずれかのリモート ネットワークと機器を検出して監視するために使用されます。これは、Pandora FMS サーバからアクセスできず、ソフトウェアエージェントもインストールできないリモートネットワークを監視する場合に特に便利です。 | **サテライトサーバ** は、SNMP または ICMP 経由のネットワーク要素 (ルーター、スイッチなど)、または MS Windows® (WMI 経由) または GNU/Linux® (SNMP 経由) サーバのいずれかのリモート ネットワークと機器を検出して監視するために使用されます。これは、Pandora FMS サーバからアクセスできず、ソフトウェアエージェントもインストールできないリモートネットワークを監視する場合に特に便利です。 | ||
行 40: | 行 40: | ||
===== インストール ===== | ===== インストール ===== | ||
- | The Satellite Server is distributed as tarball (GNU/ | + | ==== オンラインインストールツール ==== |
- | サテライトサーバはバイナリにて配布されています。追加のライブラリは必要ありません。Windows と Linux ともに、このサーバの機能は同じです。Windows システムではサービスとしてインストールされ、Linux システムではデーモンとしてインストールされます。設定ファイルと仕様はどちらも同じです。 | + | <WRAP center round info 90%> |
- | {{ | + | Please contact the sales team, ask for a quotation or ask your questions about licenses [[https:// |
- | Linux 版のサテライトサーバは、このドキュメントで指定している外部パッケージへの依存があります。 | + | </ |
- | ==== オンラインインストールツール ==== | + | <WRAP center round info 90%> |
- | <WRAP center round info 80%>\\ | + | ライセンスについて |
- | {{: | + | |
- | </ | + | |
- | <WRAP center round info 80%>\\ | ||
- | {{: | ||
</ | </ | ||
- | This tool is compatible with Rocky Linux 8.x, AlmaLinux 8.x and RHEL 8.x. | + | This tool is compatible with Rocky Linux 8.x, AlmaLinux 8.x and RHEL 8.x . |
このツールは、Rocky Linux 8.x、AlmaLinux 8.x、および RHEL8.x に対応しています。 | このツールは、Rocky Linux 8.x、AlmaLinux 8.x、および RHEL8.x に対応しています。 | ||
行 66: | 行 62: | ||
**オンラインインストールツール利用の前提条件: | **オンラインインストールツール利用の前提条件: | ||
- | * Internet | + | |
- | * Have **curl** | + | * Have **curl** |
- | * Meet minimum | + | * Comply with the [[: |
- | * Be **root** | + | * Be an administrator user **root**. |
- | * To have a compatible | + | * Have a supported |
- | * In the case of using RHEL 8 it will be necessary to be previously | + | * In the case of using RHEL 8, it will be necessary to activate it previously with a license and be subscribed to the standard repositories. |
* インターネットアクセスできること。 | * インターネットアクセスできること。 | ||
* **curl** がインストールされていること。(ほとんどのディストリビューションではデフォルトでインストールされています) | * **curl** がインストールされていること。(ほとんどのディストリビューションではデフォルトでインストールされています) | ||
- | * 最低限の [[: | + | * 最低限の [[: |
* **root** ユーザ権限を持っていること。 | * **root** ユーザ権限を持っていること。 | ||
* 対応している OS であること。 | * 対応している OS であること。 | ||
行 132: | 行 128: | ||
</ | </ | ||
+ | |||
+ | <wrap #ks2_2 /> | ||
==== Linux システムへのサテライトサーバのインストール ==== | ==== Linux システムへのサテライトサーバのインストール ==== | ||
- | **The recommended GNU/ | + | **The recommended GNU/ |
- | **推奨 GNU/Linux OS は RedHat Enterprise | + | **推奨 GNU/Linux OS は RedHat Enterprise |
- | Before proceeding with the installation, | + | Install |
- | インストールを行う前に、サテライトサーバの主な依存関係は次の通りです: | + | **Fping**、**Nmap**、**libnsl** を個別にインストールしますが、まず EPEL リポジトリを設定します。次のリンクにアクセスします。 |
- | <WRAP center round info 60%>If you are using a earlier OS version use **yum** instead **dnf**.</WRAP>\\ | + | <code> |
+ | https:// | ||
- | <WRAP center round info 60%> | + | </code> |
- | Install **Perl** with the following command: | + | and select |
- | 次のコマンドで **Perl** をインストールします。 | + | そしてオペレーティングシステムを選択します。Rocky Linux 8 を使っている場合は次の通りです。 |
< | < | ||
- | dnf install | + | dnf config-manager --set-enabled powertools |
+ | dnf install | ||
</ | </ | ||
- | In the installer, **Braa** and **Wmic**/ | + | Install Perl with the following command: |
- | インストーラに、依存する **braa** および **wmic**/ | + | 次のコマンドで Perl をインストールします。 |
- | + | ||
- | < | + | |
- | https:// | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | With repositories already configured, run: | + | |
- | + | ||
- | リポジトリの設定ができたら、以下を実行します。 | + | |
< | < | ||
- | dnf install | + | dnf install |
</ | </ | ||
- | Finally in the dependencies | + | Satellite Server core dependencies: **PandoraWMIC** |
- | 最後に、依存関係で | + | サテライトサーバのコア依存ファイル: |
< | < | ||
- | dnf install libnsl | + | dnf install |
</ | </ | ||
- | Once the binary that contains | + | Once you download |
+ | |||
+ | サテライトサーバを含むパッケージをダウンロードしたら、**root** 権限でダウンロードフォルダに移動し、バイナリを解凍します。 | ||
- | サテライトサーバを含むバイナリをダウンロードしたら、ダウンロードしたファイルのあるディレクトリへ行き、**root** 権限でファイルを展開します。 | ||
< | < | ||
- | |||
tar -xvzf pandorafms_satellite_server_X.XNG.XXX_x86_64.tar.gz | tar -xvzf pandorafms_satellite_server_X.XNG.XXX_x86_64.tar.gz | ||
</ | </ | ||
- | {{ :wiki: | + | A folder named '' |
- | Then, a folder called | + | '' |
- | + | ||
- | ディレクトリ '' | + | |
< | < | ||
- | |||
cd satellite_server/ | cd satellite_server/ | ||
</ | </ | ||
- | To install the Satellite Server, | + | To install the Satellite Server |
- | サテライトサーバをインストールするには、インストールコマンドを実行します。 | + | サテライトサーバ自体をインストールするには、インストールコマンドを実行します。 |
< | < | ||
行 213: | 行 201: | ||
</ | </ | ||
- | {{ | + | Once the process is finished, edit the Satellite configuration file located at: |
- | Once finished, edit the satellite_server.conf file located at: | + | 処理が完了したら、次の場所にあるサテライト設定ファイルを編集します。 |
- | + | ||
- | 完了したら、以下の satelite_server.conf | + | |
< | < | ||
行 224: | 行 210: | ||
</ | </ | ||
- | <WRAP center round info 60%>In versions previous to 761 the license must be entered manually in the '' | + | Search for the //token// [[# |
- | </ | + | |
- | <WRAP center round info 60%>761 より前のバージョンでは、ライセンスは '' | + | //トークン// [[#server_ip|server_ip]] を検索し、サテライトサーバが接続する |
- | </ | + | |
- | Search for the [[: | + | After that, you may save the file and start the service by running |
- | [[: | + | その後、ファイルを保存し、次のコマンドを実行してサービスを開始できます。 |
- | After that, save the file and activate the service, executing the following: | + | < |
- | ファイルを保存したのち、以下を実行してサテライトサーバを実行します。 | ||
- | |||
- | < | ||
sudo / | sudo / | ||
</ | </ | ||
- | In case of failure, take a look at the log file at: | + | In case of any error or malfunction, check the log file at: |
- | 何らかのエラーが発生した場合は、次のログファイルを確認してください。 | + | エラーや不具合が発生した場合は、次のログファイルを確認してください。 |
< | < | ||
行 252: | 行 233: | ||
</ | </ | ||
- | ==== Windows へのインストール ==== | + | <wrap #ks2_3 /> |
- | Run the digitally signed installer (version 762 and later), press Yes: | + | ==== MS Windows へのインストール ==== |
- | デジタル署名されたインストーラ(バージョン 762 およびそれ以上)を実行し、Yes をクリックします。 | + | <WRAP center round info 90%> |
- | {{ : | + | Pandora FMS Satellite server needs **WinPcap** |
- | Choose the installation language: | + | </ |
- | インストール言語を選択します。(日本語はありません) | + | <WRAP center round info 90%> |
- | {{ : | + | Pandora FMS サテライトサーバが正常に動作するには、**WinPcap** と **Visual Studio 2010 SP1** (両方ともインストーラーに含まれています) が必要です。 |
- | Click Next: | + | </ |
- | Next をクリックします。 | + | With administrator rights, run the digitally signed installer (version 762 and later). The installation window will appear in the next step of the installation. |
- | {{ : | + | 管理者権限で、デジタル署名されたインストーラー (バージョン 762 以降) を実行します。インストールの次の手順でインストールウィンドウが表示されます。 |
- | Choose where to install | + | Then enter Pandora FMS license key to continue with the installation. |
- | プログラムをインストールする場所を選択します。 | + | 次に、Pandora FMS ライセンスキーを入力してインストールを続行します。 |
- | {{ : | + | <WRAP center round info 90%> |
- | **WinPCap** installation is required. The installation window will appear | + | Please contact the sales team, ask for a quotation or ask your questions about licenses [[https:// |
- | **WinPCap** のインストールが必要です。インストールウィンドウは、インストールプロセスの次のステップで表示されます。 | + | </ |
- | {{ : | + | <WRAP center round info 90%> |
- | Configure WinPCap to start when the system starts. | + | ライセンスに関しては [[https:// |
- | システムの起動時に起動するように WinPCap を設定します。 | ||
- | |||
- | {{ : | ||
- | |||
- | Once WinPCap installation is finished, this window will appear: | ||
- | |||
- | WinPCap のインストールが完了すると、次のウィンドウが表示されます。 | ||
- | |||
- | {{ : | ||
- | |||
- | Enter Pandora FMS license number to continue the installation: | ||
- | |||
- | Pandora FMS ライセンス番号を入力して、インストールを続行します。 | ||
- | |||
- | {{ : | ||
- | |||
- | Then, set Pandora FMS server address to send data. Define the network recon rules for Satellite server: | ||
- | |||
- | 次に、データ送信先の Pandora FMS サーバアドレスを設定します。 サテライトサーバーのネットワーク自動検出ルールを定義します。 | ||
- | |||
- | {{ : | ||
- | |||
- | Restart the machine so that all changes are applied. | ||
- | |||
- | すべての変更が適用されるように、マシンを再起動します。 | ||
- | |||
- | {{ : | ||
- | |||
- | Once ther process is finished, start and stop the Pandora FMS Satellite server from the MS Windows® Start menu. | ||
- | |||
- | 処理が完了したら、MS Windows® の [スタート] メニューから Pandora FMS サテライトサーバを起動および停止します。 | ||
- | |||
- | <WRAP center round info 60%>\\ | ||
- | Depending on the year of your MS Windows version you will need to install some of these libraries: | ||
</ | </ | ||
- | <WRAP center round info 60%>\\ | + | In the following section, configure Pandora FMS server address to send data; you may define the network exploration rules for the Satellite Server. It will be necessary to restart the machine for all the changes to be applied. |
- | MS Windows のバージョンに応じて、これらのライブラリのいくつかをインストールする必要があります: | + | |
- | </ | + | |
- | Microsoft Visual C++ Redistributable (latest supported downloads): | + | 次のセクションでは、データを送信する Pandora FMS サーバのアドレスを設定します。サテライトサーバのネットワーク探索ルールを定義することもできます。すべての変更を適用するには、マシンを再起動する必要があります。 |
- | Microsoft Visual C++ Redistributable (最新のサポート版): | + | Once the process is complete, you may start and stop the Satellite Server PFMS service from the MS Windows® Start menu. |
- | * Visual Studio 2015, 2017, 2019, and 2022. | + | 処理が完了したら、MS Windows® のスタートメニューから Satellite Server PFMS サービスを開始および停止できます。 |
- | * Visual Studio 2013 (VC++ 12.0). | + | |
- | * Visual Studio 2012 (VC++ 11.0) Update 4. | + | |
- | * Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported). | + | |
- | * Visual Studio 2008 (VC++ 9.0) SP1 (no longer supportes). | + | |
- | + | ||
- | * Visual Studio 2015, 2017, 2019, および 2022. | + | |
- | * Visual Studio 2013 (VC++ 12.0). | + | |
- | * Visual Studio 2012 (VC++ 11.0) Update 4. | + | |
- | * Visual Studio 2010 (VC++ 10.0) SP1 (サポートされなくなっています). | + | |
- | * Visual Studio 2008 (VC++ 9.0) SP1 (サポートされなくなっています). | + | |
- | + | ||
- | They are available for both 32-bit (**X86**) 64-bit (**X64**) and **ARM64** | + | |
- | + | ||
- | 32 ビット(**X86**)、64 ビット(**X64**)、および | + | |
- | + | ||
- | <WRAP center round download 75%> | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | </ | + | |
+ | <wrap #ks2_3_1 /> | ||
=== いくつかの Windows バージョンにおける WMI モジュールの実行 === | === いくつかの Windows バージョンにおける WMI モジュールの実行 === | ||
行 375: | 行 301: | ||
===== 設定 ===== | ===== 設定 ===== | ||
- | すべてのパラメータにおいて、タイムアウト値やいくつかの時間は秒単位で指定する必要があります。例えば、5分は | + | All parameters that require a timeout or expiration time must be specified in seconds (by default 300 seconds, i.e., 5 minutes). |
+ | |||
+ | すべてのパラメータにおいて、タイムアウト値やいくつかの時間は秒単位で指定する必要があります。(デフォルトでは300秒、つまり5分です) | ||
+ | |||
+ | Unless otherwise stated, each token must appear only once in each configuration file. | ||
+ | |||
+ | 特に断りがない限り、各トークンは一度しか各設定ファイルに現れてはいけません。 | ||
+ | |||
+ | It is important to note that the latency and SNMP intervals are specific to the state change: | ||
+ | |||
+ | レイテンシーと SNMP 間隔が状態変化に大きく影響することに留意することが重要です。 | ||
+ | |||
+ | * In the case of Boolean checks (port state, machine state), the threshold defining the state change is automatic. | ||
+ | * In the case of numeric values (latency, network traffic on an interface, disk space, CPU, etc.), it is based on the threshold. | ||
+ | * By default no thresholds are defined; this has to be done in Module definition. | ||
+ | * 二値監視(ポート状態、マシン状態)の場合、状態変化の閾値は自動で定義されます。 | ||
+ | * 数値監視(レイテンシー、インターフェイスのネットワークトラフィック、ディスク容量、CPU、など)の場合、状態は閾値によって定まります。 | ||
+ | * デフォルトでは閾値は定義されておらず、モジュール定義の際に定めておく必要があります。 | ||
- | 遅延と snmp を使った監視では、状態変化が特別であるということを理解しておくことが重要です。二値(boolean)監視(ポートやマシンの生き死に)では、状態変化は自動で行われます。数値(遅延、各インタフェースのネットワークトラフィック、ディスクの空き、CPU など)では、それぞれのモジュールで定義された閾値に基づいています。 | ||
==== agent_interval ==== | ==== agent_interval ==== | ||
行 470: | 行 412: | ||
</ | </ | ||
- | User%Password | + | It specifies a list of pairs of user credentials, |
+ | |||
+ | ユーザ認証情報ペアのリストを指定します。各情報は以下フォーマットで、カンマで区切ります。 | ||
+ | |||
+ | **< username >%< password >** | ||
==== wmi_ntlmv2 ==== | ==== wmi_ntlmv2 ==== | ||
行 479: | 行 426: | ||
</ | </ | ||
- | It enables | + | It enables |
+ | |||
+ | WMI の NTLMv2 プロトコルによる認証を有効化(1)または無効化(0)します。 | ||
- | WMI の [[https:// | ||
==== agent_conf_dir ==== | ==== agent_conf_dir ==== | ||
行 1604: | 行 1552: | ||
=== リモートファイル設定 === | === リモートファイル設定 === | ||
- | You can access the advanced editor for remote configuration of the Satellite server on the PFMS Enterprise | + | The advanced editor for remote configuration of the Satellite server |
- | メニュー | + | メニュー **管理(Management) → サーバ(Servers)** → **サーバ管理(Manage servers)** を介して、サテライトサーバが属する Pandora FMS サーバで、サテライトサーバのリモート設定用の高度なエディターにアクセスできます。 Web ブラウザにページをロードしたら、**リモート設定** アイコンをクリックします。 |
{{ : | {{ : | ||
行 1871: | 行 1819: | ||
</ | </ | ||
+ | |||
+ | See also credential encryption with [[wmi_credential_box|]] //token//. | ||
+ | |||
+ | [[: | ||
+ | |||
==== SNMPv1 および SNMPv2 クエリ ==== | ==== SNMPv1 および SNMPv2 クエリ ==== | ||
行 1947: | 行 1900: | ||
* '' | * '' | ||
* '' | * '' | ||
- | |||
* '' | * '' | ||
* '' | * '' | ||
行 1954: | 行 1906: | ||
* '' | * '' | ||
* '' | * '' | ||
- | |||
以下に例を示します。 | 以下に例を示します。 | ||
- | |||
< | < | ||
行 1972: | 行 1922: | ||
< | < | ||
- | |||
| | ||
行 2047: | 行 1996: | ||
独自の値や認証情報を入力する必要があります。また、必要なプロトコルや暗号化方式を変更する必要があります。新しい設定値を有効にするには、サテライトサーバを再起動する必要があります。 | 独自の値や認証情報を入力する必要があります。また、必要なプロトコルや暗号化方式を変更する必要があります。新しい設定値を有効にするには、サテライトサーバを再起動する必要があります。 | ||
- | |||
< | < | ||
行 2069: | 行 2017: | ||
</ | </ | ||
+ | |||
+ | See also credential encryption with [[https:// | ||
+ | |||
+ | [[: | ||
+ | |||
==== SSH クエリ ==== | ==== SSH クエリ ==== | ||
行 2078: | 行 2031: | ||
</ | </ | ||
- | <WRAP center round info 60%> | + | <WRAP center round info 60%> MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 </ |
- | MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 | + | |
- | </ | + | |
Generic SSH command: | Generic SSH command: | ||
行 2110: | 行 2061: | ||
手動で実行モジュールを作成することができます。サテライトサーバが実行するスクリプトやコマンドは、事前に作成してサーバに置いておく必要があります。エージェントの '' | 手動で実行モジュールを作成することができます。サテライトサーバが実行するスクリプトやコマンドは、事前に作成してサーバに置いておく必要があります。エージェントの '' | ||
- | |||
< | < | ||
module_begin | module_begin | ||
行 2121: | 行 2071: | ||
</ | </ | ||
+ | |||
+ | See also credential encryption with [[: | ||
+ | |||
+ | [[: | ||
+ | |||
==== プラグインクエリ ==== | ==== プラグインクエリ ==== | ||
行 2180: | 行 2135: | ||
Unless key-based authentication is configured with private and public keys, SSH modules require a username (''< | Unless key-based authentication is configured with private and public keys, SSH modules require a username (''< | ||
- | 鍵認証が正しく設定されていない場合、sshモジュールはユーザ(''< | + | Unless authentication is configured with private key and public key, [[SSH|]], [[WMI|]] and [[SNMP 3|]] Modules require a username (''< |
+ | |||
+ | 秘密鍵と公開鍵で認証を設定していない限り、[[: | ||
**network/ | **network/ | ||
- | **network/ | + | **network/ |
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | SSH queries on Satellite servers installed on MS Windows® is still under implementation. PFMS development team is working on it. | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | MS Windows® にインストールされたサテライトサーバでの SSH クエリは、まだ実装中です。 Pandora FMS 開発チームが取り組んでいます。 | ||
+ | |||
+ | </ | ||
例: | 例: | ||
行 2194: | 行 2163: | ||
</ | </ | ||
- | credential_box で記述された認証情報は、ネットワークマスクの適用範囲が狭いものから順に検索します。 | + | 認証情報ボックスは、制限の厳しいマスクから制限の緩いマスクの順に検索されます。 |
- | blowfishのECBモードで暗号化したパスワードも記述できます。暗号化されたパスワードは、文字列を二重の括弧([[: | + | パスワードは、Blowfish を用いて |
< | < | ||
- | credential_box 192.168.1.0/ | + | |
+ | credential_box 192.168.1.0/ | ||
</ | </ | ||