ja:documentation:pandorafms:technical_reference:03_anexo_cli

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_reference:03_anexo_cli [2025/05/17 02:29] – [--exec_from_file] junichija:documentation:pandorafms:technical_reference:03_anexo_cli [2025/05/17 02:35] (現在) – [--start_snmptrapd] junichi
行 4698: 行 4698:
 Sentence to be executed (line connectors are included for didactic purposes): Sentence to be executed (line connectors are included for didactic purposes):
  
-実行される文(わかりやすいように複数行で書いています):+実行される内容 (わかりやすいように複数行で書いています):
  
 <code bash> <code bash>
行 4713: 行 4713:
 ==== --create_snmp_trap ==== ==== --create_snmp_trap ====
  
-**オプションパラメーター:** <ファイルパス> <名前> <OID> <説明> <重要度>+**Required parameters**:
  
-**名前**: snmp トラップコンソールで表示されます。+**必須パラメータ**:
  
-**OID**: SNMP トラップのメイン OID。+  < snmp_trap_name > As will be seen in the [[[:en:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMP traps console]]. 
 +  OID 
 +  < description > 
 +  < severity > Numeric value, one of the following values''0'' (<wrap :en>**Maintenance**</wrap>), ''1'' (<wrap :en>**Info**</wrap>) , ''2'' (<wrap :en>**Normal**</wrap>), ''3'' (<wrap :en>**Warning**</wrap>), ''4'' (<wrap :en>**Critical**</wrap>), ''5'' (<wrap :en>**Minor**</wrap>), ''6'' (<wrap :en>**Major**</wrap>).
  
-**重要度**: 次の値: 0(メンテナンス)、1(情報)、2(正常)、3(警告)、4(障害)、5(マイナー)、6(メジャー)+  < SNMPトラップ名 > [[:ja:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMP トラップコンソール]] で確認できます。 
 +  < OID > 
 +  * < 説明 > 
 +  * < 重要度 > 数値。次のいずれかのになります''0'' (<wrap :ja>**メンテナンス**</wrap>)、''1'' (<wrap :ja>**情報**</wrap>)、''2'' (<wrap :ja>**正常**</wrap>)、''3'' (<wrap :ja>**警告**</wrap>)、''4'' (<wrap :ja>**障害**</wrap>)、''5'' (<wrap :ja>**マイナー**</wrap>)、''6'' (<wrap :ja>**メジャー**</wrap>)
  
-**実行例:**+**Description**Creates a new SNMP trap definition. **A name must be entered, if an OID is repeated, the trap will not be created**.
  
-  perl pandora_manage.pl /etc/pandora/pandora_server.conf --create_snmp_trap Cisco_FAN_Crash 1.3.3.3.2.12.3.3.4.1 "Something happen with the FAN inside the CISCO device, probably a failure" 3+**説明**: 新しいSNMPトラップ定義を作成します。**名前を入力する必要があります。OIDが重複している場合、トラップは作成されません。** 
 + 
 +**Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: 
 + 
 +**例([[#ks1|呼び出し]]と[[#ks1_1|書式]]を参照)**: 
 + 
 +<code bash> 
 +pandora_manage /etc/pandora/pandora_server.conf --create_snmp_trap "Cisco_FAN_Crash" "1.3.3.3.2.12.3.3.4.1"Something happen with the FAN inside the CISCO device, probably a failure"3
 + 
 +</code>
  
 ==== --start_snmptrapd ==== ==== --start_snmptrapd ====
  
-**Parameters:** Nothing.+**Parameters**: None.
  
-**オプションパラメーター:** なし+**パラメータ**なし
  
-Starts the ''snmptrapd'' process on the traps server. In case it is already started, it terminates the service (**kill** command) and runs it again, deleting all the traps located in the exchange log (by default ''/var/log/pandora/pandora_snmptrapd.log'').+Starts the ''snmptrapd'' process in the [[:en:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMP traps server]]]. In case it is already started, it terminates this service (**kill** command) and executes it again, deleting all the traps located in the exchange log located by default in:
  
-トラップサーバで ''snmptrapd'' プロセスを開始します。すでに起動している場合は、サービス停止(**kill** コマンド)後に再実行し、ログ(デフォルトは ''/var/log/pandora/pandora_snmptrapd.log'')にあるすべてのトラップ削除ます。+[[:ja:documentation:pandorafms:monitoring:08_snmp_traps_monitoring|SNMPトラップサーバ]]] 内の ''snmptrapd'' プロセスを起動します。に起動している場合は、このサービスを終了(**kill** コマンド)し、実行します。これにより、デフォルトで以下の場所にあるログ内のすべてのトラップ削除されます。
  
-**Example:**+<file> 
 +/var/log/pandora/pandora_snmptrapd.log
  
-**実行例:**+</file>
  
-<code>+**Example (see [[#ks1|call]] and [[#ks1_1|syntax]])**: 
 + 
 +**例([[#ks1|呼び出し]]と[[#ks1_1|書式]]を参照)**: 
 + 
 +<code bash>
 pandora_manage /etc/pandora/pandora_server.conf --start_snmptrapd pandora_manage /etc/pandora/pandora_server.conf --start_snmptrapd
  
  • ja/documentation/pandorafms/technical_reference/03_anexo_cli.1747448980.txt.gz
  • 最終更新: 2025/05/17 02:29
  • by junichi