RE: [nv-l] trap format not right!
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
This command ran fine without errors and created
nokia.sh with add trap which i executed and loaded
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..
--- "Evans, Bill" <Bill.Evans AT hq.doe DOT 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 AT lists.us.ibm DOT com
> [mailto:owner-nv-l AT lists.us.ibm DOT com] On
> Behalf Of Larry Fagan
> Sent: Friday, February 18, 2005 4:30 PM
> To: nv-l AT lists.us.ibm DOT com
> Subject: [nv-l] trap format not right!
> Hi all,
> I'm getting these below said traps in Netview from
> of our Nokia devices. I have the MIB's loaded and
> 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
> this is one which gives wierd message format. I used
> mib2trap to load mibs.
> " TEC_ITS_BASE - Agent Interface Down (linkDown
> enterprise:ENTERPRISES (188.8.131.52.184.108.40.206.220.127.116.11)
> args(1): 
> (Integer): 5 "
> Any ideas.. Many Thanks,
> Do you Yahoo!?
> The all-new My Yahoo! - What will yours do?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around