ja:documentation:pandorafms:technical_reference:03_anexo_cli

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2026/05/02 02:19] – [--update_special_day] junichija:documentation:pandorafms:technical_reference:03_anexo_cli [2026/07/24 21:28] (現在) – [--create_event] junichi
行 2546: 行 2546:
   * ''use_alias''   * ''use_alias''
  
-**Description:**  A module will be removed from an agent by passing the name of both as a parameter. In case this module is in a local agent, it will also be deleted from the configuration file if the Enterprise version is available. From version 771 on wards, the //descendants//  of the deleted module are deleted recursively.+**Description**A module will be removed from an agent by passing the name of both as a parameter (or with the agent's alias using ''use_alias''). In case this module is in a local agent, it will also be deleted from the configuration file. From version 771 on wards, the //descendants// of the deleted module are deleted recursively.
  
-**説明:** 両方の名前をパラメーターとして渡すことにより、エージェントからモジュールを削除します。このモジュールがローカルエージェントにある場合、Enterprise 版が利用可能であれば、設定ファイルからも削除されます。 バージョン 771 以降では、削除されたモジュールの //子// も再帰的に削除されます。+**説明:** 両方の名前(または ''use_alias'' を使用してエージェントの別名)をパラメーターとして渡すことにより、エージェントからモジュールを削除します。このモジュールがローカルエージェントにある場合、設定ファイルからも削除されます。 バージョン 771 以降では、削除されたモジュールの //子// も再帰的に削除されます。
  
 **Examples (see [[:en:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|call]] and [[:en:documentation:08_technical_reference:03_anexo_cli#syntax|syntax]]):** **Examples (see [[:en:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|call]] and [[:en:documentation:08_technical_reference:03_anexo_cli#syntax|syntax]]):**
行 3852: 行 3852:
 **オプションパラメータ**: **オプションパラメータ**:
  
-  Agent name. +  Agent name. 
-  Module name. +  - Agent'Module name. 
-  Event state  (''0''  if it **isn't**  validated, ''1'' if is validated and ''2'' in process). +  Event state (''0'' new event to be validated, ''1'' if is validated and ''2'' in process). In order to add the rest of the optional fields, one of these values must be specified
-  Severity: ''0''  (Maintenance), ''1''  (Informational), ''2''  (Normal), ''3''  (Warning), ''4''  (Critical), ''5''  (Minor) y ''6''  (Major). +  Severity: ''0'' (Maintenance), ''1'' (Informational), ''2'' (Normal), ''3'' (Warning), ''4'' (Critical), ''5'' (Minor) y ''6'' (Major). In order to add the rest of the optional fields, one of these values must be specified
-  * Template name in the case that is would be associated to one alert. +  - Name of the alert template in case the specified module is associated to an alert. 
-  User name. +  User name or ID user (''id_user'', other than the ''owner_user'' of the event). If the user name or ID user includes space(s) or any other extended characters, these characters should be //escaped//. A space is represented as ''<nowiki>&#x20;</nowiki>'' and ''<nowiki>&</nowiki>'' as ''<nowiki>&amp;</nowiki>'', etcétera
-  Comment. +  Comment. If the user name or identifier of the user making the comment includes spaces or any other extended characters, those characters should be //escaped//. A space is represented as ''<nowiki>&#x20;</nowiki>'' and ''<nowiki>&</nowiki>'' as ''<nowiki>&amp;</nowiki>'', et cetera (by Web Console will show the user name or user identifier //without escaping//, this is normal). It is recommended to use the user identifier as this is immutable and will always allow the user to be correctly identified
-  Source. +  Source, text field to indicate the origin of the event, keywords can be used
-  * Extra id+  - Additional identifier (<wrap :en>**Extra ID**</wrap>), in the event view it is used for additional grouping
-  Tags: Format should be < tag > < url >,< tag > < url > You can add multiple tags separated by commas. //It is important that there are no spaces between the comma and the next label.// +  - (Version 6.0 SP5 OUM 625 or earlier, issue 525) Tags: Format should be < tag > < url >,< tag > < url > You can add multiple tags separated by commas. //It is important that there are no spaces between the comma and the next label.// 
-  Custom data: Custom data should be entered as a JSON document. For example: ''{"Location": "Office", "Priority": 42}''  +  Custom data: Custom data should be entered as a JSON document. For example: ''<nowiki>{"Location": "Office", "Priority": 42}</nowiki>''. If the JSON is poorly structured an unhanded exception will be raised, it is recommended to use the **json_pp** command to check the JSON before creating the event
-  Force creation of agent (//bool//): If the agent name parameter refers to an agent that does not exist, it will be created. +  Force creation of agent (''0'' false, ''1'' true): If the agent name parameter refers to an agent that does not exist, it will be created (use null, two quotes together, in the module name and alert template name parameters). The alias of the new agent will be exactly the same name provided
-  Critical instructions: Add the instructions to be performed in the case of a critical condition +  Critical instructions: Add the instructions to be performed in the case of a critical condition. 
-  Warning instructions: Add the instructions to be performed in the case of a warning condition +  Warning instructions: Add the instructions to be performed in the case of a warning condition. 
-  Unknown instructions: Add the instructions to perform in case of going to unknown state +  Unknown instructions: Add the instructions to perform in case of going to unknown state. 
-  * Usar alias del agenteutilice textualmente ''use_alias''. //Se deben especificar dos comillas simples juntassin espacio entre ellassi utiliza el siguiente parámetro a continuación//. +  - Use agent aliasesuse textual ''use_alias''. //Two single quotes must be specified togetherwith no space between themif you use the following parameter below//. 
-  * **Metaconsole**Server identifier (Enterprise version only).+  **Command Center (Metaconsole)**Server identifier
 +  - Unused parameter; omit by enclosing it in single quotes (''<nowiki>''</nowiki>'' or ''<nowiki>""</nowiki>'')
 +  - Unused parameter; omit by enclosing it in single quotes (''<nowiki>''</nowiki>'' or ''<nowiki>""</nowiki>''). 
 +  - Unused parameter; omit by enclosing it in single quotes (''<nowiki>''</nowiki>'' or ''<nowiki>""</nowiki>''). 
 +  - Personalized event identifier. 
 +  - Default instructions.
  
-  エージェント名 +  エージェント名 
-  モジュール名 +  モジュール名 
-  イベントの状態 (''0'' 承諾*されていない*場合、''1'' 承諾済、''2'' 処理中) +  イベントの状態 (''0'' 承諾*されていない*場合、''1'' 承諾済、''2'' 処理中) 
-  重要度: ''0''  (メンテナンス), ''1''  (情報), ''2''  (正常), ''3''  (警告), ''4''  (障害), ''5''  (マイナー), ''6'' (メジャー) +  重要度: ''0''  (メンテナンス), ''1''  (情報), ''2''  (正常), ''3''  (警告), ''4''  (障害), ''5''  (マイナー), ''6'' (メジャー) 
-  アラートに関連付けるテンプレート名 +  アラートに関連付けるテンプレート名 
-  ユーザ名 +  ユーザ名 
-  コメント +  コメント 
-  ソース +  ソース 
-  拡張 ID +  拡張 ID 
-  タグ: フォーマットは < tag > < url >,< tag > < url > である必要があります。複数のタグをカンマ区切りで追加できます。 //カンマと次のラベルの間にスペースを入れないことが重要です。// +  タグ: フォーマットは < tag > < url >,< tag > < url > である必要があります。複数のタグをカンマ区切りで追加できます。 //カンマと次のラベルの間にスペースを入れないことが重要です。// 
-  カスタムデータ: カスタムデータは JSON形式で入力する必要があります。たとえば、'{"Location": "Office", "Priority": 42}' です。 +  カスタムデータ: カスタムデータは JSON形式で入力する必要があります。たとえば、''<nowiki>{"Location": "Office", "Priority": 42}</nowiki>'' です。 
-  強制エージェント作成(//bool//): エージェント名パラメータが存在しない場合に、エージェントを作成するかどうかです。 +  強制エージェント作成(//bool//): エージェント名パラメータが存在しない場合に、エージェントを作成するかどうかです。 
-  障害手順: 障害時の手順を追加します。 +  障害手順: 障害時の手順を追加します。 
-  警告手順: 警告時の手順を追加します。 +  警告手順: 警告時の手順を追加します。 
-  不明手順: 不明時の手順を追加します。 +  不明手順: 不明時の手順を追加します。 
-  別名の利用: エージェント名の代わりにの別名を利用する場合は ''use_alias'' を指定します。//別名はシングルクォーテーションで囲います。// +  別名の利用: エージェント名の代わりにの別名を利用する場合は ''use_alias'' を指定します。//別名はシングルクォーテーションで囲います。// 
-  * **メタコンソール: **サーバ ID (Enterprise 版のみ).+  **コマンドセンター(メタコンソール): **サーバ ID. 
 +  - 未使用のパラメータ。シングルクォーテーションで囲むことで省略できます(''<nowiki>''</nowiki>'' または ''<nowiki>""</nowiki>'')。 
 +  - 未使用のパラメータ。シングルクォーテーションで囲むことで省略できます(''<nowiki>''</nowiki>'' または ''<nowiki>""</nowiki>'')。 
 +  - 未使用のパラメータ。シングルクォーテーションで囲むことで省略できます(''<nowiki>''</nowiki>'' または ''<nowiki>""</nowiki>'')。 
 +  - パーソナライズされたイベント識別子。 
 +  - デフォルトの手順。 
  
 **Description**: **Description**:
  • ja/documentation/pandorafms/technical_reference/03_anexo_cli.1777688393.txt.gz
  • 最終更新: 2026/05/02 02:19
  • by junichi