ja:documentation:pandorafms:technical_reference:03_anexo_cli

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2024/03/30 23:47] – [--create_network_module] junichija:documentation:pandorafms:technical_reference:03_anexo_cli [2024/03/31 06:29] (現在) – [--create_plugin_module] junichi
行 1983: 行 1983:
 ==== --create_snmp_module ==== ==== --create_snmp_module ====
  
-**Parameters:** <module_name> <module_type> <agent_name> <module_address> <module_port> <version> [<community> <oid> <description> <module_group> <min> <max> <post_process> <interval> <warning_min> <warning_max> <critical_min> <critical_max> <history_data> <snmp3_priv_method> <snmp3_priv_pass> <snmp3_sec_level> <snmp3_auth_method> <snmp3_auth_user> <snmp3_auth_pass> <ff_threshold> <warning_str> <critical_str> <unknown_events> <each_ff> <ff_threshold_normal> <ff_threshold_warning> <ff_threshold_critical> <timeout> <retries> <use_alias>]+**Required parameters**:
  
-**オプションパラメータ:** <モジュール名> <モジュールタイプ> <エージェント名> <アドレス> <ポート番号> <SNMPバージョン> [<SNMPコミュニティ名> <oid> <説明> <モジュールグループ> <最小値> <最大値> <初期データ> <間隔> <警告状態の最小値> <警告状態の最大値> <障害状態の最小値> <障害状態の最大値> <データの保存> <SNMPv3の暗号化方式> <SNMPv3の暗号化パスワード> <SNMPv3のセキュリティレベル> <SNMPv3の認証方式> <SNMPv3の認証ユーザ> <SNMPv3のの認証パスワード> <連続抑制回数> <警告文字列> <障害文字列> <不明イベントの有効化> <個別状態変化の利用> <正常移行時連続抑制回数> <警告移行時連続抑制回数> <障害移行時連続抑制回数> <タイムアウト> <リトライ> <エージェントの別名利用>]+**必須パラメータ**: 
 + 
 +  < module_name > 
 +  * < module_type > 
 +  * < agent_name > 
 +  * < module_address > 
 +  * < module_port > 
 +  * < version > 
 + 
 +  * <モジュール名> 
 +  * <モジュールタイプ> 
 +  * <エージェント名> 
 +  * <アドレス> 
 +  * <ポート番号> 
 +  * <SNMPバージョン> 
 + 
 +**Optional parameters**: 
 + 
 +**オプションパラメータ**: 
 + 
 +  * < community > 
 +  * < oid > 
 +  * < description > 
 +  * < module_group > 
 +  * < min > 
 +  * < max > 
 +  * < post_process > 
 +  * < interval > 
 +  * < warning_min > 
 +  * < warning_max > 
 +  * < critical_min > 
 +  * < critical_max > 
 +  * < history_data > 
 +  * < snmp3_priv_method > 
 +  * < snmp3_priv_pass > 
 +  * < snmp3_sec_level > 
 +  * < snmp3_auth_method > 
 +  * < snmp3_auth_user > 
 +  * < snmp3_auth_pass > 
 +  * < ff_threshold> 
 +  * < warning_str > 
 +  * < critical_str > 
 +  * < unknown_events > 
 +  * < each_ff > 
 +  * < ff_threshold_normal > 
 +  * < ff_threshold_warning > 
 +  * < ff_threshold_critical > 
 +  * < timeout > 
 +  * < retries > 
 +  * ''use_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. 
 +  * < critical_instructions > 
 +  * < warning_instructions > 
 +  * < unknown_instructions > 
 +  * < warning_inverse > 
 +  * < critical_inverse > 
 +  * < 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. 
 + 
 +  * <SNMPコミュニティ名> 
 +  * <oid> 
 +  * <説明> 
 +  * <モジュールグループ> 
 +  * <最小値> 
 +  * <最大値> 
 +  * <保存倍率> 
 +  * <間隔> 
 +  * <警告状態の最小値> 
 +  * <警告状態の最大値> 
 +  * <障害状態の最小値> 
 +  * <障害状態の最大値> 
 +  * <データの保存> 
 +  * <SNMPv3の暗号化方式> 
 +  * <SNMPv3の暗号化パスワード> 
 +  * <SNMPv3のセキュリティレベル> 
 +  * <SNMPv3の認証方式> 
 +  * <SNMPv3の認証ユーザ> 
 +  * <SNMPv3のの認証パスワード> 
 +  * <連続抑制回数> 
 +  * <警告文字列> 
 +  * <障害文字列> 
 +  * <不明イベントの有効化> 
 +  * <個別状態変化の利用> 
 +  * <正常移行時連続抑制回数> 
 +  * <警告移行時連続抑制回数> 
 +  * <障害移行時連続抑制回数> 
 +  * <タイムアウト> 
 +  * <リトライ> 
 +  * ''use_alias'' 名前ではなく別名でエージェントを検索します。 
 +  * ''ignore_unknown'': 不明な状態計算を行わず、モジュールがそ状態に変更されることはなく、常に最後の既知の状態を保持します。 
 +  * <障害手順> 
 +  * <警告手順> 
 +  * <不明手順> 
 +  * <警告の反転> 
 +  * <障害の反転> 
 +  * < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。 
 + 
 +**Description**: An SNMP type module 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 SNMP version specified. Optionally, a community name, OID, description, module group, minimum and maximum values, post processing value, interval in seconds, minimum and maximum warning values, minimum and maximum criticality values, and SNMP 3 parameters such as methods, passwords, etc. can be provided.
  
 **説明:** エージェントに指定したモジュール名モジュールのタイプで、アドレス、ポート番号、SNMP バージョンを指定した snmp のモジュールが作成されます。オプションで、コミュニティ、OID、説明、モジュールグループ、最小および最大値、初期データ、秒単位の間隔、障害と判断する最小および最大値、保存データ、また、snmp3 のメソッドやパスワードなどを指定できます。 **説明:** エージェントに指定したモジュール名モジュールのタイプで、アドレス、ポート番号、SNMP バージョンを指定した snmp のモジュールが作成されます。オプションで、コミュニティ、OID、説明、モジュールグループ、最小および最大値、初期データ、秒単位の間隔、障害と判断する最小および最大値、保存データ、また、snmp3 のメソッドやパスワードなどを指定できます。
  
