差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:quickguides:general_quick_guide_pfms_file_collections [2023/06/19 05:16] – junichi | ja:quickguides:general_quick_guide_pfms_file_collections [2023/06/19 05:36] (現在) – [サーバ] junichi | ||
---|---|---|---|
行 38: | 行 38: | ||
各コレクションには独自のベースディレクトリがあります。 Web コンソールでは、これらはディレクトリ ''/ | 各コレクションには独自のベースディレクトリがあります。 Web コンソールでは、これらはディレクトリ ''/ | ||
+ | |||
+ | ==== ファイルコレクションとソフトウエアエージェント ==== | ||
+ | |||
+ | Go to **Resources** → **Manage agents** and click on the name of a Software Agent. Click on the **Collection** tab. You will have a list of available collections similar to this one: | ||
+ | |||
+ | **リソース(Resources)** → **エージェント管理(Manage agents)** へ行き、ソフトウエアエージェントの名前をクリックします。**コレクション(Collection)** タブをクリックします。次のような定義済のコレクション一覧が表示されます。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | If a Software Agent has [[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | ソフトウエアエージェントの [[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | To add a collection click on the plus icon in the **Add** column:\\ | ||
+ | |||
+ | コレクションを追加するには、**追加(Add)** 列の合計アイコンをクリックします: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | If you see an icon with a yellow warning triangle in the **Status** column, either the collection is empty or the collection has not been synchronized. If the collection contains files or directories, | ||
+ | |||
+ | **状態(Status)** 列に黄色の警告三角形のアイコンが表示される場合は、コレクションが空であるか、コレクションが同期されていません。 コレクションにファイルまたはディレクトリが含まれている場合は、黄色のアイコンをクリックします。 変更を適用すると、コレクションのステータスが同期の成功を示します。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | After a few minutes you may go to **Configuration** → **Collections** and click on the name of the added collection. The newly added Software Agent will be displayed in the Agents tab. | ||
+ | |||
+ | 数分後、**設定(Configuration)** → **コレクション(Collections)** に移動し、追加したコレクションの名前をクリックします。 新しく追加されたソフトウェアエージェントがエージェントタブに表示されます。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== ソフトウエアエージェントにおけるファイルコレクションの場所 ==== | ||
+ | |||
+ | Each file collection has a short name; for this example '' | ||
+ | |||
+ | それぞれのファイルコレクションは、短い名前を持っています。この例では、'' | ||
+ | |||
+ | < | ||
+ | |||
+ | %ProgramFiles%\pandora_agent\collections\fc_13830334393 | ||
+ | |||
+ | </ | ||
+ | |||
+ | It is important to know that the collection is compressed to be sent to the Software Agent, so the latter must have the **unzip.exe** tool in order to decompress the file. As of version 3.2 of the Agent, this utility is installed inside: | ||
+ | |||
+ | コレクションは圧縮された形式でソフトウエアエージェントに送信されるため、ソフトウエアエージェントには、ファイルを解凍するための **unzip.exe** ツールが含まれている必要があることに注意してください。 エージェントバージョン 3.2 以降、このツールは以下にインストールされています。 | ||
+ | |||
+ | < | ||
+ | %ProgramFiles%\pandora_agent\utils | ||
+ | |||
+ | </ | ||
+ | |||
+ | You need to know this to be able to use Modules that work when working with those files, so that you may specify the full " | ||
+ | |||
+ | 完全な " | ||
+ | |||
+ | The collection control system is based on **md5** hashes, similar to Agent configuration file management. When creating the collection in Pandora FMS Web Console, an **md5** hash is created and sent to the Software Agent. This **md5** will only be updated when there are changes in Pandora FMS Web Console collection, and not in the Software Agent. Therefore, the changes in the collections made locally in the agents will remain as long as the collection is not modified in the Web Console. | ||
+ | |||
+ | コレクション制御システムは **md5** ハッシュに基づいており、エージェント設定ファイルの管理と同様です。 Pandora FMS ウェブコンソールでコレクションを作成すると、**md5** ハッシュが作成され、ソフトウェアエージェントに送信されます。 この **md5** は、ソフトウェアエージェントではなく、Pandora FMS ウェブコンソール側のコレクションに変更がある場合にのみ更新されます。 したがって、エージェントでローカルに行われたコレクションの変更は、コレクションがウェブコンソールで変更されない限りそのまま残ります。 | ||
+ | |||
+ | If any change is made in the collection in the Web Console side, the md5 will be recalculated, | ||
+ | |||
+ | ウェブコンソール側でコレクションに変更が加えられると、md5 が再計算され、エージェント内の既存の設定と一致しない場合は、コレクションの最後の設定が適用され、以前の設定が上書きされ、コレクションに対してローカルで行った変更は破棄されます。 | ||
+ | |||
+ | If you want to use a Module that uses a file included in the collection, reference only the directory that contains the collection, using its fixed identifier. This is an example using a [[: | ||
+ | |||
+ | コレクションに含まれるファイルを使用するモジュールを使用する場合は、その固定識別子を使用して、コレクションを含むディレクトリのみを参照してください。 これは [[: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== ファイルコレクションと監視ポリシー ==== | ||
+ | |||
+ | It works much like individual Agent collections, | ||
+ | |||
+ | 個々のエージェントコレクションと同じように機能しますが、コレクションを特定のエージェントに適用する代わりに、ポリシーに適用します。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | [[: | ||
+ | |||
+ | コレクションを管理および同期するには、[[: | ||
+ | |||
+ | ==== サテライトサーバファイルコレクション ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | When you save the changes, after a few minutes, you will see in the configuration file the new section created with the collections added and their respective short name. | ||
+ | |||
+ | 変更を保存すると、数分後に、追加されたコレクションとそれぞれの短い名前で作成された新しいセクションが設定ファイルに表示されます。 | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | [[: | ||
+ | |||
+ | [[: | ||
+ | |||
+ | ==== メタコンソールでのファイルコレクション ==== | ||
+ | |||
+ | From Pandora FMS 729 OUM you may centralize collection management from the [[: | ||
+ | |||
+ | Pandora FMS 729 OUM からは、[: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | [[: | ||
+ | |||
+ | ウェブコンソールと同じようにコレクションを管理および同期するには、[[: | ||
+ | |||
+ | ===== 設定の複製 ===== | ||
+ | |||
+ | **The C****onfiguration duplication** option allows copying '' | ||
+ | |||
+ | **設定の複製**オプションは、[[: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | * Use **Source Group** | ||
+ | * Select the agent that contains the configuration to be copied to the **Source Agent**. | ||
+ | * Select one or more agents in **Destination agent(s)**. | ||
+ | * Press the button **Replicate configuration** | ||
+ | |||
+ | * エージェントを所属グループでフィルタするために、**ソースグループ** を利用します。 | ||
+ | * 設定をコピーしたいエージェントを **ソースエージェント(Source Agent)** で選択します。 | ||
+ | * 一つ以上のコピー先エージェントを **対象エージェント(Destination agent(s)** で選択します。 | ||
+ | * **設定の複製(Replicate configuration)** をクリックして変更を反映します。 | ||
+ | |||
+ | ===== サーバ ===== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== サテライトサーバ管理 ===== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | In the **Servers** | ||
+ | |||
+ | **サーバ(Servers)** → **サテライトサーバ管理(Manage Satellite Server)** メニューにて、ウェブコンソールに設定されたサテライトサーバを管理できます。名前をクリックすると、対応する **認証情報ボックス** を管理できます。 | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | |||
+ | The only difference with the **Manage servers** | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 60%> | ||
+ | |||
+ | 同じルートメニューにある **サーバの管理(Manage servers)** オプションとの唯一の違いは、**サーバの管理** を通じて // | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ |