| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:technical_reference:03_anexo_cli [2026/09/20 23:21] – [--get_alert_commands] junichi | ja:documentation:pandorafms:technical_reference:03_anexo_cli [2026/11/13 22:58] (現在) – [その他] junichi |
|---|
| |
| </code> | </code> |
| | |
| | ==== --locate_agent ==== |
| | |
| | **Mandatory parameter**: <agent_name> |
| | |
| | **必須パラメータ:** <エージェント名> |
| | |
| | **Optional parameter**: ''use_alias'' to search by agent alias. |
| | |
| | **オプションパラメータ**: エージェントの別名で検索するには ''use_alias'' を使用します。 |
| | |
| | **Description**: Searches for an agent in the nodes of a Command Center (Metaconsole) and returns the node identifier. |
| | |
| | **説明**: コマンドセンター(メタコンソール)の各ノードからエージェントを検索し、ノード ID を返します。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --locate_agent NAS use_alias |
| | </code> |
| | |
| | <wrap #ks3 /> |
| | |
| | |
| |
| ===== モジュール ===== | ===== モジュール ===== |
| **Optional parameters**: | **Optional parameters**: |
| |
| **オプションパラメータ*:: | **オプションパラメータ**: |
| |
| * <command_name> | * <command_name> |
| ==== --validate_alert ==== | ==== --validate_alert ==== |
| |
| **Parameters:** <template_name> <agent_id> <module_id> [ ''use_alias'' ] | **Mandatory parameters**: |
| |
| **オプションパラメータ:** <テンプレート名> <エージェントID> <モジュールID> [ ''use_alias'' ] | **必須パラメータ**: |
| |
| **Description:** Validate an alert given a template name, an agent ID and a module ID. Instead use only an agent ID you may use name agent with last parameter ''use_alias'' (maybe for validate multiple alerts). | * <alert_template_name> |
| | * <agent_id> |
| | * <module_id> |
| |
| **説明:** テンプレート名、エージェントID、モジュールIDを指定してアラートを承諾します。 最後のパラメータに ''use_alias'' を指定した場合は、エージェントIDの部分にエージェント名を使用できます(複数のアラート承諾に便利です)。 | * <アラートテンプレート名> |
| | * <エージェントID> |
| | * <モジュールID> |
| |
| **Example:** | **Optional parameters**: |
| |
| **実行例:** | **オプションパラメータ**: |
| |
| <code> | * ''use_alias'' if this option is used, the agent's alias must be placed instead of its identifier. |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --validate_alert 7 10 15 | |
| |
| | * ''use_alias'' このオプションを使用する場合、エージェントIDの代わりに別名を指定する必要があります。 |
| | |
| | **Description**: Validates an alert given an alert template name, an agent ID, and a module ID. |
| | |
| | **説明**: アラートテンプレート名、エージェントID、およびモジュールIDを指定して、アラートを承諾します。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | Assuming an alert is set on the agent that is installed by default with PFMS. |
| | |
| | PFMS にデフォルトでインストールされるエージェント上で、アラートが設定されていることを前提とします。 |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --validate_alert "Critical condition" pandora.internals 99 use_alias |
| </code> | </code> |
| | |
| | <wrap #ks4_15 /> |
| |
| ==== --validate_all_alerts ==== | ==== --validate_all_alerts ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメーター:** なし | **Parameters**: None. |
| |
| **説明:** 全てのアラートを承諾します。 | **パラメータ**: なし |
| |
| **実行例:** | **Description**: All alerts will be validated. |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --validate_all_alerts | **説明**: すべてのアラートを承諾します。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --validate_all_alerts |
| | </code> |
| | |
| | <wrap #ks4_16 /> |
| |
| ==== --create_special_day ==== | ==== --create_special_day ==== |
| ==== --set_event_storm_protection ==== | ==== --set_event_storm_protection ==== |
| |
| **Parameters:** <value> | **Mandatory parameters**: |
| |
| **オプションパラメーター:** <値> | **必須パラメータ**: |
| |
| **Description:** Enable (''1'') or disable (''0'') [[:en:documentation:04_using:01_alerts#cascade_protection|event storm protection]]. | * <value> ''1'' to enable, ''0'' to disable. |
| |
| **説明:** [[:ja:documentation:04_using/12_console_setup#一般設定|イベントストーム保護]] を有効化(''1'')または無効化(''0'')します。 | * <値> 有効にするには ''1''、無効にするには ''0'' |
| |
| **Example:** | **Optional parameters**: None. |
| |
| **実行例:** | **オプションパラメータ**: なし |
| |
| <code> | **Description**: Enables or disables the <wrap :en>**[[:en:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1|Event storm protection]]**</wrap> token. If it is enabled, no events or alerts will be generated while data (agent checks) are still being received. **Only use** ''1'' or ''0'', **any other value may produce unexpected results.** |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --set_event_storm_protection 1 | **説明**: **[[:ja:documentation:pandorafms:management_and_operation:12_console_setup#ks1_1|イベントストーム保護]]**機能を有効または無効にします。有効にすると、データ(エージェントチェック)の受信が続いている間は、イベントやアラートが生成されなくなります。設定値には ''1'' または ''0'' のみを指定してください。**それ以外の値を指定すると、予期しない動作を引き起こす可能性があります。** |
| |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --set_event_storm_protection 1 |
| </code> | </code> |
| | |
| | <wrap #ks5 /> |
| |
| ===== ユーザ ===== | ===== ユーザ ===== |
| |
| </code> | </code> |
| | |
| | ==== --create_tag ==== |
| | |
| | **Parameters:** <tag_name> <tag_description> [ <tag_url> ] [ <tag_email> ] |
| | |
| | **オプションパラメータ:** <タグ名> <タグの説明> [ <タグURL> ] [ <タグemail> ] |
| | |
| | **Description:** Create a new tag. Tag name and tag description are obligatory. |
| | |
| | **説明:** 新たなタグを作成します。タグ名とタグの説明は必須です。 |
| | |
| | **Example:** |
| | |
| | **実行例:** |
| | |
| | <code> |
| | perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_tag 'New tag name' 'Your description' |
| | |
| | </code> |
| | |
| | <WRAP center round important 90%> |
| | |
| | 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 center round important 90%> |
| | |
| | 正しく実行するには、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> |
| | |
| | ==== --unlock_user ==== |
| | |
| | **Required parameter**: Identifier of the user to unlock. |
| | |
| | **必須パラメータ**: ロック解除するユーザの ID |
| | |
| | **Description**: Allows unlocking users who have violated the conditions of the //token// [[:en:documentation:pandorafms:cybersecurity:07_safety_functions#ks3|Number of blocked login attempts]]. |
| | |
| | **説明**: [[:ja:documentation:pandorafms:cybersecurity:07_safety_functions#ks3|ブロックするログイン試行回数]] の条件に違反したユーザのロックを解除できます。 |
| | |
| | **Examples (see the [[#ks1|call]] and its [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および、その[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --unlock_user admin |
| | </code> |
| | |
| | <wrap #ks6 /> |
| |
| ===== イベント ===== | ===== イベント ===== |
| |
| </file> | </file> |
| | |
| | ==== --check_vulnerabilities ==== |
| | |
| | **Required parameters**: |
| | |
| | **必須パラメータ**: |
| | |
| | * ''<software>''. |
| | * ''<version>''. |
| | |
| | **Optional parameter**: |
| | |
| | **オプションパラメータ**: |
| | |
| | * ''<os_version>'', filters vulnerabilities by operating system. |
| | |
| | * ''<os_version>'':オペレーティングシステムに基づいて脆弱性を絞り込みます。 |
| | |
| | **Description**: It allows you to list the [[:en:documentation:pandorafms:cybersecurity:30_vulnerabilities|vulnerabilities recorded by PFMS]]. |
| | |
| | **説明**: これにより、[[:ja:documentation:pandorafms:cybersecurity:30_vulnerabilities|PFMS に記録された脆弱性]]を一覧表示できます。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --check_vulnerabilities "curl" "7.61.1-34.el8" "Rocky Linux 9.4 (Blue Onyx)" |
| | </code> |
| |
| <wrap #ks10 /> | <wrap #ks10 /> |
| | |
| |
| ===== グラフ ===== | ===== グラフ ===== |
| |
| |
| ===== その他 ===== | |
| |
| |
| |
| ==== --locate_agent ==== | |
| |
| **Parameters:** <agent_name> [ ''use_alias'' ] . | |
| |
| **オプションパラメータ:** <エージェント名> [ ''user_alias'' ]] | |
| |
| **説明:** エージェントを管理しているノードIDを返します。 | |
| |
| **例:** | |
| |
| <code> | |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --locate_agent NAS | |
| |
| </code> | |
| |
| |
| |
| ==== --create_tag ==== | |
| |
| **Parameters:** <tag_name> <tag_description> [ <tag_url> ] [ <tag_email> ] | |
| |
| **オプションパラメータ:** <タグ名> <タグの説明> [ <タグURL> ] [ <タグemail> ] | |
| |
| **Description:** Create a new tag. Tag name and tag description are obligatory. | |
| |
| **説明:** 新たなタグを作成します。タグ名とタグの説明は必須です。 | |
| |
| **Example:** | |
| |
| **実行例:** | |
| |
| <code> | |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_tag 'New tag name' 'Your description' | |
| |
| </code> | |
| |
| <WRAP center round important 90%> | |
| |
| 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 center round important 90%> | |
| |
| 正しく実行するには、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> | |
| |
| ===== OBSOLETE ===== | ===== OBSOLETE ===== |