-最小、最大、保存データおよび、初期データのデフォルト値は で、間隔は 300です。+The default values are ''0'' for minimum and maximum, ''history_data'' and ''post_process'' and 300 seconds for the interval.
  
-**実行例:**+最小、最大、データの保存および、保存倍率のデフォルト値は ''0'' で、間隔のデフォルト値は ''300'' です。
  
-<code> +**Example (see [[#pandora_fms_cli|call]] and [[#syntax|syntax]]):** 
-perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_snmp_module 'My module' remote_snmp_inc 'My agent' 192.168.12.123 8080 1 mycommunity myoid 'Module description'+ 
 +**例 ([[#pandora_fms_cli|呼び出し]]および[[#書式|書式]] を参照):** 
 + 
 +Simple example for state scaling: 
 + 
 +状態スケーリングの簡単な例: 
 + 
 +<code bash
 +pandora_manage /etc/pandora/pandora_server.conf --create_snmp_module snmp_module_test remote_snmp_inc 3f9c41953a072afa229aa0a7fe3a6203a1ecf86b40b8a13d8a7d9916f0210bb1 127.0.0.1 "1" "3" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" 2001 
 +</code> 
 + 
 +Another example: 
 + 
 +他の例: 
 + 
 +<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --create_snmp_module 'My module' remote_snmp_inc 'My agent' 192.168.12.123 8080 1 my_comunnity my_oid 'Module description'
  
 </code> </code>
行 2000: 行 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.
  
-  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+**説明**: //プラグイン// タイプのモジュールは、モジュール名、モジュールタイプ、作成されるエージェントの名前、モジュールアドレス、関連付けられたポート、および対応するプラグイン名を指定してエージェント内に作成されます。 オプションで、説明、モジュールグループ、最小値と最大値、保存倍率、秒単位の間隔、警告の最小と最大値、障害の最小と最大値、その他のオプションの値を指定できます。 
 + 
 +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 
 + 
 +</code>
  
 ==== --get_module_group ==== ==== --get_module_group ====
  • ja/documentation/pandorafms/technical_reference/03_anexo_cli.1711842476.txt.gz
  • 最終更新: 2024/03/30 23:47
  • by junichi