An SNMP trap is assigned a number that corresponds to its type. An embedded SNMP agent can distinguish and filter trap recipients based on the trap numbers for which they are registered.
Generic traps (1-10) are generated from log entries. Event-based traps (11 and higher) are generated from library events and contain object IDs (OIDs).
Generic traps contain:
Severity codes, for indications such as an error or a warning
Result codes, such as 0000 =success, or 5010 =robotic position error
Activity string, such as HLI move or CLI version print
A descriptive text string
Date and time
Other information, such as:
Device address associated with the event
User name associated with the activity
Interface-specific request identifier
Generic Trap | Sent When | SL150 | SL3000 | SL8500 |
---|---|---|---|---|
slTrapError (1) | Errors are posted in the log | x | x | x |
slTrapWarning (2) | Warnings are posted in the log | x | x | x |
slTrapInformation (3) | Information is posted in the log | x | x | x |
slTrapConfiguration (4) | Changes are made in a system property, such as network IP or Fibre mode | x |
Reports a device condition critical to library operation.
MIB Objects:
slTrapLibrarySerialNumber
slTrapDeviceId
slTrapDeviceTime
slTrapDeviceAddress
slTrapDeviceUserName
slTrapDeviceInterfaceName
slTrapDeviceActivity
slTrapDeviceRequestId
slTrapDeviceSeverity
slTrapDeviceResultCode
slTrapDeviceFreeFormText
Reports a device condition which may need attention, such as a recoverable device failure that places the system in a degraded mode.
MIB Objects:
slTrapLibrarySerialNumber
slTrapDeviceId
slTrapDeviceTime
slTrapDeviceAddress
slTrapDeviceUserName
slTrapDeviceInterfaceName
slTrapDeviceActivity
slTrapDeviceRequestId
slTrapDeviceSeverity
slTrapDeviceResultCode
slTrapDeviceFreeFormText
Reports information for normal activity monitoring.
MIB Objects:
slTrapLibrarySerialNumber
slTrapDeviceId
slTrapDeviceTime
slTrapDeviceAddres
slTrapDeviceUserName
slTrapDeviceInterfaceName
slTrapDeviceActivity
slTrapDeviceRequestId
slTrapDeviceSeverity
slTrapDeviceResultCode
slTrapDeviceFreeFormText
Reports changes made to a system property or configuration, such as an IP address.
MIB Objects:
slTrapLibrarySerialNumber
slTrapDeviceId
slTrapDeviceTime
slTrapDeviceAddress
slTrapDeviceUserName
slTrapDeviceInterfaceName
slTrapDeviceActivity
slTrapDeviceRequestId
slTrapDeviceSeverity
slTrapDeviceResultCode
slTrapConfigPropertyName,
slTrapConfigNewPropertyValue
slTrapConfigNewPropertyEffective
Messages for traps 11-102 contain information specific to the agent, device, or media. Consult each trap within the library's MIB for the specific data objects returned.
Event-based traps are divided into the following groups:
Agent-specific: 11-20
Device-specific: 21-100
Library status: 21-27
Drive status: 41-45
Cartridge access port (CAP) status: 61-65
Pass-thru port (PTP) status: 81-85
Media-specific: 101 and above
Trap | Sent When | SL150 | SL3000 | SL8500 |
---|---|---|---|---|
slTrapAgentStart (11) | An SNMP agent has started. | x | x | x |
slTrapAgentTest (13) | slAgentTrapTestLevel OID is written with a 13. | x | x | x |
slTrapAgentHeartbeatA (14) | Heartbeat is at frequency A (quick rate). | x | x | x |
slTrapAgentHeartbeatB (15) | Heartbeat is at frequency B (slow rate). | x | x | x |
slTrapLibStatusGood (21) | Library has changed to normal mode. | x | x | x |
slTrapLibStatusCheck (25) | Library has changed from normal mode. | x | x | x |
slTrapEnvHdwCheck (27) | A device in the library has had an environmental check. | x | x | x |
slTrapDrvStatusGood (41) | Drive has changed to a normal mode. | x | x | x |
slTrapDrvStatusCheck (45) | Drive has changed from normal mode. | x | x | x |
slTrapCapStatusGood (61) | CAP has changed to a normal mode. | x | x | x |
slTrapCapStatusOpen (63) | CAP state has changed to open. | x | x | x |
slTrapCapStatusCheck (65) | CAP status has changed from normal mode. | x | x | x |
slTrapPtpStatusGood (81) | PTP status has changed to good (normal mode) | x | ||
slTrapPtpStatusCheck (85) | PTP status has changed from a normal mode. | x | ||
slTrapTbiEvent (100) | Proprietary | |||
slTrapSvcEvent (101) | Proprietary | |||
slTrapAsrEvent (102) | Proprietary |
Sent when the agent starts.
MIB Objects:
slAgentBootDate
slAgentLibStatusAtStartup
slAgentHaState
slAgentHaId
slAgentHASlot
slAgentHaAlternateIp
slControllerFru
slLibSerialNumber
Sent when slAgentTrapTestLevel OID is written with a 13.
MIB Objects:
slTrapCount
slTrapLibBootDate
slTrapLibDateString
slTrapLibSerialNumber
slTrapLibTopLevelCondition
slTrapHaState
slTrapHaId
slTrapHaSlot
slTrapHaAlternateIp
Sent at heartbeat frequency A (quick rate).
MIB Objects:
slTrapCount
slTrapLibBootDate
slTrapLibDateString
slTrapLibSerialNumber
slTrapLibTopLevelCondition
slTrapHaState
slTrapHaId
slTrapHaSlot
slTrapHaAlternateIp
Sent at heartbeat frequency B (slow rate).
MIB Objects:
slTrapCount
slTrapLibBootDate
slTrapLibDateString
slTrapLibSerialNumber
slTrapLibTopLevelCondition
slTrapHaState
slTrapHaId
slTrapHaSlot
slTrapHaAlternateIp
Sent when the library status changes to good (normal mode).
MIB Objects:
slLibraryTopLevelCondition
slLibStkBaseModel
slLibSerialNumber
Sent when the library condition changes from a normal mode, such as degraded or not-operative.
MIB Objects:
slLibraryTopLevelCondition
slLibStkBaseModel
slLibSerialNumber
Sent when the library environment or hardware condition changes.
MIB Objects:
slTrapLibrarySerialNumber
slTrapDeviceId
slTrapDeviceTime
slTrapDeviceAddress
slTrapDeviceUserName
slTrapDeviceInterfaceName
slTrapDeviceActivity
slTrapDeviceRequestId
slTrapDeviceSeverity
slTrapDeviceResultCode
slTrapDeviceFreeFormText
Sent when a drive status changes to good (normal mode).
MIB Objects:
slLibSerialNumber
slDriveState
slDrivePhysicalAddressStr
slDriveType
slDriveVendor
slDriveSerialNum
Sent when a drive status changes from a normal mode to a check condition, such as error, warning, or unknown.
MIB Objects:
slLibSerialNumber
slDriveState
slDrivePhysicalAddressStr
slDriveType
slDriveVendor
slDriveSerialNum
Sent when a CAP status changes to a normal mode.
MIB Objects:
slLibSerialNumber
slCapState
slCapPhysicalAddressStr
Sent when a CAP status changes to Open.
MIB Objects:
slLibSerialNumber
slCapState
slCapAddress
Sent when a CAP status changes from a normal mode, such as error, warning, or unknown.
MIB Objects:
slLibSerialNumber
slCapState
slCapPhysicalAddressStr
Sent when a PTP status changes to good (normal mode).
MIB Objects:
slLibSerialNumber
slPtpState
slPtpPhysicalAddressStr
Sent when a PTP status changes from a normal mode, such as an error, warning, or unknown.
MIB Objects:
slLibSerialNumber
slPtpState
slPtpPhysicalAddressStr