差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2025/08/15 22:01] – [--delete_cluster_agent] junichija:documentation:pandorafms:technical_reference:03_anexo_cli [2025/08/15 22:36] (現在) – [--parse_siem_log] junichi
行 2584: 行 2584:
  
 ==== --update_module ==== ==== --update_module ====
-**オプションパラメーター:** <モジュール名> <エージェント名> <更新フィールド> <新たな値> <エージェントの別名の利用> 
  
-**説明:** データモジュールの指定フィールドを更新します。モジュールタイプによって更新可能なフィールドは異なります。+**Required parameters**:
  
-設定可能なフィルドは次の通りです。+**必須パラメタ**:
  
-  * **共通**: module_name, agent_name, description, module_group, min, max, post_process, history_data(データの保存), interval, warning_min, warning_max, critical_min, critical_max, warning_str, critical_str, ff_threshold(連続抑制回数), each_ff(個別状態変化の利用), ff_threshold_normal(正常移行時連続抑制回数), ff_threshold_warning(警告移行時連続抑制回数), ff_threshold_critical(障害移行時連続抑制回数). critical_instructions, warning_instructions, unknown_instructions +  * module_name > 
-  * **データサーバモジュール**: ff_timeout(連続抑制タイムアウト) +  * < agent_name > 
-  * **ネットワークモジュール**: module_address, module_port +  * < field_to_change > 
-  * **SNMPモジュール**: module_address, module_port, version, community, oid, snmp3_priv_method, snmp3_priv_pass, snmp3_sec_level, snmp3_auth_method, snmp3_auth_user, snmp3_priv_pass +  * < new_value >
-  * **プラグインモジュール**: module_address, module_port, plugin_name, user, password, parameters+
  
-**実行例:**+  <モジュール名> 
 +  <エージェント名> 
 +  <更新フィールド> 
 +  <新たな値>
  
