No, Joe, loading SNMPv2-SMI into the V1 browser will not work. Unlike some
MIB compilers, notably SMICng, which many developers use to build their
MIBs because it is free, the MIB loaders and browsers in NetView have their
basic object types already represented in code. The V1 loader will not
load a V2 MIB, period. There are no definitions you an load which will
change this. You can load a V1 equivalent of a V2 MIB using the SNMP V1
loader (xnmloadmib in UNIX, or loadmib in NT) but that is all. To load any
V2 MIB in NetView you must use the SNMP V1/V2 loader, xnmloadmib2 for UNIX
and loadmib2 for NT.
In his case the error he is receiving comes from trying to se the V1 loader
to load a V2 MIB, and since MODULE-IDENTITY is new in V2, it cannot be
done, hence the error message.
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
Joe Fernandez <firstname.lastname@example.org>@tkg.com on 12/12/2000 12:18:00 AM
Please respond to IBM NetView Discussion <email@example.com>
Sent by: firstname.lastname@example.org
To: IBM NetView Discussion <email@example.com>
Subject: Re: [NV-L] Loading HP MIBs
At 12:17 PM 08-12-00 +1100, Ronald Ng wrote:
>>>I have problems loading HP MIB tables on Netview.
>The error message is :
>"Error detected while loading MIB File: /usr/OV/snmp_mibs/hpicfoid.mib.
>This MIB cannot be loaded until the following problem is corrected:
>Line 10: Error defining object: found 'MODULE-IDENTITY'
>So I gather its a parsing error and perhaps the keyword isn't defined
>anywhere, but I can't locate which MIB I should lod before that.
Yes, the MIB loader is saying it cannot resolve 'MODULE-IDENTITY'........
>Here are the first few lines of it:
>" HP-ICF-OID DEFINITIONS ::= BEGIN
> enterprises, MODULE-IDENTITY, OBJECT-IDENTITY
> FROM SNMPv2-SMI;
....and this IMPORTS statement says MODULE-IDENTITY is in SNMPv2-SMI
So you need to load this first. It is in RFC2578, which should be in your
HP MIB distribution.
Then load your HP MIB file and try browsing objects in it.
>When I do browse the messages come up saying "Sending SNMPv1
>request to x.y.z.a" and some time later it will come back with "SNMP
>SNMPAPI_TL_TIMEOUT - No Response before timeout" And the timeout is set up
>60 seconds which is way above what I can telnet and ping to the device.
As James Shanks has responded, if an SNMP Get is timing out, it is usually
because the agent is not running or you are using the wrong community
string. Does this agent respond to Gets of standard objects like
> Ronald Ng
> Associate Network Specialist - Network Infrastructure Services
> Office : (02) 9937 8351 Mobile : 0401 149 331 Fax: (02) 9937 8100
>IBM Global Services Australia
> Level 1, 55 Christie Street
> St. Leonards NSW 2065
>E-Mail : firstname.lastname@example.org
NV-L List information and Archives: http://www.tkg.com/nv-l