nv-l

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

2006-03-10 10:03:01
Subject: RE: [nv-l] mib question/problem - using mib2trap
From: James Shanks <jshanks AT us.ibm DOT com>
To: nv-l AT lists.us.ibm DOT com
Date: Fri, 10 Mar 2006 10:02:30 -0500
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>