Good tip thx.
I have been compiling everything into a big mib - can be frustrating!
Brett
owner-nv-l@lists.us.ibm.com wrote on 10/03/2006 10:02:30 AM:
> 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
>
|