--
-- Name:     DLinkArray MIB
-- Purpose:  MIB for the D-Link Corp's NIC Array extension agent
-- File:     DLinkArray.MIB
-- OID:      1.3.6.1.4.1.171.10.18
--

DLINKARRAY DEFINITIONS ::= BEGIN

-- Imports

IMPORTS
    OBJECT-TYPE            FROM RFC-1212
    TRAP-TYPE              FROM RFC-1215
    dlinkNICETrapAgent     FROM DLINK-COMMON-MIB;    


    -- Object Definitions

    dlinkAdapterIndex OBJECT-TYPE
        SYNTAX    INTEGER(0..32)
        ACCESS    read-only
        STATUS    mandatory
        DESCRIPTION
            "A index number for a particalar adapter in the D-Link NIC array."
        ::= { dlinkNICETrapAgent 1 }

    dlinkGroupIndex OBJECT-TYPE
        SYNTAX    INTEGER(0..32)
        ACCESS    read-only
        STATUS    mandatory
        DESCRIPTION
            "A index number for a particalar segment in the D-Link NIC array."
        ::= { dlinkNICETrapAgent 2 }

    dlinkAdapterState OBJECT-TYPE
        SYNTAX    INTEGER(0..1)
        ACCESS    read-only
        STATUS    mandatory
        DESCRIPTION
            "A value indicating the current state of an adapter with
             the following values:
               0 adapter is currently Down
               1 adapter is currently Up."
        ::= { dlinkNICETrapAgent 3 }

    dlinkAdapterNameString OBJECT-TYPE
        SYNTAX    OCTET STRING
        ACCESS    read-only
        STATUS    mandatory
        DESCRIPTION
            "The name of an adapter in a D-Link NIC array."
        ::= { dlinkNICETrapAgent 4 }

    dlinkSegmentNameString OBJECT-TYPE
        SYNTAX    OCTET STRING
        ACCESS    read-only
        STATUS    mandatory
        DESCRIPTION
            "The name of a particalar D-Link NIC array segment."
        ::= { dlinkNICETrapAgent 5 }


    -- Trap Definitions

    dlinkAdapterStateTrap TRAP-TYPE
        ENTERPRISE       dlinkNICETrapAgent
        VARIABLES        { dlinkAdapterState, dlinkAdapterNameString, dlinkSegmentNameString }
        DESCRIPTION
                "This trap is generated when an adapter goes Down or
                 comes back online (goes Up).  The AdapterState contains
                 the current state of the adapter, the AdapterName contains
                 the name of the adapter, and the SegmentName contains
                 the name of D-Link NIC array that the adapter belongs to."
        ::= 1

    dlinkOneAdapterLeftTrap TRAP-TYPE
        ENTERPRISE         dlinkNICETrapAgent
        VARIABLES          { dlinkSegmentNameString }
        DESCRIPTION
                "This trap is generated when there is only one adapter left
                 in the D-Link NIC array.  The SegmentName contains the
                 name of D-Link NIC array that has the one adapter left."
        ::= 2

    dlinkAllAdaptersDownTrap TRAP-TYPE
        ENTERPRISE          dlinkNICETrapAgent
        VARIABLES           { dlinkSegmentNameString }
        DESCRIPTION
                "This trap is generated when all adapters in a D-Link NIC array
                 have gone down.  The SegmentName contains the
                 name of D-Link NIC array that has no adapters left."
        ::= 3

END
