ヘッダーをスキップ
Oracle Enterprise Manager SNMPサポート・リファレンス・ガイド
10gリリース2(10.2)
E05922-01
  目次
目次
索引
索引

戻る
戻る
次へ
次へ
 

4 MIB変数の説明の解釈

この章は、MIB変数の説明を解釈する方法を理解するのに役立ちます。この章の内容は、次のとおりです。

バージョン2のSNMP MIB定義のSTATUS要素は、これらのMIB変数の説明に含まれていないことに注意してください。OracleにはすべてのMIB変数がCURRENTとして実装されているため、この値は変わりません。

変数名の説明

構文

バージョン2のSNMP MIB定義のSYNTAX要素にマップします。

最大アクセス

バージョン2のSNMP MIB定義のMAX-ACCESS要素にマップします。

ステータス

バージョン2のSNMP MIB定義のSTATUS要素にマップします。

説明

変数の機能、使用方法および正確な導出方法を説明します(たとえば、変数は特定の構成ファイル・パラメータまたはパフォーマンス表フィールドから導出されます)。適切な場合は、バージョン2のMIB定義のDESCRIPTION部分を組み込みます。

代表的な範囲

変数の理論上の範囲ではなく代表的な範囲を示します。たとえば、多くのMIB変数に対する整数値の理論上の範囲は4294967295までですが、実際のインストールでの代表的な範囲はそれより小さくなります。一方、大規模データベースの一部の変数値は、実際にはこの理論上の限界(ラップアラウンド)を超える場合があります。変数値が通常0〜1,000または1,000〜30億までの範囲になるように指定すると、サード・パーティの開発者がその変数について最適なグラフィック表示を作成するのに役立ちます。

重要度

通常のインストールを監視する場合の、変数の重要度を示します。重要度の段階は、「高」、「中」、「低」または「通常は使用されない」です。データベース管理者には、他の変数よりも厳密に監視する変数があります。ただし、厳密に監視する変数は、アプリケーション、データベースのサイズおよびデータベース管理者の目的によって、インストールごとに異なる可能性があります。いずれにしても、ある変数の重要度をMIBの他の変数と比較して評価することで、サード・パーティの開発者は、ほとんどのデータベース管理者にとって最も関心のある変数の開発に集中できます。

関連する変数

この変数になんらかの方法で関連しているMIB、またはOracleで実装された他のMIBの変数をリストします。たとえば、この変数の値は、別のMIB変数の値から導出される場合があります。あるいは、この変数の値は、別の変数の値に反比例して変化する場合があります。この情報によって、サード・パーティの開発者は、関連するMIB変数用に最適なグラフィック表示を作成できます。

推奨する表示方法

管理アプリケーションを使用しているデータベース管理者にとって最も役立つように、この変数を表示する方法(たとえば、単純な値、ゲージまたは警告として)を示します。

MIB定義

例4-1に、Enterprise Managerで使用される代表的なMIB定義を示します。

例4-1 MIB定義

ORACLE-ENTERPRISE-MANAGER-4-MIB DEFINITIONS ::= BEGIN
IMPORTS
        TRAP-TYPE
                FROM RFC-1215
        DisplayString
                FROM RFC1213-MIB
        OBJECT-TYPE
                FROM RFC-1212
        enterprises
                FROM RFC1155-SMI;

oracle OBJECT IDENTIFIER ::= { enterprises  111 }
oraEM4 OBJECT IDENTIFIER ::= { oracle  15 }
oraEM4Objects OBJECT IDENTIFIER ::= { oraEM4  1 }
oraEM4AlertTable OBJECT-TYPE
    SYNTAX  SEQUENCE OF OraEM4AlertEntry
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION
   "Information on alerts generated by Oracle Enterprise Manager. 
This table is not queryable; it exists only to document the variables 
included in the oraEM4Alert trap.  Each trap contains a single instance 
of each variable in the table."
    ::= { oraEM4Objects  1 }

oraEM4AlertEntry OBJECT-TYPE
    SYNTAX  OraEM4AlertEntry
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION
     "Information about a particular Oracle Enterprise Manager alert."
    INDEX   { oraEM4AlertIndex }
    ::= { oraEM4AlertTable  1 }

OraEM4AlertEntry ::=
    SEQUENCE {
        oraEM4AlertIndex
            INTEGER,
        oraEM4AlertTargetName
           DisplayString,

        oraEM4AlertTargetType
           DisplayString,

        oraEM4AlertHostName
           DisplayString,

        oraEM4AlertMetricName
           DisplayString,

        oraEM4AlertKeyName
           DisplayString,

        oraEM4AlertKeyValue
           DisplayString,

        oraEM4AlertTimeStamp
           DisplayString,

        oraEM4AlertSeverity
           DisplayString,

        oraEM4AlertMessage
           DisplayString,

        oraEM4AlertRuleName
           DisplayString

        oraEM4AlertRuleOwner
           DisplayString
    }
oraEM4AlertIndex OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "Index of a particular alert, unique only at the moment an alert is generated."
    ::= { oraEM4AlertEntry  1 }

oraEM4AlertTargetName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The name of the target to which this alert applies."
    ::= { oraEM4AlertEntry  2 }

oraEM4AlertTargetType OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The type of the target to which this alert applies."
    ::= { oraEM4AlertEntry  3 }

oraEM4AlertHostName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The name of the host on which this alert originated."
    ::= { oraEM4AlertEntry  4 }

oraEM4AlertMetricName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The name of the metric which generated this alert."
    ::= { oraEM4AlertEntry  5 }

oraEM4AlertKeyName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The name of the key-column, if present, for the metric which generated this alert."
    ::= { oraEM4AlertEntry  6 }

oraEM4AlertKeyValue OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The value of the key-column, if present, for the metric which generated this alert."
    ::= { oraEM4AlertEntry  7 }

oraEM4AlertTimeStamp OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The time at which this alert was generated."
    ::= { oraEM4AlertEntry  8 }

oraEM4AlertSeverity OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The severity of the alert e.g. Critical."
    ::= { oraEM4AlertEntry  9 }

oraEM4AlertMessage OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The message associated with the alert."
    ::= { oraEM4AlertEntry  10 }

oraEM4AlertRuleName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The name of the notification rule that caused this notification."
    ::= { oraEM4AlertEntry  11 }

oraEM4AlertRuleOwner OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  read-only
    STATUS  mandatory
    DESCRIPTION
     "The owner of the notification rule that caused this notification."
    ::= { oraEM4AlertEntry  12 }

oraEM4Traps OBJECT IDENTIFIER ::= { oraEM4  2 }

oraEM4Alert TRAP-TYPE
    ENTERPRISE  oraEM4Traps
    VARIABLES   { oraEM4AlertTargetName, oraEM4AlertTargetType,
                  oraEM4AlertHostName, oraEM4AlertMetricName,
                  oraEM4AlertKeyName, oraEM4AlertKeyValue, oraEM4AlertTimeStamp,
                  oraEM4AlertSeverity, oraEM4AlertMessage,
                  oraEM4AlertRuleName, oraEM4AlertRuleOwner }
    DESCRIPTION
     "The variables included in the oraEM4Alert trap."
    ::= 1
END