Most Library Manager SNMP trap messages contain both a set of parameters and a message string. The parameters are intended to aid the programmer in extracting the necessary information from the trap message. The message string is intended for customers who do not have the ability to program the network monitor station software to parse and process the Library Manager SNMP traps. Each Library Manager SNMP contains this message string, which will contain enough information to post to the simplest SNMP monitor program.

The basic format for a Library Manager SNMP Trap Message is as follows:

3494 [Library Sequence Number] [Library Manager Trap Type] [Trap Number] {Rest of Message}

3494 Indicates that this message was generated by a 3494 library.

Library Sequence Number

This is the Library Sequence Number of the logical Library which generated the message. It gives the programmer the ability to know which 3494 generated the SNMP Trap message. All 3494s have a unique Library Sequence Number.

Library Manager Trap Type

This will be one of the following:

vOPINT

vUNSOL

vSERVC

vCHCK1

vTESTM

Trap Number

This will be the trap number of the Library Manager Trap Type. Each Library Manager Trap Type contains a unique set of traps, each with its own format. This ®eld allows the programmer to determine which Library Manager Trap Type message was sent.

Rest of Message

The content of this part of the Library Manager SNMP trap message is quite ¯exible. Some Library Manager messages will contain parameters and/or a message string. The Library Manager SNMP trap message parameters are meant to help the monitoring station software gather the related information quickly. The message string is meant for human readability.

Here is an example of a Library Manager SNMP trap message:

3494 C2444 OPINT 4 - - - *The Library is full.

In this example, the message was generated from a 3494 tape library, with a Library Sequence Number of C2444. The Library Manager Trap Type is OPINT, or an operator intervention. The OPINT trap number is 4, the parameters are all -, and the rest of the trap message informs us that the library is full of cartridges.

Outline for Receiving Library Manager SNMP Traps

1.Make sure that the SNMP trap was generated from a 3494 Tape Dataserver.

2.If the message was generated from a Library Manager, tokenize the incoming SNMP trap, and read which 3494 Tape Dataserver generated the trap message. This can be done by reading the Library Sequence Number.

214Magstar 3494 Tape Library Operator Guide

Page 236
Image 236
IBM Magstar 3494 Outline for Receiving Library Manager Snmp Traps, Library Manager Trap Type, Trap Number, Rest of Message