ja:documentation:pandorafms:installation:05_configuration_agents

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:installation:05_configuration_agents [2024/08/18 07:19] – [module_advanced_options] junichija:documentation:pandorafms:installation:05_configuration_agents [2024/12/28 23:34] (現在) – [設定] junichi
行 142: 行 142:
 ==== debug ==== ==== debug ====
  
-有効化すると、エージェントのデファイルはテンポラリディレクトリ名前を変えて保存され、バへ送信も削除されません。XML ファイルを開いて内容確認することができます。+If it is active (''1''), a copy of the XML file sent by the agent to the server will be saved in the temporary directory and these will be stored, thus being able to open the XML files and analyze their content. 
 + 
 +有効化 (''1''すると、エージェントからサバーに送信された XML ファイルのコピーが一時ディレクトリに保存され、XML ファイルを開いてその内容を分析できるようになります。 
 + 
 +In Software Agents for MS Windows® a file called ''pandora_debug.log'' will be created with the result of the agent executions and the XML sending. 
 + 
 +MS Windows® 用のソフトウェアエジェントでは、エージェントの実行と XML 送信の結果が記録された ''pandora_debug.log'' いうファイルが作成されます。 
 + 
 +In Software Agents for GNU/Linux® the information described above will be added to the agent's own log file (''pandora_agent.log''). 
 + 
 +GNU/Linux® 用のソフトウェアエージェントでは、上記の情報がエージェント独自のログファイル (''pandora_agent.log'') に追加されます 
 + 
 +<WRAP center round important 90%> 
 + 
 +  * A Software agent with active remote configuration and with the ''debug'' mode active will not take the changes made in the agent configuration file in the Pandora FMS console. 
 +  * It is recommended to run the ''debug'' mode active for a short time as the XML remains stored and takes up space quickly. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%> 
 + 
 +  * リモート設定が有効で、''debug'' モードが有効なソフトウェアエージェントは、Pandora FMS コンソールのエージェント設定ファイルに加えられた変更受け入れません。 
 +  * XML は保存されたままになり、すぐにスペース占有するため、''debug'' モードを有効にしての実行は短時間にすることをお勧めします。 
 + 
 +</WRAP> 
 + 
 +<wrap #ks3_13 />
  
 ==== agent_name ==== ==== agent_name ====
行 440: 行 466:
 - 間隔値として ''once'' を指定することで、モジュールが 1 回だけ実行されるように設定できます。 - 間隔値として ''once'' を指定することで、モジュールが 1 回だけ実行されるように設定できます。
  
-==== max_log_size ==== 
  
-Only for MS Windows®: It limits the size (default value: 1 megabyte) of the log file. If this value is exceeded, the file will be renamed as ''pandora_agent.log.#.old'' where ''#'' will be a maximum numeric value established by the //token// [[#max_log_generation|max_log_generation]]. 
- 
-MS Windows® のみ: ログファイルのサイズを制限します (デフォルト値: 1 メガバイト)。この値を超えると、ファイル名は ''pandora_agent.log.#.old'' に変更されます。ここで、''#'' は //トークン// [[#max_log_generation|max_log_generation]] によって設定された最大数値になります。 
- 
-==== max_log_generation ==== 
- 
-Only for MS Windows®: A value between 1 and 9 (default 1) that indicates the maximum number of renaming of the ''pandora_agent.log'' file. Once this maximum is reached, the files will be rewritten in a cyclic way. 
- 
-MS Windows® のみ: 1 ~ 9 の値 (デフォルトは 1) で、''pandora_agent.log'' ファイルの名前変更の最大回数を示します。この最大値に達すると、ファイルは周期的に書き換えられます。 
  
 ===== セカンダリサーバ ===== ===== セカンダリサーバ =====
行 1300: 行 1316:
  
 Windows エージェントでのデータ取得のためのディレクティブは他にもあります。以下に示します。 Windows エージェントでのデータ取得のためのディレクティブは他にもあります。以下に示します。
 +
 +=== module_exec_powershell ===
 +
 +<WRAP center round info 60%>
 +
 +For MS Windows® only.
 +
 +</WRAP>
 +
 +<WRAP center round info 60%>
 +
 +MS Windows® のみ。
 +
 +</WRAP>
 +
 +<code>
 +module_exec_powershell <commands>
 +
 +</code>
 +
 +Allows you to perform [[:en:documentation:pandorafms:monitoring:02_operations#using_powershell_checks|native checks with PowerShell]].
 +
 +[[:ja:documentation:pandorafms:monitoring:02_operations#powershell_チェックの利用|PowerShell を使用したネイティブチェック]] を実行できます。
  
 === module_service === === module_service ===
行 2253: 行 2292:
 === 設定 === === 設定 ===
  
-   * **Agent Group**: You can keep it unchanged or force it to be a specific one. +  * **Agent Group**: You may keep it unchanged or force it to be a specific one. 
-   * **Secondary Groups**: The groups selected here will be added as secondary groups to the Agent. +  * **Secondary Groups**: The groups selected here will be added as secondary groups to the Agent. 
-   * **Policies**: You can select policies to be applied automatically when the Agent reaches the server. +  * **Configuration Block**: It adds the extra raw configuration to the Agent configuration file. 
-   * **Configuration Block**: Adds the extra raw configuration to the Agent configuration file.+  * **Policies**: You may select policies to be applied automatically when the Agent reaches the server. If there are several monitoring policies, you may specify a priority (zero by default) and the ones with the highest numerical value will be applied first (it is recommended to use singular values).
  
    * **エージェントグループ(Agent Group)**: 変更せずにそのままとするか、強制的に変更します。    * **エージェントグループ(Agent Group)**: 変更せずにそのままとするか、強制的に変更します。
    * **セカンダリグループ(Secondary Group)**: エージェントにセカンダリグループとして追加するグループを選択します。    * **セカンダリグループ(Secondary Group)**: エージェントにセカンダリグループとして追加するグループを選択します。
-   * **ポリシー(Policies)**: エージェントがサーバに接続してきたときに適用するポリシーを選択できます。 
    * **設定ブロック(Configuration Block)**: エージェントの設定ファイルに追加する設定内容です。    * **設定ブロック(Configuration Block)**: エージェントの設定ファイルに追加する設定内容です。
 +   * **ポリシー(Policies)**: エージェントがサーバに接続してきたときに適用するポリシーを選択できます。監視ポリシーが複数ある場合は、優先順位(デフォルトではゼロ)を指定すると、数値が最も高いポリシーが最初に適用されます(単数値を使用することをお勧めします)。
  
 <WRAP center round info 60%> <WRAP center round info 60%>
行 2353: 行 2392:
  
 起動スクリプトで Pandora FMS エージェントの起動・停止ができます。デフォルトでは起動後はデーモーンとして動作します。 起動スクリプトで Pandora FMS エージェントの起動・停止ができます。デフォルトでは起動後はデーモーンとして動作します。
 +
 +<wrap #ks8_3 />
  
 ==== 基本エージェントオプション ==== ==== 基本エージェントオプション ====
  • ja/documentation/pandorafms/installation/05_configuration_agents.1723965541.txt.gz
  • 最終更新: 2024/08/18 07:19
  • by junichi