| 両方とも前のリビジョン 前のリビジョン | |
| ja:documentation:pandorafms:technical_reference:03_anexo_cli [2025/11/22 23:42] – [--create_plugin_module] junichi | ja:documentation:pandorafms:technical_reference:03_anexo_cli [2025/12/17 08:47] (現在) – [--create_plugin_module] junichi |
|---|
| ==== --create_plugin_module ==== | ==== --create_plugin_module ==== |
| |
| **Required parameters**: | **Required Parameters**: |
| |
| **必須パラメータ**: | **必須パラメータ**: |
| * < module_address > | * < module_address > |
| * < module_port > numerical value between ''1'' and ''65535''. | * < module_port > numerical value between ''1'' and ''65535''. |
| * < plugin_name > one of the registered (<wrap :en>**Management → Servers → Plugins**</wrap> menu). | * < plugin_name > one of the registered ones (menu <wrap :en>**Management → Servers → Plugins**</wrap>). |
| * < user > | * < user > |
| * < password > | * < password > |
| * <モジュールグループ> | * <モジュールグループ> |
| |
| **Parámetros opcionales**: | **Optional Parameters**: |
| |
| **オプションパラメータ**: | **オプションパラメータ**: |
| * < critical_inverse > | * < critical_inverse > |
| * ''use_agent_alias'' to search for the agent by its alias instead of its name. | * ''use_agent_alias'' to search for the agent by its alias instead of its name. |
| * ''ignore_unknown'' Discards the unknown state calculation, so that the module will never change to that state and will always keep the last known state. | * ''ignore_unknown'' Discards the calculation of unknown status, meaning the module will never switch to this status and will always retain the last known status. |
| * < number_of_intervals_in_warning > Allows state scaling by specifying the maximum number of consecutive intervals in which the module remains in warning state. If this value is exceeded, the module will escalate to critical status. | * < number_of_intervals_in_warning > Allows status escalation by specifying the maximum number of consecutive intervals in which the module remains in a warning status. If this value is exceeded, the module will escalate to a critical status. |
| |
| * <最小値> | * <最小値> |
| * < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。 | * < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。 |
| |
| **Description**: A module of type //plugin// will be created in an agent with the module name, module type, name of the agent where it will be created, the module address, the associated port and the corresponding plugin name. Optionally, a description, the module group, minimum and maximum values, a post processing value, an interval in seconds, minimum and maximum warning values, minimum and maximum criticality values, among other optional values, can be provided. | **Description**: A //plugin// type module will be created on an agent with the module name, module type, agent name where it will be created, the module address, the associated port, the corresponding //plugin// name, a description, the module group, and some minimum and maximum values, among other optional values. |
| |
| **説明**: //プラグイン// タイプのモジュールは、モジュール名、モジュールタイプ、作成されるエージェントの名前、モジュールアドレス、関連付けられたポート、および対応するプラグイン名を指定してエージェント内に作成されます。 オプションで、説明、モジュールグループ、最小値と最大値、保存倍率、秒単位の間隔、警告の最小と最大値、障害の最小と最大値、その他のオプションの値を指定できます。 | **説明**: //プラグイン// タイプのモジュールは、モジュール名、モジュールタイプ、作成されるエージェントの名前、モジュールアドレス、関連付けられたポート、および対応するプラグイン名を指定してエージェント内に作成されます。 オプションで、説明、モジュールグループ、最小値と最大値、保存倍率、秒単位の間隔、警告の最小と最大値、障害の最小と最大値、その他のオプションの値を指定できます。 |
| |
| The default values are ''0'' for minimum and maximum, ''history_data'' and ''post_process'' and ''300'' for the interval. | The default values are ''0'' for the minimum and maximum, ''history_data'' and ''post_process'' and ''300'' for the interval. |
| |
| 最小、最大、データの保存および保存倍率のデフォルトは ''0'' で、間隔のデフォルトは ''300'' です。 | 最小、最大、データの保存および保存倍率のデフォルトは ''0'' で、間隔のデフォルトは ''300'' です。 |
| </code> | </code> |
| |
| Simple example for status scaling: | Simple example for status escalation: |
| |
| 状態スケーリングの簡単な例: | 状態エスカレーションの簡単な例: |
| |
| <code bash> | <code bash> |
| 高度な例: | 高度な例: |
| |
| If a timeout needs to be set, each of the optional parameters must be explicitly passed with ''<nowiki>""</nowiki>'' so that the indicated position (in this case, the timeout) is correct: | If you need to set a //timeout// of ''30'', you must explicitly pass each of the optional parameters with ''<nowiki>""</nowiki>'' so that the indicated position (in this case, //timeout//) is correct: |
| |
| タイムアウトを設定する必要がある場合は、指定された位置 (この場合はタイムアウト) が正しくなるように、各オプションパラメータを ''<nowiki>""</nowiki>'' で明示的に渡す必要があります。 | タイムアウトを設定する必要がある場合 (以下の例では ''30'') は、指定された位置 (この場合はタイムアウト) が正しくなるように、各オプションパラメータを ''<nowiki>""</nowiki>'' で明示的に渡す必要があります。 |
| |
| <code bash> | <code bash> |