-  perl pandora_manage.pl /etc/pandora/pandora_server.conf --update_data_module 'Module name' 'Agent name' description 'New description'+**Optional parameter**: 
 + 
 +**オプションパラメータ**: 
 + 
 +  * ''use_alias''
 + 
 +**Description**: A given field of an existing module will be updated. The module type will be detected to allow updating the specific fields of each type. 
 + 
 +**説明**: 既存のモジュールの特定のフィールドが更新されます。モジュールの種類が検出され、各種類の特定のフィールドを更新できるようになります。 
 + 
 +<WRAP center round info 90%> 
 + 
 +EndPoints with remote configuration enabled may overwrite the changes made. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round info 90%> 
 + 
 +リモート設定が有効になっているエンドポイントでは、行われた変更が上書きされる可能性があります。 
 + 
 +</WRAP> 
 + 
 +The possible fields to be modified are: 
 + 
 +変更可能なフィールドは次の通りです。 
 + 
 +**Common to any module**: 
 + 
 +**全モジュールで共通**: 
 + 
 +  * ''module_name'' 
 +  * ''description'' 
 +  * ''module_group'' 
 +  * ''min'' 
 +  * ''max'' 
 +  * ''post_process'' 
 +  * ''history_data'' (should only be used ''1'' or ''0''). 
 +  * ''interval'' 
 +  * ''warning_min'' 
 +  * ''warning_max'' (must be greater than ''warning_min''). 
 +  * ''critical_min'' 
 +  * ''critical_max'' (must be greater than ''critical_min''). 
 +  * ''warning_str'' (not to be confused with ''warning_instructions''). 
 +  * ''critical_str'' (not to be confused with ''critical_instructions''). 
 +  * ''ff_threshold'' 
 +  * ''each_ff'' (integer numeric value used in plugins). 
 +  * ''ff_threshold_normal'' 
 +  * ''ff_threshold_warning'' 
 +  * ''ff_threshold_critical'' 
 +  * ''critical_instructions'' 
 +  * ''warning_instructions'' 
 +  * ''unknown_instructions'' 
 + 
 +  * ''module_name'' (モジュール名) 
 +  * ''description'' (説明) 
 +  * ''module_group'' (モジュールグループ) 
 +  * ''min'' (最小値) 
 +  * ''max'' (最大値) 
 +  * ''post_process'' (保存倍率) 
 +  * ''history_data'' (データの保存、''1'' または ''0''
 +  * ''interval'' (間隔) 
 +  * ''warning_min'' (警告最小値) 
 +  * ''warning_max'' (警告最大値、''warning_min''より大きい必要があります) 
 +  * ''critical_min'' (障害最小値) 
 +  * ''critical_max'' (障害最大値、''critical_min''より大きい必要があります) 
 +  * ''warning_str'' (警告文字列、''warning_instructions''と混同しないようにしてください) 
 +  * ''critical_str'' (障害文字列、''critical_instructions''と混同しないようにしてください) 
 +  * ''ff_threshold'' (連続抑制回数) 
 +  * ''each_ff'' (個別状態変化の利用、プラグインで利用される整数値) 
 +  * ''ff_threshold_normal'' (正常移行時連続抑制回数) 
 +  * ''ff_threshold_warning'' (警告移行時連続抑制回数) 
 +  * ''ff_threshold_critical'' (障害移行時連続抑制回数) 
 +  * ''critical_instructions'' (障害手順) 
 +  * ''warning_instructions'' (警告手順) 
 +  * ''unknown_instructions'' (不明手順) 
 + 
 +**For the data modules**: ''ff_timeout''
 + 
 +**データモジュール**: ''ff_timeout'' (連続抑制タイムアウト) 
 + 
 +**For the network modules**: ''module_address'', ''module_port'' 
 + 
 +**ネットワークモジュール**: ''module_address'' (アドレス), ''module_port'' (ポート番号) 
 + 
 +**For the SNMP modules**: 
 + 
 +**SNMP モジュール**: 
 + 
 +  * ''module_address'' 
 +  * ''module_port'' 
 +  * ''version'' 
 +  * ''community'' 
 +  * ''oid'' 
 +  * ''snmp3_priv_method'' 
 +  * ''snmp3_priv_pass'' 
 +  * ''snmp3_sec_level'' 
 +  * ''snmp3_auth_method'' 
 +  * ''snmp3_auth_user'' 
 +  * ''snmp3_priv_pass'' 
 + 
 +  * ''module_address'' (アドレス) 
 +  * ''module_port'' (ポート番号) 
 +  * ''version'' 
 +  * ''community'' 
 +  * ''oid'' 
 +  * ''snmp3_priv_method'' 
 +  * ''snmp3_priv_pass'' 
 +  * ''snmp3_sec_level'' 
 +  * ''snmp3_auth_method'' 
 +  * ''snmp3_auth_user'' 
 +  * ''snmp3_priv_pass'' 
 + 
 +**For the plugin modules**: 
 + 
 +**プラグインモジュール**: 
 + 
 +  * ''module_address'' 
 +  * ''module_port'' 
 +  * ''plugin_name'' 
 +  * ''user'' 
 +  * ''password'' 
 + 
 +  * ''module_address'' (アドレス) 
 +  * ''module_port'' (ポート番号) 
 +  * ''plugin_name'' 
 +  * ''user'' 
 +  * ''password'' 
 + 
 +**Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: 
 + 
 +**例 ([[#ks1|呼び出し]] および [[#ks1_1|書式]] を参照)**: 
 + 
 +<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --update_module "CPU load" "pandorafms agent" "description" "new description" 
 + 
 +</code> 
 + 
 +With the ''agent_name'' parameter you can **move** a module from one agent to another agent identified only by its **name**: 
 + 
 +''agent_name'' パラメータを使用すると、モジュールを **名前** のみで識別されるエージェントから別のエージェントに **移動** することができます。 
 + 
 +<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --update_module "last_events_24h" "pandora.internals" "agent_name" 4be5603649674274b9b7ba841118a876c2365f70667eb0da37badd498b6a4aa8 
 + 
 +</code>
  
 ==== --add_tag_to_module ==== ==== --add_tag_to_module ====
行 4819: 行 4964:
   * < ソースタイプ >: 指定されていない場合は、''syslog'' が使用されます。   * < ソースタイプ >: 指定されていない場合は、''syslog'' が使用されます。
  
-**Description**: It parses the given log and returns matching [[:en:documentation:pandorafms:monitoring:21_siem|SIEM]] decoders and rules.+**Description**: It parses the given log and returns matching [[:en:documentation:pandorafms:cybersecurity:21_siem|SIEM]] decoders and rules.
  
-**説明**: 指定されたログを解析し、一致する [[:ja:documentation:pandorafms:monitoring:21_siem|SIEM]] デコーダーとルールを返します。+**説明**: 指定されたログを解析し、一致する [[:ja:documentation:pandorafms:cybersecurity:21_siem|SIEM]] デコーダーとルールを返します。
  
 **Example (see [[#ks1|call]] and her [[#ks1_1|syntax]])**: **Example (see [[#ks1|call]] and her [[#ks1_1|syntax]])**:
行 4832: 行 4977:
 </code> </code>
  
-A valid SIEM license and the decoders and rules already loaded in the database are required for the CLI call to work. The result will always be what would be generated at the time it is evaluated. This call does not introduce new log entries in monitoring, nor does it generate [[:en:documentation:pandorafms:monitoring:21_siem#ks6|SIEM events]].+A valid SIEM license and the decoders and rules already loaded in the database are required for the CLI call to work. The result will always be what would be generated at the time it is evaluated. This call does not introduce new log entries in monitoring, nor does it generate [[:en:documentation:pandorafms:cybersecurity:21_siem#ks6|SIEM events]].
  
 CLI 呼び出しが機能するためには、有効な SIEM ライセンスと、データベースに既にロードされているデコーダーとルールが必要です。結果は、常に評価時に生成されるものと同じになります。この呼び出しによって監視に新しいログエントリが追加されたり、[[:ja:documentation:pandorafms:monitoring:21_siem#ks6|SIEM イベント]] が生成されたりすることはありません。 CLI 呼び出しが機能するためには、有効な SIEM ライセンスと、データベースに既にロードされているデコーダーとルールが必要です。結果は、常に評価時に生成されるものと同じになります。この呼び出しによって監視に新しいログエントリが追加されたり、[[:ja:documentation:pandorafms:monitoring:21_siem#ks6|SIEM イベント]] が生成されたりすることはありません。
行 5178: 行 5323:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-For it to be carried out correctly, the API configuration parameters will need to be filled in ''pandora_server.conf''  ([[:en:documentation:pandorafms:installation:04_configuration#ks2_1|configuration file elements]]) : ''console_api_url'' and ''console_api_pass'' ((If necessaryuse ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'')).+For this to be done correctly, the configuration parameter [[:en:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] of the API in ''pandora_server.conf'' must be filled.((If necessary use ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>''))
  
 </WRAP> </WRAP>
行 5184: 行 5329:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-正しく実行するには、API 設定パラメータを ''pandora_server.conf'' ([[:ja:documentation:pandorafms:installation:04_configuration#ks2_1|設定ファイルの要素]]) に入力する必要があります: ''console_api_url'' および ''console_api_pass'' ((必要に応じて、''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用))。+正しく実行するには、API 設定パラメータを ''pandora_server.conf'' ([[:ja:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]]) に入力する必要があります: ''console_api_url'' および ''console_api_pass'' ((必要に応じて、''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用))。
  
 </WRAP> </WRAP>
行 5307: 行 5452:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-For it to be carried out correctly, the API configuration parameters will need to be filled in ''pandora_server.conf''  ([[:en:documentation:pandorafms:installation:04_configuration#ks2_1|configuration file elements]]) : ''console_api_url'' and ''console_api_pass'' ((If necessaryuse ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'')).+For this to be done correctly, the configuration parameter [[:en:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] of the API in ''pandora_server.conf'' must be filled.((If necessary use ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>''))
  
 </WRAP> </WRAP>
行 5313: 行 5458:
 <WRAP center round important 90%> <WRAP center round important 90%>
  
-正しく実行するには、API 設定パラメータを ''pandora_server.conf'' ([[:ja:documentation:pandorafms:installation:04_configuration#ks2_1|設定ファイルの要素]]) に入力する必要があります: ''console_api_url'' および ''console_api_pass'' ((必要に応じて、''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用))。+正しく実行するには、API 設定パラメータを ''pandora_server.conf'' ([[:ja:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]]) に入力する必要があります: ''console_api_url'' および ''console_api_pass'' ((必要に応じて、''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用))。
  
 </WRAP> </WRAP>
  • ja/documentation/pandorafms/technical_reference/03_anexo_cli.1755295287.txt.gz
  • 最終更新: 2025/08/15 22:01
  • by junichi