ja:documentation:pandorafms:installation:05_configuration_agents

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:05_configuration_agents [2025/07/08 08:42] – [module_plugin] junichija:documentation:pandorafms:installation:05_configuration_agents [2025/08/05 08:29] (現在) – [MS Windows での基本エンドポイントオプション] junichi
行 531: 行 531:
 モジュールの実行間隔を指定しますが、[[#module_interval|module_interval]] とは異なります。 モジュールの実行間隔を指定しますが、[[#module_interval|module_interval]] とは異なります。
  
-  - Remember the last run date when the EndPoint is restarted. The module will not run until the specified interval goes by.+  - It remembers the last run date when EndPoint is restarted. The module will not run until the specified interval goes by.
   - It allows you to specify the interval in seconds, minutes, hours or days (e.g., ''30s'', ''5m'', ''1h'', ''7d'').   - It allows you to specify the interval in seconds, minutes, hours or days (e.g., ''30s'', ''5m'', ''1h'', ''7d'').
   - It is possible to configure modules to be executed only once by specifying ''once''  as the interval value.   - It is possible to configure modules to be executed only once by specifying ''once''  as the interval value.
行 538: 行 538:
   - 間隔を秒、分、時間、または日単位で指定できます (例: ''30s''、''5m''、''1h''、''7d'')。   - 間隔を秒、分、時間、または日単位で指定できます (例: ''30s''、''5m''、''1h''、''7d'')。
   - 間隔値として ''once'' を指定することで、モジュールが 1 回だけ実行されるように設定できます。   - 間隔値として ''once'' を指定することで、モジュールが 1 回だけ実行されるように設定できます。
 +
 +<WRAP center round important 90%>
 +
 +''module_absoluteinterval'' needs ''[[#module_name|module_name]]'' to generate the corresponding ''.ref''' file in the directory:
 +
 +<file>
 +/usr/share/pandora_agent/ref/
 +</file>
 +
 +Only in this way will the module be created.
 +
 +</WRAP>
 +
 +<WRAP center round important 90%>
 +
 +''module_absoluteinterval'' は、ディレクトリ内に対応する ''.ref''' ファイルを生成するために ''[[#module_name|module_name]]'' が必要です。
 +
 +<file>
 +/usr/share/pandora_agent/ref/
 +</file>
 +
 +この方法でのみモジュールが作成されます。
 +
 +</WRAP>
  
 ===== セカンダリサーバ ===== ===== セカンダリサーバ =====
行 2086: 行 2110:
 <WRAP center round tip 90%> <WRAP center round tip 90%>
  
-''module_name'' is more relevant than it seems because many [[:en:documentation:pandorafms:monitoring:21_siem#ks8|SIEM rules]] are triggered on a specific application name, and this name is defined in the ''module_name''. In fact for SysMon type events, the name must be a concrete one, and so for many SIEM rules.+''module_name'' is more relevant than it seems because many [[:en:documentation:pandorafms:cybersecurity:21_siem#ks8|SIEM rules]] are triggered on a specific application name, and this name is defined in the ''module_name''. In fact for SysMon type events, the name must be a concrete one, and so for many SIEM rules.
  
 </WRAP> </WRAP>
行 2092: 行 2116:
 <WRAP center round tip 90%> <WRAP center round tip 90%>
  
-多くの [[:ja:documentation:pandorafms:monitoring:21_siem#ks8|SIEM ルール]] は特定のアプリケーション名で起動されるため、''module_name'' は見た目以上に重要な意味を持ちます。この名前は ''module_name'' で定義されます。SysMon タイプのイベントの場合、名前は具体的な名前である必要があり、多くの SIEM ルールでも同様です。+多くの [[:ja:documentation:pandorafms:cybersecurity:21_siem#ks8|SIEM ルール]] は特定のアプリケーション名で起動されるため、''module_name'' は見た目以上に重要な意味を持ちます。この名前は ''module_name'' で定義されます。SysMon タイプのイベントの場合、名前は具体的な名前である必要があり、多くの SIEM ルールでも同様です。
  
 </WRAP> </WRAP>
行 2260: 行 2284:
 ==== 概要 ==== ==== 概要 ====
  
-In the agent configuration process, you may set a series of rules for your agents to be configured automatically. It works like this:+In the EndPoint auto-configuration process, you can establish a series of rules so that they are configured automatically and it works as follows:
  
-ージェント設定処理では、ジェントを自動的に設定するための一連のルールを設定できます。 それはこのように動作します+ンドポイントの自動設定処理では、一連のル確立して自動的に設定することができ、次のように機能します
  
-  - **Prepare the automatic configurations**  in your Pandora FMS Console or Pandora FMS Command Center (Metaconsole). +  - **Prepare the automatic configurations** in your Pandora FMS Console or Pandora FMS Command Center (Metaconsole). 
-  - **Install the Agents**  reporting to your Pandora FMS (if you have a Command Center -Metaconsole- with the auto-provisioning system configured, establish the Command Center -Metaconsole- itself as the server). +  - **Install the EndPoints** reporting to your Pandora FMS (if you have a Command Center -Metaconsole- with the auto-provisioning system configured, establish the Command Center -Metaconsole- itself as the server). 
-  - **Pandora FMS Server will receive**  an XML ( ''.data''  ) with the Agent data for the first time. +  - **Pandora FMS Server will receive** an XML (''.data'') with the EndPoint data for the first time. 
-  - **The rules will be evaluated**  to determine the automatic configuration to apply. +  - **The rules will be evaluated** to determine the automatic configuration to apply. 
-  - **The Agent will collect the new configuration**  and will report in the next cycle with the updated configuration.+  - **The EndPoint will collect the new configuration** and will report in the next cycle with the updated configuration.
  
-  - Pandora FMS コンソールまたはPandora FMS コマンドセンター(メタコンソール)で、自動設定準備します。 +  - Pandora FMS コンソールまたは Pandora FMS コマンドセンター (メタコンソール) で、**自動設定準備します**。 
-  - Pandora FMS へ接続するエージェントをインストールします(コマンドセンター(メタコンソール)場合はエージェントの接続先は Pandora FMS サーバです。自動プロビジョニングを設定したコマンドセンター(メタコンソール)がある場合は、それをサーバとして設定します。) +  - Pandora FMS にレポートする **ンドポイントをインストールします** (自動プロビジョニングシステムが設定されたコマンドセンター (メタコンソール) がある場合はコマンドセンター (メタコンソール) 自体をサーバとして設定します)。 
-  - Pandora FMS サーバ、エージェントデータを含む XML (.data) を初受信します。 +  - **Pandora FMS サーバ**ンドポイントデータを含む XML (''.data'') を初めて受信します**。 
-  - 適用される自動設定決定するためのルールが評価されます。 +  - **ルールが評価され、**適用する自動設定決定されます**。 
-  - エージェントたな設定を受け取り、次回の処理から更新された設定で動作します。+  - **ンドポイントしい設定を収集し**、次回の処理から更新された設定で動作します。
  
 ==== 自動エージェント設定の作成/編集 ==== ==== 自動エージェント設定の作成/編集 ====
行 2304: 行 2328:
 === ルール === === ルール ===
  
-To define the Agents to which the automatic configuration will be applied, you can first add rules to identify them.+To define the EndPoints to which the automatic configuration will be applied, you can first add rules to identify them.
  
-自動設定が適用されるエージェントを定義するには、まずエージェントを識別するルールを追加します。+自動設定が適用されるエンドポイントを定義するには、まずエンドポイントを識別するルールを追加します。
  
-Expand the rules section within your automatic configuration, and select **Add new rule**. You can choose a series of options in the rules selector to identify the agents that are going to be configured.+Expand the rules section within your automatic configuration, and select **Add new rule**. You can choose a series of options in the rules selector to identify the EndPoints that are going to be configured.
  
-自動設定内のルールセクションを展開し、**新しいルールの追加(Add new rule)** を選択します。 ルールセレクターで一連のオプションを選択して、設定するエージェントを識別できます。+自動設定内のルールセクションを展開し、**新しいルールの追加(Add new rule)** を選択します。 ルールセレクターで一連のオプションを選択して、設定するエンドポイントを識別できます。
  
-   * **Server name**: Match on server name. +  * **Server name**: Match on server name. 
-   * **Group ****name**: Match on group name. +  * **Group name**: Match on group name. 
-   * **OS**: Match operating system name using regular expressions. +  * **OS**: Match operating system name using regular expressions. 
-   * **Custom field**: Match by key/value based on a custom field reported by the Agent. Indicate the name of the custom field and the value it should have. +  * **Custom field**: Match by key/value based on a custom field reported by the EndPoint. Indicate the name of the custom field and the value it should have. 
-   * **IP range**: Match by range of IP (network) addresses, use IP/mask notation. +  * **IP range**: Match by range of IP (network) addresses, use IP/mask notation. 
-   * **Script output (> 0)**: Intended to execute a script whose execution result is evaluated as valid when the standard output is greater than 0. +  * **Script output (> 0)**: Intended to execute a script whose execution result is evaluated as valid when the standard output is greater than 0. 
-   * **Rules script call**: Supports the following macros in the 'arguments' field (you can choose between ''AND'' and ''OR'' operators to modify the logic of the rules): +  * **Rules script call**: Supports the following macros in the 'arguments' field (you can choose between ''AND'' and ''OR'' operators to modify the logic of the rules): 
-       * ''_agent_'' **:** Will be replaced by the name of the Agent. +      * ''_agent_'' **:**  Will be replaced by the name of the Agent. 
-       * ''_agentalias_'' **: **Will be replaced by the Agent's alias. +      * ''_agentalias_'' **:** Will be replaced by the Agent's alias. 
-       * ''_address_'' **:** Will be replaced by the primary IP address reported by the Agent. +      * ''_address_'' **:** Will be replaced by the primary IP address reported by the Agent. 
-       * ''_agentgroup_'' **:** Will be replaced by the name of the group reported by the Agent. +      * ''_agentgroup_'' **:** Will be replaced by the name of the group reported by the Agent. 
-       * ''_agents_'' **:** Will be replaced by the Agent operating system.+      * ''_agents_'' **:** Will be replaced by the Agent operating system.
  
    * **Server name**: マッチするサーバ名    * **Server name**: マッチするサーバ名
    * **Group name**: マッチするグループ名    * **Group name**: マッチするグループ名
    * **OS**: マッチする OS 名 (正規表現)    * **OS**: マッチする OS 名 (正規表現)
-   * **Custom field**: エージェントが報告してくる、キー/値 のカスタムフィールドマッチ。カスタムフィールド名と値を指定する必要があります。+   * **Custom field**: エンドポイントが報告してくる、キー/値 のカスタムフィールドマッチ。カスタムフィールド名と値を指定する必要があります。
    * **IP range**: IP の範囲(ネットワーク)にマッチ。IP/ネットマスク の書式を追加います。    * **IP range**: IP の範囲(ネットワーク)にマッチ。IP/ネットマスク の書式を追加います。
    * **Script output (> 0)**: スクリプトの実行結果で、標準出力の結果が 0より大きい場合にルールにマッチしたと評価されます。    * **Script output (> 0)**: スクリプトの実行結果で、標準出力の結果が 0より大きい場合にルールにマッチしたと評価されます。
行 2343: 行 2367:
  
 <WRAP center round tip 60%>ルールが無い場合は、自動設定は適用されません。全てのエージェントに対して一つの設定でよい場合は、すべての別名にマッチする正規表現 ''.*''  を使うことができます。</WRAP> <WRAP center round tip 60%>ルールが無い場合は、自動設定は適用されません。全てのエージェントに対して一つの設定でよい場合は、すべての別名にマッチする正規表現 ''.*''  を使うことができます。</WRAP>
 +
 +<wrap #ks7_2_2 />
  
 === 設定 === === 設定 ===
行 2400: 行 2426:
    * ''_agentid_'' エージェント ID に置き換えられます。    * ''_agentid_'' エージェント ID に置き換えられます。
  
-===== Unix/Linux エージェント =====+===== Unix/Linux エンドポイント =====
  
  
-==== Pandora FMS Unix エージェントの設定 ====+==== Pandora FMS Unix エンドポイントの設定 ====
  
 The fundamental paths and directories to take into account are: The fundamental paths and directories to take into account are:
行 2409: 行 2435:
 把握しておくべき基本的なファイルとディレクトリは次のとおりです。 把握しておくべき基本的なファイルとディレクトリは次のとおりです。
  
-  * ''/usr/share/pandora_agent''  : Where the Pandora FMS Agent is installed. On systems where this is not allowed by policy, it is recommended to create a link to this path from the actual installation path, for example ''/opt/pandora''  → ''/usr/share/pandora_agent''+  * ''/usr/share/pandora_agent'': Where the Pandora FMS EndPoint is installed. On systems where this is not allowed by policy, it is recommended to create a link to this path from the actual installation path, for example ''/opt/pandora''  → ''/usr/share/pandora_agent''
-  * ''/etc/pandora/pandora_agent.conf''  : Main configuration file of the Agent. Local Runtime Modules and Agent plugins are configured here. +  * ''/etc/pandora/pandora_agent.conf'': Main configuration file of the EndPoint. Local Runtime Modules and EndPoint plugins are configured here. 
-  * ''/usr/local/bin/pandora_agent'': Agent executable binary. It usually has a link to ''/usr/bin/pandora_agent''.+  * ''/usr/local/bin/pandora_agent'': EndPoint executable binary. It usually has a link to ''/usr/bin/pandora_agent''.
   * ''/usr/local/bin/tentacle_client'': Tentacle executable binary, for file transfer to the server. It usually has a link to ''/usr/bin/tentacle_client''.   * ''/usr/local/bin/tentacle_client'': Tentacle executable binary, for file transfer to the server. It usually has a link to ''/usr/bin/tentacle_client''.
   * ''systemctl pandora_agent_daemon'': Script start/stop/restart.   * ''systemctl pandora_agent_daemon'': Script start/stop/restart.
-      * **On AIX systems the daemon is**''/etc/rc.pandora_agent_daemon''+      * **On AIX systems the daemon is** ''/etc/rc.pandora_agent_daemon''
-  * ''/var/log/pandora/pandora_agent.log'': Text file where the activity of the Pandora FMS Agent is saved, when the Agent runs in debugging mode. +  * ''/var/log/pandora/pandora_agent.log'': Text file where the activity of the Pandora FMS EndPoint is saved, when the EndPoint runs in debugging mode. 
-  * ''/etc/pandora/plugins'': Directory that contains the agent plugins. It is linked to the ''/usr/share/pandora_agent/plugins''  directory. +  * ''/etc/pandora/plugins'': Directory that contains the agent plugins. It is linked to the ''/usr/share/pandora_agent/plugins'' directory. 
-  * ''/etc/pandora/collections'': Directory containing the collections deployed to the Agent. It is linked to the ''/usr/share/pandora_agent/collections''  directory.+  * ''/etc/pandora/collections'': Directory containing the collections deployed to the Agent. It is linked to the ''/usr/share/pandora_agent/collections'' directory.
  
-  * ''/usr/share/pandora_agent'' : Pandora FMS エージェントがインストールされる場所です。厳密なシステムポリシーがあり、ここにインストールできないシステムでは、実際のインストールパスからこのパスへのリンクを作成することを推奨します。例: ''/opt/pandora'' → ''/usr/share/pandora_agent'' +  * ''/usr/share/pandora_agent'' : Pandora FMS エンドポイントがインストールされる場所です。厳密なシステムポリシーがあり、ここにインストールできないシステムでは、実際のインストールパスからこのパスへのリンクを作成することを推奨します。例: ''/opt/pandora'' → ''/usr/share/pandora_agent'' 
-  * ''/etc/pandora/pandora_agent.conf'' : エージェントのメインの設定ファイルです。ここにデータの収集に使うコマンドの定義がされています。 +  * ''/etc/pandora/pandora_agent.conf'' : エンドポイントのメインの設定ファイルです。ここにデータの収集に使うコマンドの定義がされています。 
-  * ''/usr/local/bin/pandora_agent'' : エージェントの実行バイナリです。通常、''/usr/bin/pandora_agent'' にリンクされています。+  * ''/usr/local/bin/pandora_agent'' : エンドポイントの実行バイナリです。通常、''/usr/bin/pandora_agent'' にリンクされています。
   * ''/usr/local/bin/tentacle_client'' : サーバにデータファイルを送信するため Tentacle 実行バイナリです。通常、''/usr/bin/tentacle_client'' にリンクされています。   * ''/usr/local/bin/tentacle_client'' : サーバにデータファイルを送信するため Tentacle 実行バイナリです。通常、''/usr/bin/tentacle_client'' にリンクされています。
   * ''systemctl pandora_agent_daemon'' : start/stop/restart のためのスクリプトです。   * ''systemctl pandora_agent_daemon'' : start/stop/restart のためのスクリプトです。
       * AIX システムでは、''/etc/rc.pandora_agent_daemon'' です。       * AIX システムでは、''/etc/rc.pandora_agent_daemon'' です。
-  * ''/var/log/pandora/pandora_agent.log'' : Pandora FMS エージェントがデバッグモードで動作している時にログが出力されるログファイルです。+  * ''/var/log/pandora/pandora_agent.log'' : Pandora FMS エンドポイントがデバッグモードで動作している時にログが出力されるログファイルです。
   * ''/etc/pandora/plugins'' : エージェントプラグインを置くディレクトリです。これは ''/usr/share/pandora_agent/plugins''  にリンクされています。   * ''/etc/pandora/plugins'' : エージェントプラグインを置くディレクトリです。これは ''/usr/share/pandora_agent/plugins''  にリンクされています。
   * ''/etc/pandora/collections'' : エージェントのコレクションを置くディレクトリです。これは ''/usr/share/pandora_agent/collections''  にリンクされています。   * ''/etc/pandora/collections'' : エージェントのコレクションを置くディレクトリです。これは ''/usr/share/pandora_agent/collections''  にリンクされています。
  
-==== Unix エージェントの実行 ====+==== Unix エンドポイントの初期実行 ==== 
 + 
 +To start the EndPoint it is only necessary to execute: 
 + 
 +エンドポイントの起動は以下のようにします。
  
-エージェントの起動は以下のようにします。 
 <code> <code>
  
行 2438: 行 2467:
 </code> </code>
  
-ージェントの停止は以下のようにします。+To stop the EndPoint, run: 
 + 
 +ンドポイントの停止は以下のようにします。
  
 <code> <code>
行 2565: 行 2596:
 </code> </code>
  
-===== Pandora FMS Windows エージェント =====+===== Pandora FMS Windows エンドポイント =====
  
-==== Pandora FMS Windows エージェントの設定 ====+==== Pandora FMS Windows エンドポイントの設定 ====
  
-The fundamental paths and directories in the Windows agent installation will be found in the directory where the agent is installed, by default ''%ProgramFiles%''.+The fundamental paths and directories in the installations of the EndPoint for MS Windows® are found in the directory where the Agent has been installed, by default ''%ProgramFiles%''.
  
-Windows エージェントの基本的なパスやディレクトリは、エージェントをインストールした場所になります。デフォルトでは ''%ProgramFiles%'' です。+Windows エンドポイントの基本的なパスやディレクトリは、エンドポイントをインストールした場所になります。デフォルトでは ''%ProgramFiles%'' です。
  
 理解しておきたい基本的なファイルは次の通りです。 理解しておきたい基本的なファイルは次の通りです。
行 2577: 行 2608:
 **''%ProgramFiles%\pandora_agent''  ** **''%ProgramFiles%\pandora_agent''  **
  
-Where Pandora FMS agent, its executable and its directories are installed.+Where the Pandora FMS EndPoint, its executable and its directories are installed.
  
-Pandora FMS エージェントの実行ファイルやディレクトリがあるインストール先です。+Pandora FMS エンドポイントの実行ファイルやディレクトリがあるインストール先です。
  
 **''%ProgramFiles%\pandora_agent\pandora_agent.conf''  ** **''%ProgramFiles%\pandora_agent\pandora_agent.conf''  **
  
-Agent configuration main file. Local execution modules and agent plugins are configured here.+EndPoint main configuration file. Local Runtime Modules and EndPoint plugins are configured here.
  
-ージェントの設定ファイルです。実行モジュールおよびエージェントプラグインの設定はここにあります。+ンドポイントの設定ファイルです。実行モジュールおよびエンドポイントプラグインの設定はここにあります。
  
 **''%ProgramFiles%\pandora_agent\PandoraAgent.exe''  ** **''%ProgramFiles%\pandora_agent\PandoraAgent.exe''  **
  
-Executable agent binary.+EndPoint executable binary.
  
-ージェントの実行バイナリです。 +ンドポイントの実行バイナリです。
- +
-**''%ProgramFiles%\pandora_agent\util\tentacle_client.exe''  ** +
- +
-Tentacle executable binary for transferring files to the server. +
- +
-サーバへファイルを転送するための Tentacle 実行バイナリです。+
  
 **''%ProgramFiles%\pandora_agent\scripts''  ** **''%ProgramFiles%\pandora_agent\scripts''  **
  
-Pandora FMS agent start/stop/restart scripts.+Scripts to start/stop/restart the Pandora FMS EndPoint.
  
-Pandora FMS エージェントの起動・停止・再起動スクリプトです。+Pandora FMS エンドポイントの起動・停止・再起動スクリプトです。
  
 **''%ProgramFiles%\pandora_agent\pandora_agent.log''  ** **''%ProgramFiles%\pandora_agent\pandora_agent.log''  **
  
-Text file where Pandora FMS agent activity is saved, when the agent is executed in debug mode.+Text file where the activity of the Pandora FMS EndPoint is saved, when the EndPoint runs in debugging mode.
  
-Pandora FMS エージェントがデバッグモードで実行されたときに出力されるログファイルです。+Pandora FMS エンドポイントがデバッグモードで実行されたときに出力されるログファイルです。
  
 **''%ProgramFiles%\pandora_agent\util''  ** **''%ProgramFiles%\pandora_agent\util''  **
  
-Directory containing the agent plugins.+Directory containing the EndPoint plugins.
  
-ージェントプラグインを含むディレクトリです。+ンドポイントプラグインを含むディレクトリです。
  
 **''%ProgramFiles%\pandora_agent\collections''  ** **''%ProgramFiles%\pandora_agent\collections''  **
  
-Directory containing the agent'collections.+Directory containing the EndPoint collections.
  
-ージェントのコレクションを含むディレクトリです。+ンドポイントのコレクションを含むディレクトリです。
  
-==== MS Windows での基本エージェントオプション ====+==== MS Windows での基本エンドポイントオプション ====
  
-{{  :wiki:pfms-console_web-sofware_agent_ms_windows-basic_options.png  }}+{{  :wiki:pfms-console_web-endpoint_ms_windows-basic_options.png  }}
  
 When the software agent has **Remote configuration enabled**  and the installed version is 774 or later, the following options can be enabled in the **Basic options**  section of the agent configuration in the Web Console. When the software agent has **Remote configuration enabled**  and the installed version is 774 or later, the following options can be enabled in the **Basic options**  section of the agent configuration in the Web Console.
行 2775: 行 2800:
 ファイルコレクションと ''pandora_update'' ツールを使って、エンドポイントは自分自身の更新ができます。 ファイルコレクションと ''pandora_update'' ツールを使って、エンドポイントは自分自身の更新ができます。
  
-<WRAP center round tip 60%> The ''pandora_update'' tool needs the Perl module ''Digest::MD5'' to work. As of Perl version 5.14, this module is built in by default, but in earlier versions you will need to install it manually. </WRAP>+<WRAP center round tip 90%> The ''pandora_update''  tool needs the Perl module ''Digest::MD5''  to work. As of Perl version 5.14, this module is built in by default, but in earlier versions you will need to install it manually. </WRAP>
  
-<WRAP center round tip 60%> ''pandora_update'' ツールは、Perl の ''Digest:MD5'' モジュールが必要です。Perl 5.14 からはデフォルトで含まれていますが、古いバージョンでは手動でインストールしておく必要があります。 </WRAP>+<WRAP center round tip 90%> ''pandora_update'' ツールは、Perl の ''Digest:MD5'' モジュールが必要です。Perl 5.14 からはデフォルトで含まれていますが、古いバージョンでは手動でインストールしておく必要があります。 </WRAP>
  
 これは、次のように動作します。 これは、次のように動作します。
  
-1. エージェントが、例えば次のようなファイルコレクションの incoming ディレクトリに新たなバイナリを受信します。+1. EndPoints receive new binaries in the collections input directory. 
 + 
 +1. エンドポイントが、例えば次のようなファイルコレクションの incoming ディレクトリに新たなバイナリを受信します。
  
 Windows の例: Windows の例:
行 2797: 行 2824:
 </code> </code>
  
-2. エージェントは、pandora_update プラグインを実行します。このプラグインは、コレクションの短い名前をパラメータとして受け取ります(この例では //fc_1//)。コレクションディレクトリ内のエージェントバイナリをスキャンし、現在動作しているものと比較します。違いがあれば、pandora_update がエージェントを停止し、バイナリを置き換え、新しいバイナリを使ってエージェントを再起動します。+2. The EndPoint executes the plugin ''pandora_update''. This plugin takes a single parameter: the short name of the collection (in this example, ''fc_1''). It will scan the collection directory looking for the EndPoint binary (not the entire installer), it will compare the binary located in the collection with the one currently running, and if they are different, ''pandora_update'' stops the EndPoint, replaces the binary and restarts the EndPoint again using the new binary. 
 + 
 +2. エンドポイントは、pandora_update プラグインを実行します。このプラグインは、コレクションの短い名前をパラメータとして受け取ります(この例では ''fc_1'')。コレクションディレクトリ内のエンドポイントバイナリをスキャンし、現在動作しているものと比較します。違いがあれば、''pandora_update'' がエンドポイントを停止し、バイナリを置き換え、新しいバイナリを使ってエンドポイントを再起動します。 
 + 
 +To update different architectures you will need to set a different collection for each architecture. For example, if you want to update 32-bit and 64-bit Windows® EndPoint, you must create two collections and in each of them include the corresponding ''PandoraAgent.exe''  binary. 
 + 
 +異なるアーキテクチャのアップデートを行うには、それぞれ異なるコレクションを用意する必要があります。例えば、32bit および 64bit の Windows エンドポイントをアップデートする必要がある場合は、2つのコレクションを作成し、それぞれに対応した ''PandoraAgent.exe''  バイナリを含める必要があります。 
 + 
 +3. ''Pandora_update'' also writes to a small log the updated event, to be able to retrieve it on the next run and warn the user (by using an ''async_string''  Module) about the process EndPoint Update.
  
-異なるアキテクチャのアップデートうにそれぞれ異なるコレクションを用意す必要があります。例えば32bit および 64bit の Windows ージェントアップデートする必要がある場合は、2つのコレクションを作成、それぞれに対応した //PandoraAgent.exe//  バイナリを含める必要があります。+3. ''Pandora_update'' はまた、''async_string'' モジュ使ことよって次の実行タイミグでユーザに通知出せように、エンドポイントアップデートプロセスに関するアップデートイベトログ出力します。
  
-3Pandora_update はまた、async_string モジュールを使うことによって、次の実行タイミングでユーザに通知を出せるように、エージェントのアップデートプロセスに関するアップデートイベントログを出力します。+This implies that the Modules used to complete the update process may be configured to have a high interval.
  
 以下がアップデートプロセスで使うモジュールです。間隔は長めに設定します。 以下がアップデートプロセスで使うモジュールです。間隔は長めに設定します。
行 2808: 行 2843:
  
 <code> <code>
- module_begin +  module_begin 
- module_name Pandora_Update +  module_name Pandora_Update 
- module_type async_string +  module_type async_string 
- module_interval 20 +  module_interval 20 
- module_exec nohup /etc/pandora/plugins/pandora_update fc_1 2> /dev/null && tail -1 nohup.out 2> /dev/null +  module_exec nohup /etc/pandora/plugins/pandora_update fc_1 2> /dev/null && tail -1 nohup.out 2> /dev/null 
- module_description Module to check new version of pandora agent and update itself +  module_description Module to check new version of pandora EndPoint and update itself 
- module_end +  module_end
 </code> </code>
  
行 2821: 行 2855:
  
 <code> <code>
- module_begin +  module_begin 
- module_name Pandora_Update +  module_name Pandora_Update 
- module_type async_string +  module_type async_string 
- module_interval 20 +  module_interval 20 
- module_exec nohup /var/opt/PandoraFMS/etc/pandora/plugins/pandora_update fc_1 /var/opt/PandoraFMS 2> /dev/null && tail -1 nohup.out 2> /dev/null +  module_exec nohup /var/opt/PandoraFMS/etc/pandora/plugins/pandora_update fc_1 /var/opt/PandoraFMS 2> /dev/null && tail -1 nohup.out 2> /dev/null 
- module_description Module to check new version of pandora agent and update itself +  module_description Module to check new version of pandora EndPoint and update itself 
- module_end +  module_end
 </code> </code>
  
-<WRAP center round tip 60%>+<WRAP center round tip 90%>
  
-The ''pandora_update'' command accepts the path of the Pandora FMS installation directory as a second parameter; it is unnecessary to specify it if the installation was done in the default path.+The ''pandora_update''  command accepts the path of the Pandora FMS installation directory as a second parameter; it is unnecessary to specify it if the installation was done in the default path.
  
 </WRAP> </WRAP>
  
-<WRAP center round tip 60%>+<WRAP center round tip 90%>
  
 ''pandora_update'' コマンドの 2つ目のパラメータは、Pandora FMS のインストールパスです。このパラメータは、デフォルトのパスにインストールした際は不要です。 ''pandora_update'' コマンドの 2つ目のパラメータは、Pandora FMS のインストールパスです。このパラメータは、デフォルトのパスにインストールした際は不要です。
行 2843: 行 2876:
 </WRAP> </WRAP>
  
-**Windows**+**MS Windows®** 
  
 <code> <code>
- module_begin +  module_begin 
- module_name Pandora_Update +  module_name Pandora_Update 
- module_type async_string +  module_type async_string 
- module_interval 20 +  module_interval 20 
- module_exec pandora_update.exe fc_1 +  module_exec pandora_update.exe fc_1 
- module_description Module to check new version of pandora agent and update itself +  module_description Module to check new version of pandora EndPoint and update itself 
- module_end +  module_end
 </code> </code>
  
  • ja/documentation/pandorafms/installation/05_configuration_agents.1751964149.txt.gz
  • 最終更新: 2025/07/08 08:42
  • by junichi