ja:documentation:pandorafms:technical_reference:03_anexo_cli

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2024/03/31 06:17] – [--create_snmp_module] junichija:documentation:pandorafms:technical_reference:03_anexo_cli [2024/03/31 06:29] (現在) – [--create_plugin_module] junichi
行 2112: 行 2112:
 ==== --create_plugin_module ==== ==== --create_plugin_module ====
  
-**オプションパラメーター:** <モジュール名> <モジュールの種類> <エージェント名> <アドレス> <ポート番号> <プラグイン名> <ユーザ> <パスワード> <パラメーター> [<説明> <モジュールグループ> <最小値> <最大値> <初期データ> <間隔> <警告状態の最小値> <警告状態の最大値> <障害状態の最小値> <障害状態の最大値> <データの保存> <連続抑制回数> <警告文字列> <障害文字列> <不明イベントの有効化> <個別状態変化の利用> <正常移行時連続抑制回数> <警告移行時連続抑制回数> <障害移行時連続抑制回数> <障害手順> <警告手順> <不明手順>] <エージェントの別名の利用> +**Required parameters**:
  
-**説明:** アドレス、関連するポート、プグイン名を指定して、エージェントにプラグインモジュールを作成します。オプションで、説明、モジュールグループ、最小および最大値、初期データ、秒単位の間隔、警告と判断する最小および最大値、障害と判断する最小および最大値、保存データを指定できます。+**必須パータ**:
  
-最小、最大、保存データおよび初期データのデフォルトは 0で、間隔は 300 です。+  * < module_name > 
 +  * < module_type > 
 +  * < agent_name > 
 +  * < module_address > 
 +  * < module_port > numerical value between ''1'' and ''65535''
 +  * < plugin_name > 
 +  * < user > 
 +  * < password > 
 +  * < parameters >
  
-**注意:**+  <モジュール名> 
 +  <モジュールの種類> 
 +  <エージェント名> 
 +  <アドレス> 
 +  * <ポート番号> 
 +  * <プラグイン名> 
 +  * <ユーザ> 
 +  * <パスワード> 
 +  * <パラメーター>
  
-以下のパラメータは、Pandora バージョン 5 およびそれ以降のみです。 +**Parámetros opcionales**:
-  <不明イベントの有効化>+
  
-以下のパラメータは、Pandora バーン 5.1 およびそれ以降みです。+**オプションパラメータ**: 
 + 
 +  * < description > 
 +  * < module_group > 
 +  * < min > 
 +  * < max > 
 +  * < post_process > 
 +  * < interval > 
 +  * < warning_min > 
 +  * < warning_max > 
 +  * < critical_min > 
 +  * < critical_max > 
 +  * < history_data > 
 +  * < ff_threshold > 
 +  * < warning_str > 
 +  * < critical_str > 
 +  * < enable_unknown_events > 
 +  * < each_ff > 
 +  * < ff_threshold_normal > 
 +  * < ff_treshold_warning > 
 +  * < ff_threshold_critical > 
 +  * < timeout >  
 +  * < critical_instructions > 
 +  * < warning_instructions > 
 +  * < unknown_instructions > 
 +  * < warning_inverse > 
 +  * < critical_inverse >  
 +  * ''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. 
 +  * < 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. 
 + 
 +  * <説明> 
 +  * <モュールグループ> 
 +  * <最小値> 
 +  * <最大値> 
 +  * <保存倍率> 
 +  * <間隔> 
 +  * <警告状態の最小値> 
 +  * <警告状態の最大値> 
 +  * <障害状態の最小値> 
 +  * <障害状態の最大値> 
 +  * <データの保存> 
 +  * <連続抑制回数> 
 +  * <警告文字列> 
 +  * <障害文字列> 
 +  * <不明イベ有効化>
   * <個別状態変化の利用>   * <個別状態変化の利用>
   * <正常移行時連続抑制回数>   * <正常移行時連続抑制回数>
   * <警告移行時連続抑制回数>   * <警告移行時連続抑制回数>
   * <障害移行時連続抑制回数>   * <障害移行時連続抑制回数>
 +  * <障害手順>
 +  * <警告手順>
 +  * <不明手順>
 +  * <警告の反転>
 +  * <障害の反転> 
 +  * ''use_agent_alias'' 名前ではなく別名でエージェントを検索します。
 +  * ''ignore_unknown'': 不明な状態の計算を行わず、モジュールがその状態に変更されることはなく、常に最後の既知の状態を保持します。
 +  * < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。
 +
 +**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.
 +
 +**説明**: //プラグイン// タイプのモジュールは、モジュール名、モジュールタイプ、作成されるエージェントの名前、モジュールアドレス、関連付けられたポート、および対応するプラグイン名を指定してエージェント内に作成されます。 オプションで、説明、モジュールグループ、最小値と最大値、保存倍率、秒単位の間隔、警告の最小と最大値、障害の最小と最大値、その他のオプションの値を指定できます。
 +
 +The default values are ''0'' for minimum and maximum, ''history_data'' and ''post_process'' and ''300'' for the interval.
 +
 +最小、最大、データの保存および保存倍率のデフォルトは ''0'' で、間隔のデフォルトは ''300'' です。
 +
 +**Example (see [[#pandora_fms_cli|call]] and [[#syntax|syntax]]):**
 +
 +**例 ([[#pandora_fms_cli|呼び出し]]および[[#書式|書式]] を参照):**
 +
 +Simple example for state scaling:
 +
 +状態スケーリングの簡単な例:
 +
 +<code bash>
 +pandora_manage /etc/pandora/pandora_server.conf --create_plugin_module plugin_module_test generic_data 3f9c41953a072afa229aa0a7fe3a6203a1ecf86b40b8a13d8a7d9916f0210bb1 127.0.0.1 "1" "DNS Plugin" "admin" "pandora" "100" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" 2001
 +
 +</code>
 +
 +Another example:
 +
 +他の例:
  
-**実行例:**+<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --create_plugin_module 'My module' generic_data 'Mi agente' 192.168.12.123 8080 myplugin myuser mypass 'param1 param2 param3' 'Descripcion del modulo' 'General' 1 3 0 300 0 0 0 0 1
  
-  perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_plugin_module 'My module' generic_data 'My agent' 192.168.12.123 8080 myplugin myuser mypass 'param1 param2 param3' 'Module description' 'General' 1 3 0 300 0 0 0 0 1+</code>
  
 ==== --get_module_group ==== ==== --get_module_group ====
  • ja/documentation/pandorafms/technical_reference/03_anexo_cli.1711865835.txt.gz
  • 最終更新: 2024/03/31 06:17
  • by junichi