-- American Megatrends Inc. Confidential and Proprietary. -- File: Ver1.04 RAID-Adapter-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises, Counter FROM RFC1155-SMI DisplayString FROM RFC1213-MIB OBJECT-TYPE FROM RFC-1212; ami OBJECT IDENTIFIER ::= { enterprises 16 } megaRaid OBJECT IDENTIFIER ::= { ami 1 } megaRaidMib OBJECT IDENTIFIER ::= { megaRaid 1 } -- Adapter Table Definition adapterTable OBJECT-TYPE SYNTAX SEQUENCE OF AdapterEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A List of Adapter Entries containing Information/Properties about the Adapters in the System." ::= { megaRaidMib 1 } adapterEntry OBJECT-TYPE SYNTAX AdapterEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "An entry in the Adapter Table. Each Entry corresponds to one Adapter in the System." INDEX { adpAdapterNumber } ::= { adapterTable 1 } AdapterEntry ::= SEQUENCE { adpAdapterNumber INTEGER, numLogicalDrives INTEGER, firmwareVersion DisplayString, biosVersion DisplayString, dramSizeInMB INTEGER, chipSetType INTEGER, rebuildRateInPercent INTEGER, flushInterval INTEGER, maxConcurrentCmds INTEGER, spinupDelay INTEGER, spinupCount INTEGER, adpIOReadsPerSec INTEGER, adpIOWritesPerSec INTEGER, adpReadKBsPerSec INTEGER, adpWriteKBsPerSec INTEGER, adpReadFailuresPerSec INTEGER, adpWriteFailuresPerSec INTEGER, scanChannels INTEGER } -- defines for each attribute in AdpaterEntry adpAdapterNumber OBJECT-TYPE SYNTAX INTEGER (1..4) ACCESS read-only STATUS mandatory DESCRIPTION "The Adapter Number for this Instance of Adapter Object. This Entry in the Table, contains Information about the Adapter Number specified by this variable." ::= { adapterEntry 1 } numLogicalDrives OBJECT-TYPE SYNTAX INTEGER (0..8) ACCESS read-only STATUS mandatory DESCRIPTION "Number of Logical Drives Configured on this Adapter." ::= { adapterEntry 2 } firmwareVersion OBJECT-TYPE SYNTAX DisplayString (SIZE(5..5)) ACCESS read-only STATUS mandatory DESCRIPTION "The Firmware Version of the Firmware running on this Adapter." ::= { adapterEntry 3 } biosVersion OBJECT-TYPE SYNTAX DisplayString (SIZE(5..5)) ACCESS read-only STATUS mandatory DESCRIPTION "The Bios Version of the BIOS Present in the Flash ROM on this Adapter." ::= { adapterEntry 4 } dramSizeInMB OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Amount of DRAM in Mega Bytes present on this Adapter." ::= { adapterEntry 5 } chipSetType OBJECT-TYPE SYNTAX INTEGER { intelneptuneormercury(225), triton(226), others(97) } ACCESS read-only STATUS mandatory DESCRIPTION "Motherboard Chipset Type for which the Adapter ASIC is Configured." ::= { adapterEntry 6 } rebuildRateInPercent OBJECT-TYPE SYNTAX INTEGER (0..100) ACCESS read-write STATUS mandatory DESCRIPTION "Rebuild Rate for this Adapter. This determines the Priority of Rebuild/Check-Consistency/Reconstruct Operations versus the Read-Write Operations." ::= { adapterEntry 7 } flushInterval OBJECT-TYPE SYNTAX INTEGER { twosec(2), foursec(4), sixsec(6), eightsec(8), tensec(10) } ACCESS read-write STATUS mandatory DESCRIPTION "Internal Cache Flush Interval for Logical Drives in WriteBack Mode." ::= { adapterEntry 8 } maxConcurrentCmds OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Maximum Concurrent Commands Supported by the Adapter." ::= { adapterEntry 9 } spinupDelay OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This is the Spinup Delay for Spinning Up Physical Drives at Firmware Initialization Time. The Physical Drives are divided into Groups, each containing the number of drives indicated by the spinupCount variable. spinupDelay variable is the amount of delay used before the drives in the next group are issued a SPINUP Command." ::= { adapterEntry 10 } spinupCount OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "This is the Spinup Count for Spinning up Physical Drives at Firmware Initialization Time. The Physical Drives are divided into Groups, each containing the number of drives indicated by this variable. All the drives in a group are issued SPINUP Command without any delay. Next group is given SPINUP Commands after a delay indicated by the spinupDelay variable." ::= { adapterEntry 11 } adpIOReadsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of IO Reads/sec statistics for this adapter." ::= { adapterEntry 12 } adpIOWritesPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of IO Writes/sec statistics for this adapter." ::= { adapterEntry 13 } adpReadKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Amount of Data Transferred in KBs/sec due to READ Transfers." ::= { adapterEntry 14 } adpWriteKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Amount of Data Transferred in KBs/sec due to WRITE Transfers." ::= { adapterEntry 15 } adpReadFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of Read-Failures/sec statistics for this adapter." ::= { adapterEntry 16 } adpWriteFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of Write-Failures/sec statistics for this adapter." ::= { adapterEntry 17 } scanChannels OBJECT-TYPE SYNTAX INTEGER { scanover(1), startscan(2), scaninprog(3) } ACCESS read-write STATUS mandatory DESCRIPTION "Use this Variable to Discover the Non-Disk Devices attached to the Adapter. Set this Variable to startscan (an integer value of 2) to start the Channel Scanning." ::= { adapterEntry 18 } -- Logical Drive Table Definition logicaldriveTable OBJECT-TYPE SYNTAX SEQUENCE OF LogicaldriveEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A List of Logical Drive Entries containing Information/Properties about the Logical Drives Configured in the System." ::= { megaRaidMib 2 } logicaldriveEntry OBJECT-TYPE SYNTAX LogicaldriveEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "An Entry in the Logical Drive Table." INDEX { ldAdapterNumber, logicalDriveNumber } ::= { logicaldriveTable 1 } LogicaldriveEntry ::= SEQUENCE { ldAdapterNumber INTEGER, logicalDriveNumber INTEGER, status INTEGER, sizeInMB INTEGER, raidLevel INTEGER, stripeSize INTEGER, readPolicy INTEGER, writePolicy INTEGER, cachePolicy INTEGER, enquiryString DisplayString, numberOfSpans INTEGER, numberOfStripes INTEGER, checkConsistencyOrInitializeProgress DisplayString, ldIOReadsPerSec INTEGER, ldIOWritesPerSec INTEGER, ldReadKBsPerSec INTEGER, ldWriteKBsPerSec INTEGER, ldReadFailuresPerSec INTEGER, ldWriteFailuresPerSec INTEGER } -- defines for each attribute in LogicaldriveEntry ldAdapterNumber OBJECT-TYPE SYNTAX INTEGER (1..4) ACCESS read-only STATUS mandatory DESCRIPTION "The Adapter Number for this Instance of Adapter/LogicalDrive object." ::= { logicaldriveEntry 1 } logicalDriveNumber OBJECT-TYPE SYNTAX INTEGER (1..8) ACCESS read-only STATUS mandatory DESCRIPTION "Logical Drive Number for this Logical Drive Entry." ::= { logicaldriveEntry 2 } status OBJECT-TYPE SYNTAX INTEGER { offline(0), degraded(1), optimal(2), initialize(3), checkconsistency(4) } ACCESS read-write STATUS mandatory DESCRIPTION "The Status of this Logical Drive." ::= { logicaldriveEntry 3 } sizeInMB OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Configured Size of this Logical Drive." ::= { logicaldriveEntry 4 } raidLevel OBJECT-TYPE SYNTAX INTEGER { raid0(0), raid1(1), raid3(3), raid5(5) } ACCESS read-only STATUS mandatory DESCRIPTION "Configured Raid Level for this Logical Drive." ::= { logicaldriveEntry 5 } stripeSize OBJECT-TYPE SYNTAX INTEGER { oneKB(2), twoKB(4), fourKB(8), eightKB(16), sixteenKB(32), thirtytwoKB(64), sixtyfourKB(128), onetwentyeightKB(256) } ACCESS read-only STATUS mandatory DESCRIPTION "Configured Stripe Size for this Logical Drive." ::= { logicaldriveEntry 6 } readPolicy OBJECT-TYPE SYNTAX INTEGER { normal(0), readahead(1), adaptive(2) } ACCESS read-write STATUS mandatory DESCRIPTION "Configured Read Policy for this Logical Drive." ::= { logicaldriveEntry 7 } writePolicy OBJECT-TYPE SYNTAX INTEGER { writethru(0), writeback(1) } ACCESS read-write STATUS mandatory DESCRIPTION "Configured Write Policy for this Logical Drive." ::= { logicaldriveEntry 8 } cachePolicy OBJECT-TYPE SYNTAX INTEGER { cachedio(0), directio(1) } ACCESS read-write STATUS mandatory DESCRIPTION "Configured Cache Policy for this Logical Drive." ::= { logicaldriveEntry 9 } enquiryString OBJECT-TYPE SYNTAX DisplayString (SIZE(29..29)) ACCESS read-only STATUS mandatory DESCRIPTION "SCSI Inquiry String for this Logical Drive." ::= { logicaldriveEntry 10 } numberOfSpans OBJECT-TYPE SYNTAX INTEGER (1..4) ACCESS read-only STATUS mandatory DESCRIPTION "Number of Arrays across which this Logical Drive is Spanning." ::= { logicaldriveEntry 11 } numberOfStripes OBJECT-TYPE SYNTAX INTEGER (1..8) ACCESS read-only STATUS mandatory DESCRIPTION "Configured Number of Stripes for this Logical Drive." ::= { logicaldriveEntry 12 } checkConsistencyOrInitializeProgress OBJECT-TYPE SYNTAX DisplayString (SIZE(1..20)) ACCESS read-only STATUS mandatory DESCRIPTION "Check Consistency or Initialize Progress for this Logical Drive if the Logical Drive Status is checkconsistencyinprogress or initializeinprogress." ::= { logicaldriveEntry 13 } ldIOReadsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of IO Reads/sec Statistics for this Logical Drive." ::= { logicaldriveEntry 14 } ldIOWritesPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of IO Writes/sec Statistics for this Logical Drive." ::= { logicaldriveEntry 15 } ldReadKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Amount of Data Transferred in KBs/sec due to READ Transfers." ::= { logicaldriveEntry 16 } ldWriteKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Amount of Data Transferred in KBs/sec due to WRITE Transfers." ::= { logicaldriveEntry 17 } ldReadFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of Read-Failures/sec Statistics for this Logical Drive." ::= { logicaldriveEntry 18 } ldWriteFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Number of Write-Failures/sec Statistics for this Logical Drive." ::= { logicaldriveEntry 19 } -- Physical Drive Table Definition physicaldriveTable OBJECT-TYPE SYNTAX SEQUENCE OF PhysicaldriveEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A List of Physical Device Entries containing Information about the Physical Devices in the System." ::= { megaRaidMib 3 } physicaldriveEntry OBJECT-TYPE SYNTAX PhysicaldriveEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "An Entry in the Physical Drive Table." INDEX { physAdapterNumber, physChannel, targetID } ::= { physicaldriveTable 1 } PhysicaldriveEntry ::= SEQUENCE { physAdapterNumber INTEGER, physChannel INTEGER, targetID INTEGER, state INTEGER, arrayPosition DisplayString, sizeMB INTEGER, deviceType INTEGER, inquiryString DisplayString, scsiLevel INTEGER, syncNegotiation INTEGER, qtags INTEGER, rebuildProgress DisplayString, mediumErrors INTEGER, otherErrors INTEGER } -- defines for each attribute in PhysicaldriveEntry physAdapterNumber OBJECT-TYPE SYNTAX INTEGER (1..4) ACCESS read-only STATUS mandatory DESCRIPTION "The Adapter Number for this Instance of Adapter/Physical-Drive Instance." ::= { physicaldriveEntry 1 } physChannel OBJECT-TYPE SYNTAX INTEGER (1..3) ACCESS read-only STATUS mandatory DESCRIPTION "Channel Number at Which this Physical Drive is Present." ::= { physicaldriveEntry 2 } targetID OBJECT-TYPE SYNTAX INTEGER(0..15) ACCESS read-only STATUS mandatory DESCRIPTION "SCSI Target ID at Which This Physical Drive is Present." ::= { physicaldriveEntry 3 } state OBJECT-TYPE SYNTAX INTEGER { ready(1), online(3), failed(4), rebuild(5), hotspare(6), nondisk(20) } ACCESS read-write STATUS mandatory DESCRIPTION "Current State of this Physical Drive." ::= { physicaldriveEntry 4 } arrayPosition OBJECT-TYPE SYNTAX DisplayString (SIZE(4..20)) ACCESS read-only STATUS mandatory DESCRIPTION "Array is a group of Physical Drives used to Configure Logical Drives. This String Variable has values of the type Ai-j. Example: A1-2 implies that this drive is 2nd member of Array-1." ::= { physicaldriveEntry 5 } sizeMB OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Actual Size of this Physical Drive." ::= { physicaldriveEntry 6 } deviceType OBJECT-TYPE SYNTAX INTEGER { disk(0), tape(1), printer(2), processor(3), worm(4), cdrom(5), scanner(6), optical(7), changer(8), communication(9), asynchronouslow(10), asunchronoushigh(11), reservedlow(12) } ACCESS read-only STATUS mandatory DESCRIPTION "Device Type of this Physical Drive." ::= { physicaldriveEntry 7 } inquiryString OBJECT-TYPE SYNTAX DisplayString (SIZE(29..29)) ACCESS read-only STATUS mandatory DESCRIPTION "SCSI Inquiry String for this Device." ::= { physicaldriveEntry 8 } scsiLevel OBJECT-TYPE SYNTAX INTEGER { scsi1(1), scsi2(2) } ACCESS read-only STATUS mandatory DESCRIPTION "ANSI SCSI Level Conformance of this Device." ::= { physicaldriveEntry 9 } syncNegotiation OBJECT-TYPE SYNTAX INTEGER { enable(1), disable(2) } ACCESS read-only STATUS mandatory DESCRIPTION "This indicates whether Firmware is Enabled or Disabled to perform the Synchronous Negotiation for this Device." ::= { physicaldriveEntry 10 } qtags OBJECT-TYPE SYNTAX INTEGER { one(1), two(2), three(3), four(4), enhancedqtagscheduling(5) } ACCESS read-only STATUS mandatory DESCRIPTION "This indicates the Maximum Number of Concurrent Commands Firmware Issues to this Drive." ::= { physicaldriveEntry 11 } rebuildProgress OBJECT-TYPE SYNTAX DisplayString (SIZE(1..25)) ACCESS read-only STATUS mandatory DESCRIPTION "Rebuild Progress for this Physical Drive if the Physical Drive State is Rebuild." ::= { physicaldriveEntry 12 } mediumErrors OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Medium Errors Occurred on this Drive Since it was Configured." ::= { physicaldriveEntry 13 } otherErrors OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Other Errors Occurred on this Drive Since it was Configured." ::= { physicaldriveEntry 14 } -- Channel Table Definition channelTable OBJECT-TYPE SYNTAX SEQUENCE OF ChannelEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "A List of Channel Entries containing Information/Properties about the Channels on the Adapter." ::= { megaRaidMib 4 } channelEntry OBJECT-TYPE SYNTAX ChannelEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "An Entry in the channel table." INDEX { chanAdapterNumber, channel } ::= { channelTable 1 } ChannelEntry ::= SEQUENCE { chanAdapterNumber INTEGER, channel INTEGER, terminations INTEGER, channelStatus INTEGER } -- defines for each attribute in ChannelEntry chanAdapterNumber OBJECT-TYPE SYNTAX INTEGER (1..4) ACCESS read-only STATUS mandatory DESCRIPTION "The Adapter Number for this Instance of Adapter/Channel Instance." ::= { channelEntry 1 } channel OBJECT-TYPE SYNTAX INTEGER (1..3) ACCESS read-only STATUS mandatory DESCRIPTION "Channel Number for this Channel." ::= { channelEntry 2 } terminations OBJECT-TYPE SYNTAX INTEGER { disabled(0), higher8bits(1), wideterminations(2) } ACCESS read-only STATUS mandatory DESCRIPTION "Current Terminations Effective on this Channel" ::= { channelEntry 3 } channelStatus OBJECT-TYPE SYNTAX INTEGER { quiet(1), active(2) } ACCESS read-only STATUS mandatory DESCRIPTION "Current Activity Status (QUIET/ACTIVE) for this Channel." ::= { channelEntry 4 } -- GetLastError Trap strings declaration starts here adapterSetFailure OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "This is the Last SET Operation Failed by the Adapter Firmware." ::= { megaRaidMib 5 } adapterCheckSetFailure OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "This is the Last CHECKSET Operation Rejected by the SNMP Agent due to the Invalid Input Value." ::= { megaRaidMib 6 } adapterInformation OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "This is the Last State Change of Physical/Logical Drive Occurred on the Adapter." ::= { megaRaidMib 7 } adapterCriticalFailure OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "This is the Critical Failure (eg: Adapter-Not-Responding) on the Adapter." ::= { megaRaidMib 8 } ioReadsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total IO Reads Per Second on all the Adapters." ::= { megaRaidMib 9 } ioWritesPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total IO Writes Per Second on all the Adapters." ::= { megaRaidMib 10 } readKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total Read KBs Per Second on all the Adapters." ::= { megaRaidMib 11 } writeKBsPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total Write KBs Per Second on all the Adapters." ::= { megaRaidMib 12 } readFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total Read Failures Per Second on all the Adapters." ::= { megaRaidMib 13 } writeFailuresPerSec OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The Total Write Failures Per Second on all the Adapters." ::= { megaRaidMib 14 } -- Trap definition starts here raidSetFailure TRAP-TYPE ENTERPRISE megaRaidMib VARIABLES { adapterSetFailure } DESCRIPTION "This Trap Indicates Adapter SET Operation(s) Failed by Firmware." ::= 2 raidCheckSetFailure TRAP-TYPE ENTERPRISE megaRaidMib VARIABLES { adapterCheckSetFailure } DESCRIPTION "This Trap Indicates CheckSet Operation(s) Which were Rejected by the SNMP Agent Due to the Invalid Input Value." ::= 3 raidInformation TRAP-TYPE ENTERPRISE megaRaidMib VARIABLES { adapterInformation } DESCRIPTION "This Trap Indicates Last State Change of Physical/Logical Drive on the Adapter." ::= 4 raidCriticalFailure TRAP-TYPE ENTERPRISE megaRaidMib VARIABLES { adapterCriticalFailure } DESCRIPTION "This Trap Indicates Critical Failure (example: Adapter-Not-Responding) on the Adapter." ::= 5 -- This marks end of the MIB definitions END