| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| ja:documentation:pandorafms:technical_reference:03_anexo_cli [2026/09/20 23:03] – [--create_alert_template] 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 /> |
| | |
| | |
| |
| ===== モジュール ===== | ===== モジュール ===== |
| |
| ==== --delete_alert_template ==== | ==== --delete_alert_template ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメーター:** <テンプレート名> | **Mandatory parameter**: <template_name> |
| |
| **説明:** アラートテンプレートを削除します。 | **必須パラメータ**: <テンプレート名> |
| |
| **実行例:** | **Optional parameters**: None. |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --delete_alert_template 'Template name' | **オプションパラメータ**: なし |
| | |
| | **Description**: An [[:en:documentation:pandorafms:management_and_operation:01_alerts#ks4_1|alert template]] will be deleted if it exists. |
| | |
| | **説明**: アラートテンプレートが存在する場合、削除されます。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --delete_alert_template "Critical condition" "" "" "" "" "" "" |
| | </code> |
| | |
| | <wrap #ks4_9 /> |
| |
| ==== --update_alert_template ==== | ==== --update_alert_template ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメーター:** <テンプレート名> <更新フィールド> <新たな値> | **Parameters**: |
| |
| **説明:** アラートテンプレートの指定したフィールドを更新します。指定可能なフィールドは、name, description, type, matches_value, value, min_value, max_value, time_threshold(0-1), time_from, time_to, monday(0-1), tuesday(0-1), wednesday(0-1), thursday(0-1), friday(0-1), saturday(0-1), sunday(0-1), min_alerts, max_alerts, recovery_notify(0-1), field1, field2, field3, recovery_field2, recovery_field3, priority(0-4), default_action, group_name です。 | * <template_name> |
| | * <field_to_update> |
| | * <new_value> |
| |
| **実行例:** | **パラメータ**: |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --update_alert_template 'Template name' priority 4 | * <テンプレート名> |
| | * <更新フィールド> |
| | * <新たな値> |
| | |
| | **Description**: A given field of an existing alert template will be updated. |
| | |
| | **説明**: 既存のアラートテンプレートの特定のフィールドが更新されます。 |
| | |
| | For <field_to_update> the possible fields are: |
| | |
| | <更新フィールド> に指定可能なフィールドは以下の通りです。 |
| | |
| | * ''name'' |
| | * ''description'' |
| | * ''type'' |
| | * ''matches_value'' |
| | * ''value'' |
| | * ''min_value'' |
| | * ''max_value'' |
| | * ''time_threshold'' (0-1) |
| | * ''time_from'' |
| | * ''time_to'' |
| | * ''monday'' (0-1) |
| | * ''tuesday'' (0-1) |
| | * ''wednesday'' (0-1) |
| | * ''thursday'' (0-1) |
| | * ''friday'' (0-1) |
| | * ''saturday'' (0-1) |
| | * ''sunday'' (0-1) |
| | * ''min_alerts'' |
| | * ''max_alerts'' |
| | * ''recovery_notify'' (0-1) |
| | * ''field_1'' |
| | * ''field_2'' |
| | * ''field_3'' |
| | * ''recovery_field_2'' |
| | * ''recovery_field_3'' |
| | * ''priority'' (0-4) |
| | * ''default_action'' |
| | * ''group_name'' |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --update_alert_template "Template name" "priority" "4" |
| | </code> |
| | |
| | <wrap #ks4_10 /> |
| |
| ==== --get_alert_actions ==== | ==== --get_alert_actions ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメータ:** [<action_name> <separator> <return_type>] | **Mandatory parameters**: None. |
| |
| **説明:**全アラートアクションを返します。オプションとして名前で結果をフィルタリングできます。オプションとして、2つ目のパラメータでセパレータを指定し、3つ目のパラメータで出力形式(csv, json, string)を指定できます。 | **必須パラメータ**: なし |
| |
| **実行例:** | **Optional parameters**: |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --get_alert_actions 'Action 1' ';' 'json' | **オプションパラメータ**: |
| | |
| | * <action_name> |
| | * <separator> |
| | * <format> ''csv'' (default), ''json'', ''string'' |
| | |
| | * <アクション名> |
| | * <セパレータ> |
| | * <フォーマット> ''csv'' (デフォルト), ''json'', ''string'' |
| | |
| | **Description**: Returns all alert actions. Optionally, the result can be filtered by keyword. Optionally, the result separator can be specified in the second parameter and the format of the result in the third parameter. |
| | |
| | **説明**: すべてのアラートアクションを返します。必要に応じて、キーワードによる結果の絞り込みが可能です。また、第 2 引数で結果の区切り文字を、第 3 引数で結果の形式を指定することもできます。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.jim --get_alert_actions '%28' ';' csv |
| | </code> |
| |
| <WRAP center round important 90%> | <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>'')) | For it to be done correctly, the API configuration parameter [[:en:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] must be filled in ''pandora_server.conf''.((If necessary, use \\ ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'')) |
| |
| </WRAP> | </WRAP> |
| <WRAP center round important 90%> | <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>'' を使用))。 | 正しく動作させるには、''pandora_server.conf'' 内の API 設定パラメータ [[:ja:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] を設定する必要があります。((必要に応じて、\\ ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用してください)) |
| |
| </WRAP> | </WRAP> |
| | |
| | <wrap #ks4_11 /> |
| |
| ==== --get_alert_actions_meta ==== | ==== --get_alert_actions_meta ==== |
| (バージョン 5.0 以上) | |
| Template:メタコンソール | |
| |
| **オプションパラメータ:** [<server_name> <action_name> <separator> <return_type>] | <WRAP center round info 90%> |
| |
| **説明:** メタコンソールの全アラートアクションを返します。オプションとして、ノードの名前またはアクションの名前で結果をフィルタリングできます。オプションとして、2つ目のパラメータでセパレータを指定し、3つ目のパラメータで出力形式(csv, json, string)を指定できます。 | Only for the [[:en:documentation:pandorafms:command_center:01_introduction|Command Center]] (Metaconsole). |
| |
| **実行例:** | </WRAP> |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --get_alert_actions_meta 'Action 1' ';' 'json' | <WRAP center round info 90%> |
| | |
| | [[:ja:documentation:pandorafms:command_center:01_introduction|コマンドセンター]] (メタコンソール) のみ。 |
| | |
| | </WRAP> |
| | |
| | **Parameters**: |
| | |
| | **パラメータ**: |
| | |
| | * <server_name> |
| | * <action_name> |
| | * <separator> |
| | * <return_type> |
| | |
| | * <サーバ名> |
| | * <アクション名> |
| | * <セパレータ> |
| | * <戻り値タイプ> |
| | |
| | **Description**: Returns all alert actions of the Command Center (Metaconsole). Optionally, the result can be filtered by node name or by action name. In the second parameter, the result separator can be specified and in the third parameter, the format of the returned list (''csv'', ''json'', ''string''). |
| | |
| | **説明**: コマンドセンター(メタコンソール)のすべてのアラートアクションを返します。ノード名またはアクション名によるフィルタリングも可能です。第 2 引数で結果の区切り文字を、第 3 引数で戻り値のリスト形式('csv'、'json'、'string')を指定できます。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --get_alert_actions_meta 'Action 1' ';' 'json' |
| | </code> |
| |
| <WRAP center round important 90%> | <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>'')) | For it to be done correctly, the API configuration parameter [[:en:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] must be filled in ''pandora_server.conf''.((If necessary, use \\ ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'')) |
| |
| </WRAP> | </WRAP> |
| <WRAP center round important 90%> | <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>'' を使用))。 | 正しく動作させるには、''pandora_server.conf'' 内の API 設定パラメータ [[:ja:documentation:pandorafms:installation:04_configuration#console_api_url|console_api_url]] を設定する必要があります。((必要に応じて、\\ ''<nowiki>console_api_url http://127.0.0.1/pandora_console/include/api.php</nowiki>'' を使用してください)) |
| |
| </WRAP> | </WRAP> |
| | |
| | <wrap #ks4_12 /> |
| |
| ==== --create_alert_command ==== | ==== --create_alert_command ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメータ:** <name> <command> [<group name> <description> <internal> <field_description> <field_value>] | **Parameters**: |
| |
| **説明:** 指定の名前とコマンドデータで、コマンドが作成されます。オプションで以下を指定できます。 | **パラメータ**: |
| |
| * グループ名。指定しない場合は、'全て' グループに割り当てられます。 | * <command_name> |
| * コマンドの説明 | * <command> |
| * 内部 (1-0) | * <id_group> |
| * フィールドの説明。これは次のフォーマットです:\\ '["descr1","descr2","descr3","descr4","descr5"]'. | * <description> |
| * フィールドの値。これは次のフォーマットです: ["val1","val2","val3","val4","val5"]. | * <internal> |
| | * <fields_descriptions> |
| | * <fields_values> |
| |
| | * <コマンド名> |
| | * <コマンド> |
| | * <グループID> |
| | * <説明> |
| | * <内部> |
| | * <フィールド説明> |
| | * <フィールド値> |
| |
| **実行例:** | **Description**: A command will be created with the specified name and command data. |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_alert_command 'PRUEBA' 'command' 'All' 'Desc' '1' '["des1","des2","des3","","des5","","","","",""]' '["val1","val2","val3","val4","","","","","",""]' | **説明**: 指定された名前とコマンドデータを使用して、コマンドが作成されます。 |
| | |
| | Optionally, you can specify: |
| | |
| | 必要に応じて、以下を指定できます。 |
| | |
| | * Group name. If no group is provided, it will be assigned to the ''All'' group. |
| | * Command description. |
| | * Internal (1-0). |
| | * Field description in the following format: ''["description_1","descrip_2","descrip_3","descrip_4","descrip_5"]''. |
| | * Field values in the following format: ''["value_1","value_2","value_3","value_4","value_5"]''. |
| | |
| | * グループ名。グループが指定されていない場合は、''All'' グループに割り当てられます。 |
| | * コマンドの説明。 |
| | * 内部フラグ (1 または 0) |
| | * フィールドの説明(形式: `["description_1","descrip_2","descrip_3","descrip_4","descrip_5"]`) |
| | * フィールドの値(形式: `["value_1","value_2","value_3","value_4","value_5"]`) |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --create_alert_command \ |
| | 'Test' 'command' 'All' 'Desc' '1' \ |
| | '["des1","des2","des3","","des5","","","","",""]' \ |
| | '["val1","val2","val3","val4","","","","","",""]' |
| | </code> |
| | |
| | <wrap #ks4_13 /> |
| |
| ==== --get_alert_commands ==== | ==== --get_alert_commands ==== |
| (バージョン 5.0 以上) | |
| |
| **オプションパラメータ:** [<name> <command> <group name> <description> <internal>] | **Mandatory parameters**: None. |
| |
| **説明:** 全アラートを表示します。オプションとして、名前、コマンド、グループ、説明、内部かどうか(1-0)で結果をフィルタリングできます。名前、コマンド、説明でのフィルタでは、完全一致である必要はありません。 | **必須パラメータ**: なし |
| |
| **実行例:** | **Optional parameters**: |
| | |
| | **オプションパラメータ**: |
| | |
| | * <command_name> |
| | * <command_itself> |
| | * <group_name> |
| | * ''1'' to list commands for internal use in PFMS, ''0'' to list other commands. |
| | |
| | * <コマンド名> |
| | * <コマンド> |
| | * <グループ名> |
| | * PFMS の内部コマンドを一覧表示するには ''1''、その他のコマンドを一覧表示するには ''0'' を指定します。 |
| | |
| | **Description**: Allows seeing all the [[:en:documentation:pandorafms:management_and_operation:01_alerts#ks2_1|alert commands]]. Optionally, the result can be filtered by keyword in the following fields: command name, code executed by the alert command, group name, description, or whether it is for internal use. |
| | |
| | **説明**: すべての[[:ja:documentation:pandorafms:management_and_operation:01_alerts#ks2_1|アラートコマンド]]を表示できます。コマンド名、アラートコマンドによって実行されるコード、グループ名、説明、または内部使用かどうかの各フィールドについて、キーワードによるフィルタリングを行うことも可能です。 |
| | |
| | **Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: |
| | |
| | **例([[#ks1|呼び出し]]および[[#ks1_1|書式]]を参照)**: |
| | |
| | <code bash> |
| | pandora_manage /etc/pandora/pandora_server.conf \ |
| | --get_alert_commands "log" "echo" "" "0" |
| | </code> |
| | |
| | <WRAP center round info 90%> |
| | |
| | You cannot filter by agent group <wrap :en>**All**</wrap> since it is a [[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_2_2|system group]] that does not exist in the database. |
| | |
| | </WRAP> |
| | |
| | <WRAP center round info 90%> |
| | |
| | エージェントグループ **All** はデータベース上に存在しない[[:ja:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_2_2|システムグループ]]であるため、これによるフィルタリングはできません。 |
| | |
| | </WRAP> |
| |
| perl pandora_manage.pl /etc/pandora/pandora_server.conf --get_alert_commands "command_name" | <wrap #ks4_14 /> |
| |
| ==== --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 ===== |