nv-l
[Top] [All Lists]

RE: [nv-l] mib question/problem - using mib2trap

To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] mib question/problem - using mib2trap
From: James Shanks <jshanks@us.ibm.com>
Date: Fri, 10 Mar 2006 10:02:30 -0500
Delivery-date: Fri, 10 Mar 2006 15:03:01 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <C1E741B7864D3944B465ABB1DFF7259204449684@expgpo01.anpost.net>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Colin,

Let me give you a tip on one way you can use mib2trap more successfully if
your MIB definitions are spread over several MIBs,
mib2trap uses the same parsing engine as xnmloadmib2 (loadmibv2 on
Windows).

You can use xnmloadmib2 to build a little alternate MIB database and run
mib2trap on that.
      xnmloadmib2  -mibDB  <full_path_ my_db_name>  -load  <mib1>
This will create two files,  <full_path_ my_db_name> (a text file) and
<full_path_ my_db_name>.bin  (a binary file).   When you've loaded all your
MIBs into this little alternate database and you aren't getting any errors
(keep loading until they go away),  then run mib2trap on the text file,
      mib2trap  <full_path_ my_db_name>

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group


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

Archive operated by Skills 1st Ltd

See also: The NetView Web