ja:documentation:pandorafms:technical_reference:03_anexo_cli

差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2023/11/15 04:37] – 作成 - 外部編集 127.0.0.1ja:documentation:pandorafms:technical_reference:03_anexo_cli [2024/03/31 06:29] (現在) – [--create_plugin_module] junichi
行 1: 行 1:
 ====== Pandora FMS のコマンドラインインタフェース (CLI) ======  ====== Pandora FMS のコマンドラインインタフェース (CLI) ====== 
 +
 {{indexmenu_n>3}} {{indexmenu_n>3}}
  
行 129: 行 130:
 ==== --create_agent ==== ==== --create_agent ====
  
-**Mandatory parameters:**+**Required parameters ([[#syntax|syntax]])**:
  
-**必須パラメータ:**+**必須パラメータ ([[#書式|書式]])**:
  
-   * < agent_name > +  * < agent name Returns error if the name exists (see alias as name >)
-  * operating_system> +  * < operating system >  
-      * It can be omitted by means of two single quotation marks together+  * < group name Must match an existing OS (case insensitive) otherwise it will be registered without any group. 
-  * < group_name +  < server name > Be case sensitive, otherwise the value of the field will be left null //without any warning//. **You must verify that the agent has been assigned to a server.**
-  * < server_name +
-      * Be case sensitive, //otherwise the field value will be left null without warning//. **Make sure that the agent has been assigned to a server.**+
  
-  * < エージェント名 >+  * < エージェント名 > 名前がすでに存在する場合はエラーを返します。( < 別名を名前にする > を参照)
   * < OS >   * < OS >
-    2つのシングルクォーテションを使うこで省略可能です。 +  グループ名 > 登録済の OS 一致る必要があります (大文字と小文字は区別されません)そうでない場合は、グループなしで登録されます。 
-  * < グループ名 > +  * < サーバ名> 大文字と小文字を区別します。一致しないと、フィールド値は警告なしに null のままになります。 **エージェントがサーバに割り当てられていることを確認してください。**
-  * < サーバ名> +
-    * 大文字と小文字を区別します。//一致しないと、フィールド値は警告なしに null のままになります//。 **エージェントがサーバに割り当てられていることを確認してください。**+
  
 **Optional parameters:** **Optional parameters:**
行 151: 行 148:
 **オプションパラメータ:** **オプションパラメータ:**
  
-  * < address IP or URL> +  * < IP address or URL > 
-  * < description > +  * < description > If you omit the description ''Created by < server name >'' will be added (regardless of whether the specified server exists or not)
-      * If you omit the description it will be added ''Created by < server_name >''+  * < interval > In seconds, default value: 300. 
-  * < interval > +  * < alias as name > The default value is ''1'' and with this value the agent alias will be the same as the agent name. If you want the name to be randomly generated, use ''0''.
-  * < alias as name >+
  
   * < IPアドレスまたは URL >   * < IPアドレスまたは URL >
-  * < 説明 > +  * < 説明 > 記述を省略した場合は ''Created by <サーバ名>'' が追加されます(指定したサーバの存在の有無に関係ありません)。 
-    * 説明を省略すると、''Created by < サーバ名 >'' となります。 +  * < 間隔 > 秒単位、デフォルト値: 300。 
-  * < 間隔 > +  * < 別名を名前にする > デフォルト値は ''1'' で、この値を使用すると、エージェントの別名はエージェント名と同じになります。名前をランダムに生成したい場合は、''0'' を使用します。
-  * < 別名を名前にする >+
  
 **Description:** **Description:**
行 167: 行 162:
 **説明:** **説明:**
  
-An agent with the name, the operating system, the group and the server specified will be created. Optionally, it will be possible to give it an address ( IP addres or name), a description and an interval in seconds (by default 300).+An agent will be created with the specified name, operating system, group and server. Optionally, it can be given an address (IP address or name), a description and an interval in seconds.
  
-指定された名前、オペレーティングシステム、グループ名、サーバ名のエージェントを作成します。オプションで、アドレス(IPアドレスもしくFQDN)、説明、間隔(単位は秒。デフォルトは300)を指定することもできます。 +指定された名前、オペレーティングシステム、グループ名、サーバ名のエージェントを作成します。オプションで、アドレス (IP アドレスまた名前)、説明、秒単位の間隔を指定できます。
  
-The parameter < alias as name > is set to ''1''  by default and, with that value, the alias will be the same as the agent name. If you want the name to be generated randomly this parameter must be set to ''0''. If any of the first three optional parameters are to be omitted, use single quotation marks together for each omission.+**Example (see [[#pandora_fms_cli|call]] and [[#syntax|syntax]]):**
  
-< 別名を名前にする > はデフォルトで 1 に設定されます。この場合、別名はエージェント名と同じ値になります。ランダムに生成した値にしたい場合は、このパラメータを 0 に設定します。 +**例 ( [[#pandora_fms_cli|呼び出し]] および [[#書式|書式]] を参照):**
- +
-**Example (see [[:en:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|call]] and [[:en:documentation:08_technical_reference:03_anexo_cli#syntax|syntax]]):** +
- +
-**例 ( [[:ja:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|呼び出し]] および [[:ja:documentation:08_technical_reference:03_anexo_cli#書式|書式]] を参照):**+
  
 <code bash> <code bash>
行 183: 行 174:
     'My agent' AIX Databases Central-Server \     'My agent' AIX Databases Central-Server \
     192.168.12.123 'Agent description' '' 0     192.168.12.123 'Agent description' '' 0
- 
  
 </code> </code>
行 1626: 行 1616:
   - < warning_instructions >   - < warning_instructions >
   - < unknown_instructions >   - < unknown_instructions >
-  - ''use_agent_alias''+  - ''use_agent_alias'': For the agent search use the agent alias instead of the agent 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.
  
   - < 説明 >   - < 説明 >
行 1654: 行 1646:
   - < 警告手順 >   - < 警告手順 >
   - < 不明手順 >   - < 不明手順 >
-  - ''use_agent_alias'' (エージェントの名の)+  - ''use_agent_alias'' エージェントの検索に、エージェント名の代わりにエージェントの別名を使します。 
 +  - ''ignore_unknown'': 不明な状態の計算を行わず、モジュールがその状態に変更されることはなく、常に最後の既知の状態を保持します。 
 +  - < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。
  
 **Description:**  A module kind data will be created in an agent with the module name, kind of module and name of the agent where it will be created. Optionally it will be possible to give a description, the module group, etc. **Description:**  A module kind data will be created in an agent with the module name, kind of module and name of the agent where it will be created. Optionally it will be possible to give a description, the module group, etc.
行 1660: 行 1654:
 **説明:** モジュール名、モジュールの種類、および作成されるエージェントの名前を指定して、エージェントにデータサーバモジュールを作成します。 必要に応じて、説明、モジュール グループなどを指定できます。 **説明:** モジュール名、モジュールの種類、および作成されるエージェントの名前を指定して、エージェントにデータサーバモジュールを作成します。 必要に応じて、説明、モジュール グループなどを指定できます。
  
-The module definition file will contain some like this:+The default values are ''0'' for the minimum and maximum values, history_data and post_process; ''300'' for 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_data_module data_module_test generic_data 3f9c41953a072afa229aa0a7fe3a6203a1ecf86b40b8a13d8a7d9916f0210bb1 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" 2001 
 +</code> 
 + 
 +Complex example, the module definition file will contain something like this: 
 + 
 +複雑な例では、モジュール定義ファイルには次のような内容が含まれます。
  
 <code> <code>
 +
 module_begin module_begin
 module_name My module module_name My module
行 1673: 行 1684:
 </code> </code>
  
-The default values are ''0''  for the minimum and maximum, history_data and post_process; ''300''  for the interval. +<code bash>
- +
-最小値、最大値、データの保存、および保存倍率のデフォルト値は ''0'' で、間隔のデフォルトは ''300'' です。 +
- +
-**Example (see [[:en:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|call]] and [[:en:documentation:08_technical_reference:03_anexo_cli#syntax|syntax]]):** +
- +
-**例 ([[:ja:documentation:08_technical_reference:03_anexo_cli#pandora_fms_cli|呼び出し]]および[[:ja:documentation:08_technical_reference:03_anexo_cli#書式|書式]] を参照):** +
- +
-<file>+
  
 pandora_manage /etc/pandora/pandora_server.conf --create_data_module 'My module' generic_data 'My agent' 'Module description' 'General' 1 3 0 300 0 0 0 0 1 /home/user/definition_file 'warning text' 'critical text' pandora_manage /etc/pandora/pandora_server.conf --create_data_module 'My module' generic_data 'My agent' 'Module description' 'General' 1 3 0 300 0 0 0 0 1 /home/user/definition_file 'warning text' 'critical text'
  
-</file>+</code>
  
 <WRAP center round info 60%> <WRAP center round info 60%>
行 1701: 行 1704:
 ==== --create_web_module ==== ==== --create_web_module ====
  
-**オプションパラメータ:** <モジュール名> <モジュールの種類> <エージェント名> [<説明> <モジュールグループ> <最小値> <最大値> <倍率> <間隔> <警告状態の最小値> <警告状態の最大値> <障害状態の最小値> <障害状態の最大値> <保存データ> <再実行> <リクエスト> <エージェントブラウザID> <認証サーバ> <認証レルム> <ファイル定義> <プロキシURL> <プロキシログイン名> <プロキシパスワード> <警告文字列> <障害文字列> <不明イベントの有効化> <連続抑制回数> <個別状態変化の利用> <正常移行時連続抑制回数> <警告移行時連続抑制回数> <障害移行時連続抑制回数> <連続抑制タイムアウト> <警告判定の反転> <障害判定の反転> <障害手順> <警告手順> <不明手順><エーェント別名利用>+**Required parameters**: 
 + 
 +**必須パラメータ**: 
 + 
 +  < module_name > 
 +  * < module_kind > 
 +  * < agent_name > 
 + 
 +  * < モジュール名 > 
 +  * < モジュールの種類 > 
 +  * < エージェント名 > 
 + 
 +**Optional parameters**: 
 + 
 +**オプションパラメータ**: 
 + 
 +  - < description > 
 +  - < module_group > 
 +  - < min > 
 +  - < max > 
 +  - < post_process > 
 +  - < interval > 
 +  - < warning_min > 
 +  - < warning_max > 
 +  - < critical_min > 
 +  - < critical_max > 
 +  - < history_data > 
 +  - < retries > 
 +  - < requests > 
 +  - < agent_browser_id > 
 +  - < auth_server > 
 +  - < auth_realm > 
 +  - < definition_file > 
 +  - < proxy_url > 
 +  - < proxy_auth_login > 
 +  - < proxy_auth_password > 
 +  - < warning_str > 
 +  - < critical_str > 
 +  - < enable_unknown_events > 
 +  - < ff_threshold > 
 +  - < each_ff > 
 +  - < ff_threshold_normal > 
 +  - < ff_threshold_warning > 
 +  - < ff_threshold_critical > 
 +  - < ff_timeout > 
 +  - < warning_inverse > 
 +  - < critical_inverse > 
 +  - < critical_instructions > 
 +  - < warning_instructions > 
 +  - < unknown_instructions > 
 +  - < ''use_agent_alias'' >: For the agent search use the agent alias instead of the agent 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. 
 + 
 +  - <説明> 
 +  - <モジュールグループ> 
 +  - <最小値> 
 +  - <最大値> 
 +  - <倍率> 
 +  - <間隔> 
 +  - <警告状態の最小値> 
 +  - <警告状態の最大値> 
 +  - <障害状態の最小値> 
 +  - <障害状態の最大値> 
 +  - <保存データ> 
 +  - <再実行> 
 +  - <リクエスト> 
 +  - <エージェントブラウザID> 
 +  - <認証サーバ> 
 +  - <認証レルム> 
 +  - <ファイル定義> 
 +  - <プロキシURL> 
 +  - <プロキシログイン名> 
 +  - <プロキシパスワード> 
 +  - <警告文字列> 
 +  - <障害文字列> 
 +  - <不明イベントの有効化> 
 +  - <連続抑制回数> 
 +  - <個別状態変化の利用> 
 +  - <正常移行時連続抑制回数> 
 +  - <警告移行時連続抑制回数> 
 +  - <障害移行時連続抑制回数> 
 +  - <連続抑制タイムアウト> 
 +  - <警告判定の反転> 
 +  - <障害判定の反転> 
 +  - <障害手順> 
 +  - <警告手順> 
 +  - <不明手順> 
 +  - ''use_agent_alias''
 +  - ''ignore_unknown'': 不明な状態の計算を行わず、モュールがそ状態に変更されることはなく、常に最後既知の状態を保持します。 
 +  - < 警告状態に留まる回数 モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。 
 + 
 +**Description:** A web data module will be created in an agent with the module name, kind of module and name of the agent where it will be created  (see parameter ''use_agent_alias'') . Optionally it will be possible to give a description, the module group, min and max values, a post_process value, an interval in seconds, min and max warning values, min and max critical values, a history data value and one module definition file among others.
  
 **説明:** 指定のモジュール名、モジュールの種類で、指定のエージェントに Webモジュールが作成されます。オプションで、説明、モジュールグループ、最小値、最大値、初期値、秒単位の間隔、警告の最小・最大値、障害の最小・最大値、保存データおよび、モジュール定義ファイルなどを指定できます。 **説明:** 指定のモジュール名、モジュールの種類で、指定のエージェントに Webモジュールが作成されます。オプションで、説明、モジュールグループ、最小値、最大値、初期値、秒単位の間隔、警告の最小・最大値、障害の最小・最大値、保存データおよび、モジュール定義ファイルなどを指定できます。
  
-モジュール定義ファイルは次のような内容す。+**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_web_module web_module_test web_data 3f9c41953a072afa229aa0a7fe3a6203a1ecf86b40b8a13d8a7d9916f0210bb1 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" 2001 
 + 
 +</code> 
 + 
 +As a complex example, the module definition file will contain something like this: 
 + 
 +複雑な例として、モジュール定義ファイルは次のような内容が含まれます。
  
 <code> <code>
行 1711: 行 1821:
 get http://pandorafms.com get http://pandorafms.com
 task_end task_end
 +
 </code> </code>
  
-**例:**+<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --create_web_module 'module_name' web_data 'pandorafms' 'Module description' 'General' 0 100 0 300 0 0 0 0 1 0 1 'Pandora FMS' auto public /home/user/file_definition 'http://proxy.url' 'proxy_login' 'proxy_password' 1 10 10 10 10 10 10 10 10 1 1 'critical_instructions' 'warning_instructions' 'unknown_instructions'
  
-  perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_web_module 'nodule_name' web_data 'pandorafms' 'module_description' 'General' 0 100 0 300 0 0 0 0 1 0 1 'Pandora FMS' auto public /home/user/ficherodefinicion 'http://proxy.url' 'proxy_login' 'proxy_password' 1 10 10 10 10 10 10 10 10 1 1 'critical_instructions' 'warning_instructions' 'unknown_instructions'+</code>
  
 ==== --create_network_module ==== ==== --create_network_module ====
-**オプションパラメーター:** <モジュール名> <モジュールの種類> <エージェント名> <アドレス> [<ポート番号> <説明> <モジュールグループ> <最小値> <最大値> <初期データ> <間隔> <警告状態の最小値> <警告状態の最大値> <障害状態の最小値> <障害状態の最大値> <データの保存> <連続抑制回数> <警告文字列> <障害文字列> <不明イベントの有効化> <個別状態変化の利用> <正常移行時連続抑制回数> <警告移行時連続抑制回数> <障害移行時連続抑制回数> <障害手順> <警告手順> <不明手順>] <エージェントの別名の利用> 
  
-**説明:** +**Required parameters**:
  
-オプションパラメーターで指定したモジュール名、モジュールの種類、作成済みのエージェント名、指定されたアドレスでエージェントにネットワークモジュールを作成します。+**必須パラメータ**:
  
-最大値と最小値、保存データ、初期データのデフォルト値は0、間隔のデフォルト値は300です。+  * < module_name > 
 +  * < module_type > 
 +  * < agent_name > 
 +  * < module_address >
  
-ト番号はオプションで、モジュールの種類がICMPの場合は必要ありません。他のタイプでは、必要であれば指定します。+  * < モジュル名 > 
 +  * < モジュールの種類 
 +  * < エージェント名 > 
 +  * < アドレス >
  
-**注意:**+**Optional parameters**:
  
-以下のパラメータは、Pandora バージョン 5 およびそれ以降のみです。 +**オプションパラメータ**:
-  <不明イベントの有効化>+
  
-以下パラメタは、Pandora バジョン 5.1 およびそれ以降みです。+  * < module_port > numerical value between ''1'' and ''65535''
 +  * < 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 > 
 +  * < retries > 
 +  * < 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. 
 + 
 +  * <ポート番号> ''1'' から ''65535'' まで数値。 
 +  * <説明> 
 +  * <モジュルグルプ> 
 +  * <最小値> 
 +  * <最大値> 
 +  * <保存倍率> 
 +  * <間隔> 
 +  * <警告状態の最小値> 
 +  * <警告状態の最大値> 
 +  * <障害状態の最小値> 
 +  * <障害状態の最大値> 
 +  * <データの保存> 
 +  * <連続抑制回数> 
 +  * <警告文字列> 
 +  * <障害文字列> 
 +  * <不明イベ有効化>
   * <個別状態変化の利用>   * <個別状態変化の利用>
   * <正常移行時連続抑制回数>   * <正常移行時連続抑制回数>
   * <警告移行時連続抑制回数>   * <警告移行時連続抑制回数>
   * <障害移行時連続抑制回数>   * <障害移行時連続抑制回数>
 +  * <障害手順>
 +  * <警告手順>
 +  * <不明手順>
 +  * <警告の反転>
 +  * <障害の反転>
 +  * <エージェントの別名の利用>
 +  * < ''use_agent_alias'' > 名前ではなく別名でエージェントを検索します。
 +  * ''ignore_unknown'': 不明な状態の計算を行わず、モジュールがその状態に変更されることはなく、常に最後の既知の状態を保持します。
 +  * < 警告状態に留まる回数 > モジュールが警告状態に留まる連続間隔の最大数を指定することにより、状態のスケーリングを可能にします。 この値を超えると、モジュールは障害状態にエスカレートします。
  
-**実行例:**+**Description**: A network module will be created in an agent with the module name, module type, agent name where it will be created and the module address specified. Optionally, it can be given a port number, a description, minimum and maximum values, a post processing ' value, an interval in seconds, minimum and maximum warning values, minimum and maximum criticality values, and a historical data value.
  
-  perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_network_module 'My module' remote_tcp 'My agent' 192.168.12.123 8080 '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'' seconds for the interval. 
 + 
 +最大値、最小値、保存データ、保存倍率のデフォルト値は ''0'' 、間隔のデフォルト値は ''300'' です。 
 + 
 +The port number is optional, since ICMP type modules do not require it. For all other types, a module must be specified. 
 + 
 +ポート番号はオプションで、モジュールの種類がICMPの場合は必要ありません。他のタイプでは、必要であれば指定します。 
 + 
 +**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_network_module net_module_test remote_tcp 3f9c41953a072afa229aa0a7fe3a6203a1ecf86b40b8a13d8a7d9916f0210bb1 127.0.0.1 "1" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" 2001 
 +</code> 
 + 
 +Another example: 
 + 
 +他の例: 
 + 
 +<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --create_network_module 'My module' remote_tcp 'My agent' 192.168.12.123 8080 'Module description' 'General' 1 3 0 300 0 0 0 0 1 
 + 
 +</code>
  
 ==== --create_network_component ==== ==== --create_network_component ====
行 1783: 行 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>
行 1800: 行 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.1700023030.txt.gz
  • 最終更新: 2023/11/15 04:37
  • by 127.0.0.1