StorageLibrary-MIB DEFINITIONS ::= BEGIN -- Last changed: 1-30-03 -- Author: Mary Hayes -- -- Import required symbols from standard definitions -- IMPORTS enterprises FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 DisplayString FROM RFC1213-MIB TRAP-TYPE FROM RFC-1215; -- -- Textual-Convention of some common data types for storage libraries -- -- Used to define the overall library availability status -- LibStatus ::= INTEGER { unavailable(1), available(2) } -- This is the element address for an element within a library. Element -- addresses usually present in numeric form in consecative order -- for the same element type. However, there is no restriction on -- the element address format. It is defined as size 64 octet string -- to maintain its generic nature. -- -- ElemAddr ::= OCTET STRING (SIZE (0..64)) -- OnOff is an extended boolean type. It is used to turn on or off -- a particular feature of the device. In addition, an NotApplicable -- value may be set to indicate this feature is not application to -- the media changer. -- -- OnOff ::= INTEGER { off(1), on(2), notApplicable(3) } -- Used to define trap enabling variables -- TrapToggle ::= INTEGER { disabled(1), enabled(2) } -- Used to maintain the last trap type sent from the agent -- TrapType ::= INTEGER { info(1), warn(2), fail(3), available(4), unavailable(5), notrap(6)} -- -- ATL Products' Storage Library Specific Identifier -- atlp OBJECT IDENTIFIER ::= { enterprises 2036 } -- ATL Products storageLib OBJECT IDENTIFIER ::= { atlp 1 } -- Groups slLibInfo OBJECT IDENTIFIER ::= { storageLib 1 } slTrapVar OBJECT IDENTIFIER ::= { storageLib 2 } slTrapEnable OBJECT IDENTIFIER ::= { storageLib 3 } -- -- Not implementing this part of the MIB yet -- -- slDrive OBJECT IDENTIFIER ::= { storageLib 4 } -- slStorBin OBJECT IDENTIFIER ::= { storageLib 5 } -- slIEBin OBJECT IDENTIFIER ::= { storageLib 6 } slNumber OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "The number of storage libraries connected to the server." ::= { slLibInfo 1 } -- -- Storage library table definition -- slTable OBJECT-TYPE SYNTAX SEQUENCE OF SlEntrySequence ACCESS not-accessible STATUS mandatory DESCRIPTION "Table of general information for a storage library." ::= { slLibInfo 2 } slEntry OBJECT-TYPE SYNTAX SlEntrySequence ACCESS not-accessible STATUS mandatory DESCRIPTION "A row in the storage library table. Rows cannot be created or deleted via direct SNMP operations." ::= { slTable 1 } SlEntrySequence ::= SEQUENCE { slIndex INTEGER, slDeviceName DisplayString (SIZE(0..255)), slAssignedName DisplayString (SIZE (0..64)), slLocation DisplayString (SIZE (0..64)), slVendorId DisplayString (SIZE (0..64)), slProdId DisplayString (SIZE (0..64)), slProdRev DisplayString (SIZE (0..64)), slState INTEGER, slTrapType INTEGER, slTrapDescr DisplayString (SIZE (0..255)), slSenseKey DisplayString (SIZE (0..255)), slASC DisplayString (SIZE (0..255)), slASCQ DisplayString (SIZE (0..255)) -- -- Not implemented yet -- -- slTransportCount INTEGER, -- slTransportStart ElemAddr, -- slDriveCount INTEGER, -- slDriveStart ElemAddr, -- slImpExpCount INTEGER, -- slImpExpStart ElemAddr, -- slStorageCount INTEGER, -- slStorageStart ElemAddr, -- slAutoClean OnOff, -- slNoBarcodeLabel OnOff, -- slAutoInit OnOff } slIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "A unique index for each storage library. The value ranges from 1 to the value of slNumber." ::= { slEntry 1 } slDeviceName OBJECT-TYPE SYNTAX DisplayString (SIZE(0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "The media changer device name on the connecting host system. This value is read from TODO.cfg config file." ::= { slEntry 2 } slAssignedName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-write STATUS mandatory DESCRIPTION "The storage library name. If none is given, the default value is the name of the medium changer device defined for this storage library ( slDeviceName) ." ::= { slEntry 3 } slLocation OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-write STATUS mandatory DESCRIPTION "The storage library location. If none is provided, the value is an empty string." ::= { slEntry 4 } slVendorId OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-only STATUS mandatory DESCRIPTION "The manufacturing vendor." ::= { slEntry 5 } slProdId OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-only STATUS mandatory DESCRIPTION "The product model." ::= { slEntry 6 } slProdRev OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-only STATUS mandatory DESCRIPTION "The product revision." ::= { slEntry 7 } slState OBJECT-TYPE SYNTAX INTEGER { unavailable(1), available(2) } ACCESS read-only STATUS mandatory DESCRIPTION "The current state of the storage library." ::= { slEntry 8 } slTrapType OBJECT-TYPE SYNTAX INTEGER { info(1), warn(2), fail(3), available(4), unavailable(5), notrap(6)} ACCESS read-only STATUS mandatory DESCRIPTION "Identifies the trap-type of the last trap sent" ::= { slEntry 9 } slTrapDescr OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "A textual description of the reason for the last trap sent." ::= { slEntry 10 } slSenseKey OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a sense key associated with the last trap sent. If not available, the value is an empty string." ::= { slEntry 11 } slASC OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a ASC value for the last trap sent. If not available, the value is an empty string." ::= { slEntry 12 } slASCQ OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a ASCQ value for the last trap sent. If not available, the value is an empty string." ::= { slEntry 13 } -- The Trap Var group is not accessible and is used so that traps -- can send variables that are not part of a table. Something -- that the Solstice Enterprise Agent seems to have a problem with. slIndexVar OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "A unique index for each storage library. The value ranges from 1 to the value of slNumber." ::= { slTrapVar 1 } slAssignedNameVar OBJECT-TYPE SYNTAX DisplayString (SIZE (0..64)) ACCESS read-only STATUS mandatory DESCRIPTION "The storage library name. If none is given, the default value is the name of the medium changer device defined for this storage library ( slDeviceName) ." ::= { slTrapVar 2 } slStateVar OBJECT-TYPE SYNTAX INTEGER { unavailable(1), available(2) } ACCESS read-only STATUS mandatory DESCRIPTION "The current state of the storage library." ::= { slTrapVar 3 } slTrapDescrVar OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "A textual description of the reason for the last trap sent." ::= { slTrapVar 4 } slSenseKeyVar OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a sense key associated with the last trap sent. If not available, the value is an empty string." ::= { slTrapVar 5 } slASCVar OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a ASC value for the last trap sent. If not available, the value is an empty string." ::= { slTrapVar 6 } slASCQVar OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) ACCESS read-only STATUS mandatory DESCRIPTION "If available, a ASCQ value for the last trap sent. If not available, the value is an empty string." ::= { slTrapVar 7 } -- The Trap Enable group contains objects that the agent uses -- to determine which traps are to be sent to the defined network -- manager(s). Each variable can be individually enabled or disabled. slInfoEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether detected information traps are sent. This type of trap will be sent to the defined management station(s) if the value of slInfoEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 1 } slWarnEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether detected warning traps are sent. This type of trap will be sent to the defined management station(s) if the value of slWarnEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 2 } slFailEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether detected failure traps are sent. This type of trap will be sent to the defined management station(s) if the value of slFailEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 3 } slAvailableEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether detected library available state change traps are sent. This type of trap will be sent to the defined management station(s) if the value of slAvailableEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 4 } slUnavailableEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether detected library unavailable state change traps are sent. This type of trap will be sent to the defined management station(s) if the value of slUnavailableEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 5 } slRepeatTrapEnable OBJECT-TYPE SYNTAX INTEGER ACCESS read-write STATUS mandatory DESCRIPTION "The variable defines whether duplicate information, warning and failure traps are sent when a trap condition is repeatedly detected. Duplicate traps may be sent in certain conditions when slRepeatTrapEnable is 2 and not sent if the value is 1." ::= { slTrapEnable 6 } -- These traps are generated when an error is detected and the -- appropriate trap flag is enabled. slInfoTrap TRAP-TYPE ENTERPRISE atlp VARIABLES { slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, slTrapDescrVar } DESCRIPTION "A check condition has been detected that provides information about the storage library. The slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, and slTrapDescrVar variables provide more information about the trap. This trap will only be sent if the value of slInfoEnable is 2 and not sent if the value is 1." ::= 1 slWarnTrap TRAP-TYPE ENTERPRISE atlp VARIABLES { slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, slTrapDescrVar } DESCRIPTION "A check condition has been detected that provides information about the storage library. The slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, and slTrapDescrVar variables provide more information about the trap. This trap will only be sent if the value of slWarnEnable is 2 and not sent if the value is 1." ::= 2 slFailTrap TRAP-TYPE ENTERPRISE atlp VARIABLES { slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, slTrapDescrVar } DESCRIPTION "A check condition has been detected that provides information about the storage library. The slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, and slTrapDescrVar variables provide more information about the trap. In the case of an unknown check condition, changedDescr will be blank. This trap will only be sent if the value of slFailEnable is 2 and not sent if the value is 1." ::= 3 slAvailableTrap TRAP-TYPE ENTERPRISE atlp VARIABLES { slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, slTrapDescrVar } DESCRIPTION "The storage library has changed from an unavailable to an available state. The slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, and slTrapDescrVar variables provide more information about the trap. This trap will only be sent if the value of slAvailableEnable is 2 and not sent if the value is 1." ::= 4 slUnavailableTrap TRAP-TYPE ENTERPRISE atlp VARIABLES { slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, slTrapDescrVar } DESCRIPTION "The storage library has changed from an available to an unavailable state. The slIndexVar, slAssignedNameVar, slStateVar, slSenseKeyVar, slASCQVar, slASCVar, and slTrapDescrVar variables provide more information about the trap. This trap will only be sent if the value of slUnavailableEnable is is 2 and not sent if the value is 1." ::= 5 END