nv-l
[Top] [All Lists]

Re: [nv-l] Walking a new MIB

To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] Walking a new MIB
From: James Shanks <jshanks@us.ibm.com>
Date: Tue, 20 Aug 2002 16:38:53 -0400
I don't understand what you don't understand about what I said.  Perhaps I 
am assuming too much history with NetView.  Let me try again.

There are three MIB loaders/ browsers shipped with NetView 7.1.2.  They 
are all independent of one another.

The Java one, that you get from the NetView web console (which is entirely 
written in Java), can also be launched from the UNIX command line, both 
with and without a GUI.  To launch without a GUI, type in 
"/usr/OV/bin/mibloader.sh" .   To launch with a GUI, so you see just what 
you do from the Web Console launch, type in "/usr/OV/bin/mibloaderpanel" 
and proceed from there.   The only thing this loader affects is the Java 
MIB browser, the same one you get from the web console.  You can also 
start it from the command line with "/usr/OV/bin/mibbrowser".    None of 
what you do with these affects snmpwalk in way.

The MIBs which snmpwalk uses are SNMP V1-only.  So forget about loading a 
V2 MIB from the command line, unless what you really have is V1-equivalent 
of a V2 MIB.  If you have such a thing then you may load it with 
"/usr/OV/bin/xnmloadmib".  Try it or see the man page on it to learn about 
its non-GUI options.  It's GUI is an X-windows GUI and not Java.  Once a 
(SNMP V1-only) MIB has been has loaded in this way, you may browse it with 
the X-windows SNMP V1 browser, xnmbrowser.  And you may expect snmpwalk to 
return the MIB object labels rather than  just the numbers of the OIDs. 
But nothing you load in here will be picked up by the java web console MIB 
Browser, which uses its own database of loaded MIBs.

The final loader browser is the old X-windows combination, xnmloadmib2 and 
xnmbrowser2.  One again, these are separate from the MIB database that 
either of the other two use.  Since this pair supports (most of) SNMP V2 
as well as SNMP V1, you could load your V2 MIB with this pair and browse 
it, but  doing so will not affect snmpwalk nor the Java browser.  This 
pair is shipped only for compatibility with earlier releases, because the 
" - - mib2Trap" option of the new Java MIB loader, is not as robust as the 
old /usr/OV/bin/mib2trap command.  /usr/OV/bin/mib2trap uses the same 
database as this older pair.  But they have been deprecated and will 
eventually disappear from the product, once the Java loader is properly 
enhanced.

So to restate my conclusion from before, there is nothing you can do with 
your SNMP V2 MIB to have it affect snmpwalk.  Nothing.  To do that, you 
would have to get a V1 equivalent MIB and load that with xnmloadmib.

I hope this is clear.

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




D T <dtmitre@yahoo.com>
08/20/2002 04:01 PM

 
        To:     James Shanks/Raleigh/IBM@IBMUS
        cc: 
        Subject:        Re: [nv-l] Walking a new MIB

 

Is the Java one the Web Console MIB Loader?  Thats what I used to load the 
MIB and it was parsed and loaded without any errors.  Should I try loading 
by way of the command line? 
 James Shanks wrote: 
Exactly which MIB loader did you use to load this MIB?
Only the Java one, mibloader.sh or mibloaderpanel will allow you to see 
the MIB from the web console.
snmpwalk, on the other hand uses a completely different, and V1-only MIB 
loader: xnmloadmib. It does not know about V2, so numbers are all 
you'll get, unless you can load an equivalent V1 copy.


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




D T 
08/20/2002 12:23 PM


To: nv-l@lists.tivoli.com
cc: 
Subject: [nv-l] Walking a new MIB



Netview 7.1.2 on Solaris8 :: So I loaded a MIB into the v2 loader. Worked 
fine and I didn't get any errors, also had previously loaded the 
dependencies. When I log into the web console and attempt to walk the 
MIB, I can't see it. When I us! e snmpwalk on the agent machine, it 
outputs 
the first few MIBs with the actual name, and the rest with the number. The 

weird thing is I can walk the MIB using MGSoft. Did I miss a step or 
something?


DT
---------------
David Todd
Tivoli Developer
703.883.7291

Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs



---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)


DT
---------------
David Todd
Tivoli Developer
703.883.7291

Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs



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

Archive operated by Skills 1st Ltd

See also: The NetView Web