To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: Proprietary MIB Traps |
From: | James Shanks <James_Shanks@TIVOLI.COM> |
Date: | Tue, 30 Nov 1999 10:58:58 -0500 |
David - I cannot take problems off the list to do any detail work on. You have to get formal help from Tivoli support for that. But, the deal is that the MIB you are using isn't complete. It is relying on another MIB to provide the enterprise defintion. A quick look at the imports section tells me that it is probably the Fore-Common-MIB. The other imports are for standard stuff the MIB compiler already knows about. Since mib2trap reads the MIB file you specify (and not the compiled MIB database) the addtrap script it builds doesn't know what enterprise id to use. So you have three choices. (1) you can make a new mib file, containing both the predecessor MIB (first), in this case the Fore-Common-MIB, I think, and the MIB with all the traps in it (second) so that the enterprise definition is included in the file. Then run mib2trap against that and it should build the addtrap command with the correct value for the -i parameter. If the Fore-Common-MIB is not the most basic one, then you would have to enlarge the file to include whatever that one depends on. (2) you can edit the MIB file with all the traps in it and add the missing enterprise defintion. This comes from the most basic Fore MIB and adds their enterprise id to the 1.3.6.1.4.1 string that all enterprises follow. You could just copy this out of the other MIB and add it to the one you are using with mib2trap, assuming you can find it, and that the second MIB picks up from there. This requires that you have a little bit of experinec reading MIBs. (3) you can edit the addtrap output and add the correct -i parameter to each command. After you have loaded the MIBs in the MIB browser, you can use the browser to determine what that is. Hope this helps James Shanks Tivoli (NetView for UNIX) L3 Support "Clay David (rti1dwc)" <rti1dwc@ISMD.UPS.COM> on 11/30/99 10:08:04 AM Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU> To: NV-L@UCSBVM.UCSB.EDU cc: (bcc: James Shanks/Tivoli Systems) Subject: Re: Proprietary MIB Traps James, 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@TIVOLI.COM] Sent: Tuesday, November 30, 1999 8:57 AM To: NV-L@UCSBVM.UCSB.EDU 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 addtrap script you can use to add definitions of traps to trapd.conf. Or you can do it yourself with xnmtrap. And you may want to use xnmtrap after you have added your definitions because 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 the trapd.log and on the event window which says "NO FMT FOUND" for that trap, and 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 the 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@ISMD.UPS.COM> on 11/30/99 07:54:20 AM Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU> To: NV-L@UCSBVM.UCSB.EDU 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
event.info
fore-switch.mib
fore-switch.trap |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: Discovering selective nodes with NV6K Ver 6.0, Owens, Blaine C |
---|---|
Next by Date: | Re: Netview on 2 screens, Boyles, Gary P |
Previous by Thread: | Re: Proprietary MIB Traps, Clay David (rti1dwc) |
Next by Thread: | Re: Proprietary MIB Traps, Clay David (rti1dwc) |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web