IBM TotalStorage 3494 Tape Library Operator's Manual page 389

Table of Contents

Advertisement

Perform the following steps to receive Library Manager SNMP traps:
1. Ensure that the SNMP trap was generated from a 3494 Tape Library.
2. If the message was generated from a Library Manager, tokenize the incoming
SNMP trap and determine which 3494 Tape Library generated the trap
message. This can be done by reading the Library Sequence Number.
3. Determine the Library Manager SNMP Trap Type that was sent. This is one of
the Library Manager SNMP Trap Types. This is the next field in the
space-delimited string.
4. When you have determined that the SNMP trap message was generated from a
3494 Tape Library, its identity, and the type of Library Manager SNMP trap
message that was sent, the message can be tokenized again to remove the
message parameters and message string.
Note: It is a good idea to program the monitor station to handle conditions such
as an unrecognized Library Manager SNMP trap. Additional Library
Manager SNMP traps may be added and documentation updated, as they
are updated.
Programming Tools
The Library Manager code contains an aid for the developer to help check the
monitor's ability to handle all the Library Manager SNMP traps. This program is
located in C:\lm\exe.
To use the program, first ensure that SNMP is enabled and configured on the
Library Manager. The program cannot generate any SNMP traps if SNMP is not
enabled on the Library Manager.
To start the program, open a service window and enter SNMPTEST.
If the program does not come to the foreground, press the Ctrl + Esc keys to bring
up the Window List. Select the SNMPTEST program. Use the program to generate
the required SNMP traps, and when done, exit the SNMPTEST program and close
the service window.
OPINT Library Manager SNMP Traps
This section discusses the format of the Library Manager OPINT SNMP traps.
Library Manager OPINT SNMP traps are the easiest to program for, because they
all follow the same format. The general Library Manager OPINT SNMP trap has
the following format:
3494 {Library Sequence Number} OPINT {OPINT Trap Number} {Parameter A}
{Parameter B} {Parameter C} {Actual Library Manager OPINT Trap Message}
The following is an example of an OPINT Library Manager SNMP Trap:
3494 C2444 OPINT 48 180 - - A cartridge containing invalid media has
been left in the device 180 feed slot. Remove the cartridge.
In this example, a cartridge with invalid media type has been left in the feed slot
of device 180 on library C2444.
Note:
Chapter 6. Advanced Operating Procedures
363

Advertisement

Table of Contents
loading

Table of Contents