Scott --
Forgive me, but I am not certain just what you are asking. mib2trap
gives you an addtrap script with a default format that lists the name of
the enterprise, the generic and specific trap numbers, and lists all the
variables in a "Log Only" event. You can use xnmtrap to change any or all
of this.
How do you get all the varbinds? Your can just put in $* and they will
all be listed. You might want to re-read the man page on trapd.conf if
this is news to you.
What do the varbinds mean? For that you have to consult the hardware doc
that came with the device. Or look for some on-line. Or peruse the MIB
itself and see what the objects are and the comments say, if there are
any. I was just going by what the trap itself said. The only real
message I saw in what you posted was:
"The operation has failed because the library door is open: 1. Clear any
obstructions from the library door. 2. Close the library door."
The rest of it was all just MIB objects, which you can find in the MIB if
you really want to, and see what it says about them.
Seriously, Scott, I don't know anything about the IBM Tape Library. It's
just another piece of hardware to me. If there's any doc, then it is
probably in the manuals that the owner got when he took delivery. If you
aren't the owner, then presumably the trap means something to him that it
does not mean to you. There may be on-line doc available at
http://www.ibm.com, but you would have to look for it. Personally, I
think you are making too big a deal out of it if you go that far. Most of
the time, you should be able to dig most, if not all, of what you want out
of the MIB itself. Does the MIB have comments in it where it defines
the traps? How about the various objects included as varbinds? Those
comments might be the best place to look.
Good luck
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
10/23/2002 10:35 AM
To: James Shanks/Raleigh/IBM@IBMUS
cc: nv-l@lists.tivoli.com
Subject: RE: [nv-l] IBM Tape Library Trap Format
The owner of the Tape Library is interested in all of the varbinds. How
would I be able to give them all to him?
I used the mib2trap and I am not sure how I would format the traps. Is
there
any documentation that may help me out here?
Scott Bursik
Event Systems Management
Pepsico Business Solutions Group
(972) 334-3757
scott.bursik@pbsg.com
-----Original Message-----
From: James Shanks [mailto:jshanks@us.ibm.com]
Sent: Wednesday, October 23, 2002 9:16 AM
To: Bursik, Scott {PBSG}
Cc: nv-l@lists.tivoli.com
Subject: Re: [nv-l] IBM Tape Library Trap Format
Loaded the MIB? Loading MIBs does not format the trap in trapd.conf. You
need to run mib2trap for that. It produces addtrap output to add the trap
to trapd.conf.
Even so, it looks to me as though varbind 7 contains the important
information. So you will probably want to change the default formatting
provided by mib2trap into something more readable for the operators.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
10/23/2002 09:28 AM
To: nv-l@lists.tivoli.com
cc:
Subject: [nv-l] IBM Tape Library Trap Format
NetView 6.0.3 AIX 4.3.3
I am working with an IBM Tape library that sends traps to NetView when it
experiences issues. I loaded the MIB and when the traps come in they look
like below. Is there a step I am missing here?
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ?
Enterprise specific trap (0) from ibm: args(7):
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [1]
ibm3584MIBObjects.ibm3584MIBGroupMTMNLSN.0.0 (OctetString): 3584 L32
1311736
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [2]
ibm3584MIBObjects.ibm3584MIBGroupSKASCASCQ.0.0 (OctetString): 02 04 85
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [3]
ibm3584MIBObjects.ibm3584MIBGroupHECHECQ.0.0 (OctetString): 01 01
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [4]
ibm3584MIB.ibm3584MIBObjects.ibm3584MIBGroupTA.0.0 (OctetString): 10
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [5]
ibm3584MIBObjects.ibm3584MIBGroupURC.0.0 (OctetString): 0000
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [6]
ibm3584MIBObjects.ibm3584MIBGroupFFFD.0.0 (OctetString): 00 00
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ? [7]
ibm3584MIB.ibm3584MIBObjects.ibm3584MIBGroupTD.0.0 (OctetString): The
operation has failed because the library door is open: 1. Clear any
obstructions from the library door. 2. Close the library door.
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ?
community:xxxxxx enterprise:1.3.6.1.4.1.2.6.182.1.0
1035318810 3 Tue Oct 22 15:33:30 2002 pbsglto01.fritolay.pvt ?
AgentAddr:pbsglto01.fritolay.pvt generic-trap:6 time:413647375
Scott Bursik
Event Systems Management
Pepsico Business Solutions Group
scott.bursik@pbsg.com
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|