nv-l
[Top] [All Lists]

RE: [nv-l] trap format not right!

To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] trap format not right!
From: Larry Fagan <larrytechie@yahoo.com>
Date: Tue, 22 Feb 2005 06:54:01 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivery-date: Tue, 22 Feb 2005 14:54:43 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=grubb/GXOJtEWHpzWbQsc/PAEx9dRsWHs2POOsUYr3H4MZvBYX/c53j8fPEPEOQ7sgoJF+SUGRQQqQ0K/uvApYek7IglV1CRRy3TG8T+OMdzrGvWSmCqnlccrFaQiVMhPQ5yv1zMsUybcsTvrcepEse1pgsI/92c4XxZCTDKlbo= ;
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <EC54897E4FB38748809FB25733A27482660A55@HQGTNEX2.doe.local>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
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 

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

Archive operated by Skills 1st Ltd

See also: The NetView Web