BIll,
THnaks for replying. Here is what i did. Attached are
the two MIBs 1.NOKIA-IPSO-SYSTEM-MIB.txt 2. IF-MIB.txt
I ran command as below.
mib2trap NOKIA-IPSO-SYSTEM-MIB.txt nokia.sh
nokia.baroc.
This command ran fine without errors and created
nokia.sh with add trap which i executed and loaded
mibs.
Now when i ran IF-MIB.txt as below:
mib2trap IF-MIB.txt if.sh
I got errors saying Enterprise ID not found. So i
picked up -i from nokia.sh and added in the if.sh and
executed the addtrap to load mibs.
IS this right?
Also i noticed in trapd.log, the hostname of the nokia
device is 0.0.0.0. and even the origin.
Many thanks for helping me out guys..
Larry
--- "Evans, Bill" <Bill.Evans@hq.doe.gov> wrote:
> This is a common problem for new NetView users,
> Larry. Loading the MIBs
> does nothing for traps. Loading MIBs allows the MIB
> Browsers and their
> cousins to function correctly.
>
> The data you appended is enough for a manual
> customization of the trapd.conf
> file. You have to either manually customize traps
> using the trap tool
> (xnmtrap is the command line entry to open the
> interface) or you need to see
> if the trap you are interested in is defined in the
> MIBs. (Directly editing
> trapd.conf is not recommended.) Usually the
> definition is at the end of the
> MIB file. Then you run MIB2TRAP, make sure the
> Enterprise ID exists in the
> output file, then execute the output file (it
> contains ADDTRAP commands).
>
> Failing to have all the dependencies in place is the
> biggest problem. It
> usually results in the Enterprise ID not being
> present in the ADDTRAP
> commands which are created. You can add it manually
> if it's not there.
>
> Good luck.
>
> Bill Evans
> Tivoli NetView support for DOE
>
>
> -----Original Message-----
> From: owner-nv-l@lists.us.ibm.com
> [mailto:owner-nv-l@lists.us.ibm.com] On
> Behalf Of Larry Fagan
> Sent: Friday, February 18, 2005 4:30 PM
> To: nv-l@lists.us.ibm.com
> Subject: [nv-l] trap format not right!
>
> Hi all,
> I'm getting these below said traps in Netview from
> one
> of our Nokia devices. I have the MIB's loaded and
> OID
> is in the message but nothing else. no hostname, no
> origin and no enterprise nothing except link up or
> down. or is possible that i have loaded MIB's wrong.
> How do i know if MIbs loaded are not right. I have
> loaded two mibs for this device. First with absolute
> no errors, and second MIb with error saying
> :enterprise ID not found". SO i used the -i and OID
> from previous addtrap and loaded using xnmloadmib2
> And
> this is one which gives wierd message format. I used
> mib2trap to load mibs.
>
> " TEC_ITS_BASE - Agent Interface Down (linkDown
> Trap)
> enterprise:ENTERPRISES (1.3.6.1.4.1.94.1.21.2.1.12)
> args(1): [1]
> mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex.5
> (Integer): 5 "
>
> Any ideas.. Many Thanks,
> Larry
>
>
>
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - What will yours do?
> http://my.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|