差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:28_pfms_file_collections [2025/02/01 13:15] – [ファイルコレクション] junichi | ja:documentation:pandorafms:technical_annexes:28_pfms_file_collections [2025/08/02 07:52] (現在) – [ソフトウエアエージェントにおけるファイルコレクションの場所] junichi | ||
---|---|---|---|
行 9: | 行 9: | ||
===== ファイルコレクション ===== | ===== ファイルコレクション ===== | ||
- | The file collections are resources used to massively deploy the scripts or plugins to later be [[: | + | The file collections are resources used to massively deploy the scripts or plugins to later be [[: |
- | これらは通常、[[: | + | ファイルコレクションは、[[: |
{{ : | {{ : | ||
行 35: | 行 35: | ||
上の画像で強調表示されている 3 つのアイコンでは、左から右に、ディレクトリの作成、テキストの作成 (後で編集可能)、または新しいファイルの保存を行うことができます。 | 上の画像で強調表示されている 3 つのアイコンでは、左から右に、ディレクトリの作成、テキストの作成 (後で編集可能)、または新しいファイルの保存を行うことができます。 | ||
- | Once the resources have been added, return to the collection | + | Once the resources have been added, return to the list of collections |
- | リソースが追加されたら、コレクションのリストと黄色の三角形のアイコンに戻ります。ここをクリックすると、変更を Pandora FMS のさまざまな要素 (エージェント、ソフトウェアエージェント、監視ポリシー、サテライトサーバ) と同期できます。 | + | リソースが追加されたら、コレクションのリストと黄色の三角形のアイコンに戻ります。ここをクリックすると、変更を Pandora FMS のさまざまな要素 (エージェント、エンドポイント、監視ポリシー、サテライトサーバ) と同期できます。 |
{{ : | {{ : | ||
- | Each collection has its own base directory. In the Web Console these are stored in the directory | + | Each collection has its own base directory. In the Web Console these are stored in the ''/ |
- | 各コレクションには独自のベースディレクトリがあります。 Web コンソールでは、これらはディレクトリ ''/ | + | 各コレクションには独自のベースディレクトリがあります。 Web コンソールでは、これらはディレクトリ ''/ |
- | ==== ファイルコレクションとソフトウエアエージェント ==== | + | <wrap #ks1_1 /> |
- | Go to **Resources** → **Manage agents** and click on a Software Agent name. Click the **Collection** (**Collection**) tab. You will have a list of available collections similar to this: | + | ==== ファイルコレクションとエンドポイント ==== |
- | **リソース(Resources)** → **エージェント管理(Manage agents)** へ行き、ソフトウエアエージェントの名前をクリックします。**コレクション(Collection)** タブをクリックします。次のような定義済のコレクション一覧が表示されます。 | + | Go to <wrap :en>**Resources → Manage agents**</ |
- | {{ :wiki:pfms-software_agent-collection-01.png | + | **リソース(Resources)** → **エージェント管理(Manage agents)** へ行き、エンドポイントの名前をクリックします。**コレクション(Collection)** タブをクリックします。次のような定義済のコレクション一覧が表示されます。 |
+ | |||
+ | {{ :wiki:pfms-endpoint-collection-01.png }} | ||
<WRAP center round info 90%> | <WRAP center round info 90%> | ||
- | If a Software Agent has [[:es: | + | If a EndPoint |
+ | {{ : | ||
+ | \\ | ||
</ | </ | ||
<WRAP center round info 90%> | <WRAP center round info 90%> | ||
- | ソフトウエアエージェントの [[: | + | エンドポイントの [[: |
+ | {{ : | ||
+ | \\ | ||
</ | </ | ||
行 69: | 行 75: | ||
コレクションを追加するには、**追加(Add)** 列の合計アイコンをクリックします: | コレクションを追加するには、**追加(Add)** 列の合計アイコンをクリックします: | ||
- | {{ :wiki:pfms-software_agent-collection-03.png | + | {{ :wiki:pfms-endpoint-collection-03.png }} |
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, | 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, | ||
行 75: | 行 81: | ||
**状態(Status)** 列に黄色の警告三角形のアイコンが表示される場合は、コレクションが空であるか、コレクションが同期されていません。 コレクションにファイルまたはディレクトリが含まれている場合は、黄色のアイコンをクリックします。 変更を適用すると、コレクションのステータスが同期の成功を示します。 | **状態(Status)** 列に黄色の警告三角形のアイコンが表示される場合は、コレクションが空であるか、コレクションが同期されていません。 コレクションにファイルまたはディレクトリが含まれている場合は、黄色のアイコンをクリックします。 変更を適用すると、コレクションのステータスが同期の成功を示します。 | ||
- | {{ :wiki:pfms-software_agent-collection-04.png | + | {{ :wiki:pfms-endpoint-collection-04.png }} |
- | 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 | + | After a few minutes you can go to <wrap :en>**Configuration → Collections**</ |
- | 数分後、**設定(Configuration)** → **コレクション(Collections)** に移動し、追加したコレクションの名前をクリックします。 新しく追加されたソフトウェアエージェントがエージェントタブに表示されます。 | + | 数分後、**設定(Configuration)** → **コレクション(Collections)** に移動し、追加したコレクションの名前をクリックします。 新しく追加されたエンドポイントがエージェントタブに表示されます。 |
- | {{ :wiki:pfms-software_agent-collection-05.png | + | {{ :wiki:pfms-endpoint-collection-05.png }} |
- | ==== ソフトウエアエージェントにおけるファイルコレクションの場所 ==== | + | <wrap #ks1_2 /> |
+ | |||
+ | ==== エンドポイントにおけるファイルコレクションの場所 ==== | ||
Each collection of files has a '' | Each collection of files has a '' | ||
行 102: | 行 110: | ||
</ | </ | ||
- | 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 to be able to decompress the file. As of Agent version 3.2 for MS Windows®, this utility is installed inside: | + | It is important to know that the collection is compressed to be sent to the EndPoint, so the latter must have the **unzip.exe** tool to be able to decompress the file. As of Agent version 3.2 for MS Windows®, this utility is installed inside: |
- | コレクションはソフトウェアエージェントへ圧縮して送信されるため、ソフトウェアエージェントがファイルを解凍するためには **unzip.exe** ツールが必要です。 MS Windows® 用エージェント バージョン 3.2 では、このユーティリティは次の場所にインストールされています。 | + | コレクションはエンドポイントへ圧縮して送信されるため、エンドポイントがファイルを解凍するためには **unzip.exe** ツールが必要です。 MS Windows® 用エンドポイント バージョン 3.2 では、このユーティリティは次の場所にインストールされています。 |
< | < | ||
行 115: | 行 123: | ||
完全な " | 完全な " | ||
- | The collection control system is based on **md5** hashes, similar to the management of configuration files of the Agents. When creating the collection in the Pandora FMS Web Console, an md5 hash is created that is sent to the Software Agent. This **md5** will only be updated when changes occur in the collection on the Pandora FMS Web Console side, and not in the Software Agent. Therefore, changes to collections made locally on agents will remain as long as the collection is not changed in the Web Console. | + | The collection control system is based on **MD5** hashes, similar to the management of configuration files of the Agents. When creating the collection in the Pandora FMS Web Console, an **MD5** |
- | コレクション制御システムは **md5** ハッシュに基づいており、エージェント設定ファイルの管理と同様です。 Pandora FMS ウェブコンソールでコレクションを作成すると、**md5** ハッシュが作成され、ソフトウェアエージェントに送信されます。 この **md5** は、ソフトウェアエージェントではなく、Pandora FMS ウェブコンソール側のコレクションに変更がある場合にのみ更新されます。 したがって、エージェントでローカルに行われたコレクションの変更は、コレクションがウェブコンソールで変更されない限りそのまま残ります。 | + | コレクション制御システムは **md5** ハッシュに基づいており、エージェント設定ファイルの管理と同様です。 Pandora FMS ウェブコンソールでコレクションを作成すると、**md5** ハッシュが作成され、エンドポイントに送信されます。 この **md5** は、エンドポイントではなく、Pandora FMS ウェブコンソール側のコレクションに変更がある場合にのみ更新されます。 したがって、エージェントでローカルに行われたコレクションの変更は、コレクションがウェブコンソールで変更されない限りそのまま残ります。 |
If any change is made to the collection on the Web Console side, the **md5** will be recalculated, | If any change is made to the collection on the Web Console side, the **md5** will be recalculated, | ||
行 123: | 行 131: | ||
ウェブコンソール側でコレクションに変更が加えられると、md5 が再計算され、エージェント内の既存の設定と一致しない場合は、コレクションの最後の設定が適用され、以前の設定が上書きされ、コレクションに対してローカルで行った変更は破棄されます。 | ウェブコンソール側でコレクションに変更が加えられると、md5 が再計算され、エージェント内の既存の設定と一致しない場合は、コレクションの最後の設定が適用され、以前の設定が上書きされ、コレクションに対してローカルで行った変更は破棄されます。 | ||
- | If you want to use a Module that uses a file included in the collection, refer only to the directory that contains the collection, using its fixed identifier. This is an example using a [[: | + | If you want to use a Module that uses a file included in the collection, refer only to the directory that contains the collection, using its fixed identifier. This is an example using the default PFMS collection: |
- | コレクションに含まれるファイルを使用するモジュールを使用する場合は、その固定識別子を使用して、コレクションを含むディレクトリのみを参照してください。 これは [[: | + | コレクションに含まれるファイルを使用するモジュールを使用する場合は、コレクションを含むディレクトリのみを、その固定識別子を使用して参照します。以下は、デフォルトのPFMSコレクションを使用した例です。 |
- | {{ :wiki:collection_module_usage_plugin.png }} | + | {{ :wiki:pfms-endpoint-collection-04.png }} |
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | </ | ||
+ | |||
+ | <wrap #ks1_3 /> | ||
==== ファイルコレクションと監視ポリシー ==== | ==== ファイルコレクションと監視ポリシー ==== | ||
行 140: | 行 155: | ||
コレクションを管理および同期するには、[[: | コレクションを管理および同期するには、[[: | ||
+ | |||
+ | <wrap #ks1_4 /> | ||
==== サテライトサーバファイルコレクション ==== | ==== サテライトサーバファイルコレクション ==== | ||
- | Click on the **Servers** menu → **Manage | + | <wrap :en>**Management → Servers → Manage Satellite server**</ |
- | **サーバ(Servers)** → **サーバ管理(Manage | + | <wrap :ja>**管理(Management) → サーバ(Servers) → サテライトサーバ管理(Manage |
- | {{ : | + | {{ : |
- | When you save the changes, after a few minutes, you will see in the configuration file the new section created with the collections | + | Click on the <wrap : |
- | 変更を保存すると、数分後に、追加されたコレクションとそれぞれの短い名前で作成された新しいセクションが設定ファイルに表示されます。 | + | <wrap : |
- | {{ : | + | When saving the changes, after a few minutes, you will be able to see in the configuration file the new section created with the added collections and their respective short name. |
- | [[: | + | 変更を保存すると、数分後に、追加されたコレクションとそれぞれの短縮名で作成された新しいセクションが設定ファイルに表示されます。 |
+ | |||
+ | {{ : | ||
+ | |||
+ | [[: | ||
[[: | [[: | ||
- | ==== コマンドセンター(メタコンソール)でのファイルコレクション ==== | + | <wrap #ks1_5 /> |
+ | |||
+ | ==== コマンドセンターでのファイルコレクション ==== | ||
Starting with Pandora FMS 729, OUM can centralize collection management from [[: | Starting with Pandora FMS 729, OUM can centralize collection management from [[: |