Re: Proprietary MIB Traps

1999-11-30 10:08:04
Subject: Re: Proprietary MIB Traps
From: "Clay David (rti1dwc)" <rti1dwc AT ISMD.UPS DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 30 Nov 1999 10:08:04 -0500

Thanks for the answer. I have used the mib2trap utility. It works fine for
some of my mibs but this one particular mib it seems to have a problem with.
The mib is named fore-switch.mib and has a statement in there for IMPORTS
RFC1215.....Now when I use the mib2trap utility it creates the script file
but gives me messages about "Enterprise object id not found for trap
xxxxxx". When looking at the script file I notice a difference from the one
that works verses the one that doesn't which is -i option is being used. The
big deal is that this mib file has about 100 trap definitions so adding them
manually will take a long time. I have enclosed the script file generated by
the mib2trap and the event created by me purposely to see what the event
shows as. Can you look at this info and tell me an easy way to accomplish
getting these trap definitions defined. Thanks very much.

Dave Clay

-----Original Message-----
From: James Shanks [mailto:James_Shanks AT TIVOLI DOT COM]
Sent: Tuesday, November 30, 1999 8:57 AM
Subject: Re: Proprietary MIB Traps

Trap definitions do not get added automatically in NetView.  You can use
mib2trap against a MIB containing trap definitions and it will build an
script you can use to add definitions of traps to trapd.conf.  Or you can do
yourself with xnmtrap.
And you may want to use xnmtrap after you have added your definitions
the defaults provided by most vendors are minimal and often need
modification to
be truly valuable.

If you miss defining a trap, it is no big deal.  You will get a message in
trapd.log and on the event window which says "NO FMT FOUND" for that trap,
it will list the enterprise id, the generic and specific ids, and all the
variables, so you can easily use that information to define that trap for
next time.

There is a whole section on defining traps in the NetView Admin Guide.  That
should be available on-line if you installed the books.

James Shanks
Tivoli (NetView for UNIX) L3 Support

"Clay David (rti1dwc)" <rti1dwc AT ISMD.UPS DOT COM> on 11/30/99 07:54:20 AM

Please respond to Discussion of IBM NetView and POLYCENTER Manager on

cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  Proprietary MIB Traps

I have several proprietary mibs from Fore Systems that I will be compiling
into Netview. My question is about the trap definitions in the mibs. Once I
compile the mibs will the traps defined in the mib be created within the
trapd.conf file automatically or will I have to do this manually? If I need
to do this manually what information will I need to specify in the
trapd.conf file. Thanks in advance.

Dave Clay        UPS

Attachment: event.info
Description: Binary data

Attachment: fore-switch.mib
Description: Binary data

Attachment: fore-switch.trap
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>