nv-l
[Top] [All Lists]

Re: [nv-l] Fw: mib2trap error on Unsigned32

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Fw: mib2trap error on Unsigned32
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 8 Feb 2006 08:29:49 -0500
Delivery-date: Wed, 08 Feb 2006 13:30:19 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF83C40077.9B470BE8-ONCA25710F.0015990D-CA25710F.00186C15@westpac.com.au>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Glad you resolved your problem, but I'm confused, Sue.  There are two
native loaders and they work in an identical fashion.  The SNMPv1-only
loader is xnmloadmib; the SNMPv1/SNMPv2 loader is xnmloadmib2.   They
basically have the same options from the command line and if you want to
use them interactively, just type in their names without and options and
they'll come up as little GUIs.   Then you can scroll through the list of
what's loaded.

Do you  want a text file of what loaded?  Go to /usr/OV/conf.  The
SNMPv1-only loader has two files which make up his MIB database, snmpmib
and snmpmib.bin.  The SNMPv1/SNMPv2 loader has snmpv2mib and snmpv2mib.bin.
The bin files are binary trees but the plain old mib file are text files of
all the MIB you have loaded, in the order in which they were loaded.  Just
grep the one you are interested in for the words "BEGIN" or "START OF",
      grep BEGIN /usr/OV/conf/snmpmib
for example will list all the MIBs in the V1-only db by their internal
names, while
      grep "START OF"  /usr/OV/conf/snmpmib
will show you the names of the files those MIBs came from.  You can do the
same with snmpv2mib.

You say you want to have a menu item which launches the SNMPv1 / SNMPv2
loader?   Well you can create one in /usr/OV/registration.  Just look for
the one which launches xnmloadmib, and copy it, substituting  xnmloadmib2.
Then modify the main menu which launches the original one to launch yours
as well.  The Programmer's Guide contains everything you need to know about
how to do this.   And there are already backup copies of everything we ship
in /usr/OV/registration.backup, so if you mess something up, you can just
copy the original back in and start over.  The NetView for UNIX GUI is
extensible so you can customize it to launch anything you want to.

HTH

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