--***********************************************************************
-- MIB accordanceARAID1000L from project `accord'
--
-- Auto-generated by SNMP IQ Application Builder on 01/20/2004
-- Version: 
-- Authored on: 05/20/2002
--
-- Accordance Systems Definition
--
--
--***********************************************************************
--

ACCORDANCE-ARAID1000L-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        --==============================================================
        --
        --     Imports from: ACCORDANCE-CORP-MIB
        --
        --==============================================================
        accordanceProjectOID FROM ACCORDANCE-CORP-MIB

        --==============================================================
        --
        --     Imports from: SNMPv2-SMI
        --
        --==============================================================
        Counter32,
        Counter64,
        Gauge32,
        Integer32,
        IpAddress,
        MODULE-IDENTITY,
        NOTIFICATION-TYPE,
        OBJECT-IDENTITY,
        OBJECT-TYPE,
        Opaque,
        TimeTicks,
        Unsigned32 FROM SNMPv2-SMI

        --==============================================================
        --
        --     Imports from: SNMPv2-TC
        --
        --==============================================================
        DisplayString,
        RowStatus,
        TEXTUAL-CONVENTION,
        TruthValue FROM SNMPv2-TC;


--==============================================================
accordanceARAID1000L MODULE-IDENTITY
    LAST-UPDATED "200205200000Z"
    ORGANIZATION "Accordance Systems"
    CONTACT-INFO
        " Icon Laboratories, Inc."
    DESCRIPTION
        "Accordance Systems Definition"
    ::= { accordanceProjectOID 1 }

-- ************************************************************************
-- TEXTUAL CONVENTIONS
-- ************************************************************************

AccordanceDiskID ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
        "No description available"
    SYNTAX   INTEGER { 
        diskX(1),
        diskY(2),
        diskNA(3) } 



-- Top-level structure of the MIB

accordanceEvent            OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "Accordance ARAID 1000L Events"
    ::= { accordanceARAID1000L 0 }

diskError               NOTIFICATION-TYPE
    OBJECTS {
       diskLastErrorTime,
       diskMode
    }
    STATUS current
    DESCRIPTION
        "An error occurred on designated disk"
    ::= { accordanceEvent 1 }

diskInserted            NOTIFICATION-TYPE
    OBJECTS {
       diskInsertedTime
    }
    STATUS current
    DESCRIPTION
        "Designated disk was inserted into ARAID"
    ::= { accordanceEvent 2 }

sensorTempOver          NOTIFICATION-TYPE
    OBJECTS {
       sensorTemperature
    }
    STATUS current
    DESCRIPTION
        "Designated Sensor Overheating"
    ::= { accordanceEvent 3 }

fanError                NOTIFICATION-TYPE
    OBJECTS {
       fanSpeed
    }
    STATUS current
    DESCRIPTION
        "Designated fan had an error"
    ::= { accordanceEvent 4 }

systemFatalError        NOTIFICATION-TYPE
    OBJECTS {
       rebuildSrcDisk,
       diskMode,
       lastFailTime
    }
    STATUS current
    DESCRIPTION
        "Fatal System Error Occurred"
    ::= { accordanceEvent 5 }

diskRebuildPct          NOTIFICATION-TYPE
    OBJECTS {
       rebuildSrcDisk,
       diskRebuildPercent
    }
    STATUS current
    DESCRIPTION
        "Periodic trap issued during disk rebuild process"
    ::= { accordanceEvent 6 }

diskRebuildComplete     NOTIFICATION-TYPE
    STATUS current
    DESCRIPTION
        "Trap to indicate completion of the disk rebuilding process"
    ::= { accordanceEvent 7 }

systemInfo                 OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "System Info"
    ::= { accordanceARAID1000L 1 }

araidModelAndFirmware      OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "Response data from MM request"
    ::= { systemInfo 1 }


modelName       OBJECT-TYPE
    SYNTAX      DisplayString (SIZE(26))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Model Name"

    ::= { araidModelAndFirmware 1 }


firmwareVersion OBJECT-TYPE
    SYNTAX      DisplayString (SIZE(8))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Firmware Version String"

    ::= { araidModelAndFirmware 2 }


systemHDDCapacity OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "MB"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "System HDD Capacity"

    ::= { araidModelAndFirmware 3 }


chipEdition     OBJECT-TYPE
    SYNTAX      INTEGER { 
                    chipV2(1),
                    chipV3A1(2),
                    chipV3A2(3),
                    chipV4(4),
                    chipVunknown(5)
                    } 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Chip Edition         1 = V2         2 = V3 A.1         3 = V3 A.2         4 = V4         5 = unknown"

    ::= { araidModelAndFirmware 4 }


masterSlaveSetting OBJECT-TYPE
    SYNTAX      INTEGER { 
                    master(1),
                    slave(2)
                    } 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Indicates whether ARAID is Master or Slave"

    ::= { systemInfo 2 }


operatingMode   OBJECT-TYPE
    SYNTAX      INTEGER { 
                    mirror(1),
                    backup(2),
                    jbod(3),
                    jbodMirror(4),
                    raid0(5),
                    raid01(6)
                    } 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "One of Mirror (which is the default), Backup, JBOD or
        JBOD+Mirror,RAID 0, RAID 0+1"

    ::= { systemInfo 3 }


accordanceSN    OBJECT-TYPE
    SYNTAX      DisplayString (SIZE(8))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Accordance Serial Number"

    ::= { systemInfo 4 }


buzzerState     OBJECT-TYPE
    SYNTAX      INTEGER { 
                    on(1),
                    off(2)
                    } 
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Set the ARAID Buzzer to on or off"

    DEFVAL { on }
    ::= { systemInfo 5 }


lastFailTime    OBJECT-TYPE
    SYNTAX      TimeTicks
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Timestamp of last fatal error"

    ::= { systemInfo 6 }

fanInfo                    OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "Grouping of data concerning fans."
    ::= { accordanceARAID1000L 2 }


fanSpeedMonCaps OBJECT-TYPE
    SYNTAX      Unsigned32 (0..2)
    UNITS       "fans"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Fan Speed Monitor Capability"

    ::= { fanInfo 1 }


fanAlertSetting OBJECT-TYPE
    SYNTAX      INTEGER { 
                    halfNormal(1),
                    stopOrError(2),
                    fanAlertNotSet(3)
                    } 
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Alert criteria for Fan 1.         Half of normal speed = 1         No speed, full stop or error = 2"

    DEFVAL { stopOrError }
    ::= { fanInfo 2 }


-- Begin Table fanTable        =====================================================
fanTable        OBJECT-TYPE
    SYNTAX      SEQUENCE OF FanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Information about the fans in the system"

    ::= { fanInfo 3 }


fanEntry        OBJECT-TYPE
    SYNTAX      FanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Row of table fanTable"

    INDEX {
         fanID
        }
    ::= { fanTable 1 }


FanEntry                ::= SEQUENCE {
        fanID                                  INTEGER,
        fanSpeed                               Integer32 
    }

fanID           OBJECT-TYPE
    SYNTAX      INTEGER { 
                    fan1(1),
                    fan2(2)
                    } 
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Fan identifier for this row in the table"

    ::= { fanEntry 1 }


fanSpeed        OBJECT-TYPE
    SYNTAX      Integer32 (-1..0|330..11000)
    UNITS       "RPM"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Fan rotation speed in RPMs                  -1 means fan error occurred         0 means that fan does not exist"

    ::= { fanEntry 2 }


-- End Table fanTable        =======================================================
sensorInfo                 OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "Grouping of info about the temperature sensors."
    ::= { accordanceARAID1000L 3 }


tempMonitorCaps OBJECT-TYPE
    SYNTAX      Unsigned32 (0..2)
    UNITS       "sensor(s)"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Number of sensors for temp. monitoring"

    ::= { sensorInfo 1 }


sensorAlertTemperature OBJECT-TYPE
    SYNTAX      Integer32 (-1|30..65)
    UNITS       "DegreesC"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Threshold for temperature alert.         Only multiples of 5 are applicable. A Set that is not an even multiple should         round down to the nearest multiple."

    DEFVAL { 65 }
    ::= { sensorInfo 2 }


-- Begin Table sensorTable     =====================================================
sensorTable     OBJECT-TYPE
    SYNTAX      SEQUENCE OF SensorEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Temperature Sensor Table"

    ::= { sensorInfo 3 }


sensorEntry     OBJECT-TYPE
    SYNTAX      SensorEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Row of table sensorTable"

    INDEX {
         sensorID
        }
    ::= { sensorTable 1 }


SensorEntry             ::= SEQUENCE {
        sensorID                               INTEGER,
        sensorTemperature                      Unsigned32 
    }

sensorID        OBJECT-TYPE
    SYNTAX      INTEGER { 
                    sensor1(1),
                    sensor2(2)
                    } 
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Sensor Identifier "

    ::= { sensorEntry 1 }


sensorTemperature OBJECT-TYPE
    SYNTAX      Unsigned32 (32..64)
    UNITS       "DegreesC"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Temperature from sensor in degrees centigrade."

    ::= { sensorEntry 2 }


-- End Table sensorTable     =======================================================
diskInfo                   OBJECT-IDENTITY
    STATUS    current
    DESCRIPTION
        "Grouping of information about the HDDs"
    ::= { accordanceARAID1000L 4 }


rebuildSrcDisk  OBJECT-TYPE
    SYNTAX      AccordanceDiskID
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Disk ID of the source disk during rebuilding. NA if not rebuilding."

    DEFVAL { diskNA }
    ::= { diskInfo 1 }


diskRebuildPercent OBJECT-TYPE
    SYNTAX      Unsigned32 (0..100)
    UNITS       "percent"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Percentage completion of disk rebuild process"

    ::= { diskInfo 2 }


-- Begin Table diskTable       =====================================================
diskTable       OBJECT-TYPE
    SYNTAX      SEQUENCE OF DiskEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Contains drive information"

    ::= { diskInfo 3 }


diskEntry       OBJECT-TYPE
    SYNTAX      DiskEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Row of table diskTable"

    INDEX {
         diskDriveID
        }
    ::= { diskTable 1 }


DiskEntry               ::= SEQUENCE {
        diskDriveID                            AccordanceDiskID,
        diskMasterState                        INTEGER,
        diskModelName                          DisplayString,
        diskCapacity                           Unsigned32,
        diskMode                               INTEGER,
        diskLastErrorTime                      TimeTicks,
        diskInsertedTime                       TimeTicks 
    }

diskDriveID     OBJECT-TYPE
    SYNTAX      AccordanceDiskID 
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Identifier of the disk corresponding to this row in the table"

    ::= { diskEntry 1 }


diskMasterState OBJECT-TYPE
    SYNTAX      INTEGER { 
                    diskPresent(1),
                    diskAbsent(2),
                    diskPowerOff(3)
                    } 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Master HDD State. 1 = present 2 = fail or none 3 = powered Off"

    ::= { diskEntry 2 }


diskModelName   OBJECT-TYPE
    SYNTAX      DisplayString (SIZE(26))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "HDD Model Name"

    ::= { diskEntry 3 }


diskCapacity    OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "MB"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "HDD Capacity in MB"

    ::= { diskEntry 4 }


diskMode        OBJECT-TYPE
    SYNTAX      INTEGER { 
                    rebuilding(1),
                    singleDrive(2)
                    } 
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Indicates system was rebuilding when failure occurred or failed in
        single drive mode."

    ::= { diskEntry 5 }


diskLastErrorTime OBJECT-TYPE
    SYNTAX      TimeTicks
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Timestamp of last error occurring on this drive"

    ::= { diskEntry 6 }


diskInsertedTime OBJECT-TYPE
    SYNTAX      TimeTicks
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Timestamp of when disk was inserted"

    ::= { diskEntry 7 }


-- End Table diskTable       =======================================================

diskRebuildTrapFreq OBJECT-TYPE
    SYNTAX      Unsigned32 (1..100)
    UNITS       "percent"
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Instructs the agent to issue a trap when the rebuild percentage is a multiple of this number"

    DEFVAL { 10 }
    ::= { diskInfo 4 }


END

