Oracle® ILOM SNMP および IPMI 用プロトコル管理リファレンスファームウェア Release 3.2.x

印刷ビューの終了

更新: 2015 年 6 月
 
 

SNMP トラップルールの宛先およびプロパティーを構成する

始める前に

SNMP トラップを送信する宛先を構成するには、次の手順を実行します:

  1. Oracle ILOM SP CLI にログインします。
  2. 警告ルールの現在の設定を表示するには、show コマンドを入力します。

    例:

    -> show /SP/alertmgmt/rules/1
    /SP/alertmgmt/rules/1
       Targets:
     
       Properties:
          type = snmptrap
          level = disable
          destination = 0.0.0.0
          destination_port = 0
          community_or_username = public
          snmp_version = 1
          testrule = (Cannot show property)
     
       Commands:
          cd 
          set
          show
    
  3. /SP/alertmgmt/rules ディレクトリを表示するには、次のように入力します:

    -> cd /SP/alertmgmt/rules

    -> show

    例:

    -> cd /SP/alertmgmt/rules
    -> show
    /SP/alertmgmt/rules 
      Targets:
        1
        2
        .
        .
        .
        15
      Properties:
     
      Commands:
          cd
          show
    

    SNMP トラップの宛先を構成するルールをターゲット 1 から 15 の中から選択し、そのディレクトリに移動します。

    例:

    -> cd 4

  4. ルールのプロパティーを変更するには、そのルールディレクトリ内で、set コマンドを入力します。

    たとえば、「public」のコミュニティー名で SNMP v2cを使用して、クリティカルなトラップを管理クライアントに送信するルールを設定するには、次のように入力します:

    -> set type=snmptrap level=critical destination=IPaddress_of_snmp_management_station destination_port=port snmp_version=2c community_or_username=public