next up previous contents index
Next: Übersetzung asynchroner Ereignismeldungen Up: Der IIMC-Algorithmus Previous: Übersetzen von Tabellen

Skalare MIB-Variablen

 

Alle skalaren MIB-Variablen einer Internet-MIB, werden - wie hier am Beispiel der MIB-II Variablen sysContact aus der system-Gruppe der MIB-II gezeigt wird - zu MOC Attributen in derjenigen Klasse, die aus der übergeordneten Gruppe entstanden ist:

        [...]
        sysContact OBJECT-TYPE
              SYNTAX  DisplayString (SIZE (0..255))
              ACCESS  read-write
              STATUS  mandatory
              DESCRIPTION
                 "The textual identification of the
                 contact person for this managed node,
                 together with information on how to
                 contact this person."
        ::= { system 4 }
        [...]

Das entsprechende MOC-Attribut sysContact lautet:

sysContact ATTRIBUTE
        WITH ATTRIBUTE SYNTAX
                IIMCRFC12131354ASN1.DisplayString;
        BEHAVIOUR
           sysContactBehaviour BEHAVIOUR
           DEFINED AS
              !BEGINPARSE
              REFERENCE
              !!This attribute maps to sysContact with
              object id {system 4} in RFC1213.!!;
              DESCRIPTION
                 !!The textual identification of the
                 contact person for this managed node,
                 together with information
                 on how to contact this person.!!;
              ENDPARSE!;;
        REGISTERED AS
           {1 2 124 360501 14 1 1 3 6 1 2 1 1 4};



Copyright Munich Network Management Team