RE: mib file configuration issue

"Martz, Peter" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <76EA980B393A584084B397FCA1D25519123F7009@NJCHLEXCMB01.cable.comcast.com>
Made the addition as suggested:

 

......

 

RFC1213-MIB DEFINITIONS ::= BEGIN

 

          IMPORTS

                  mgmt, NetworkAddress, IpAddress, Counter, Gauge,

                          TimeTicks

                      FROM RFC1155-SMI

                  DisplayString FROM RFC1213-MIB

                  OBJECT-TYPE

                          FROM RFC-1212;

 

          --  This MIB module uses the extended OBJECT-TYPE macro as

          --  defined in [14];

 

          --  MIB-II (same prefix as MIB-I)

 

......

 

"Doubled the error" - so not I get:

 

snmpd[21517]: Did not find 'DisplayString' in module RFC1213-MIB
(/usr/share/snmp/mibs/mib.txt.002)

snmpd[21517]: Did not find 'DisplayString' in module RFC1213-MIB
(/usr/share/snmp/mibs/mib.txt.002)

 

Does that mean the issue is in the RFC1213-MIB.txt file (it is
accessible) or am I still not defining something correctly?

 

 

From: Fulko Hew [mailto:[email protected]] 
Sent: Friday, March 19, 2010 10:43 AM
To: Martz, Peter
Cc: [email protected]
Subject: Re: mib file configuration issue

 

 

On Fri, Mar 19, 2010 at 10:28 AM, Martz, Peter
<[email protected]> wrote:

I am trying to clean up a 3rd party MIB file so that it compiles
correctly.

The only error I am now getting is:

 

Did not find 'DisplayString' in module RFC1213-MIB
(/usr/share/snmp/mibs/mib.txt.002)

 

All the DisplayString settings *appear* correct to me, but as a newbie
there is obviously something I am missing.

Would someone please illuminate my dull brain please?


Your 3rd party MIB file should have the statement:

IMPORTS

    ...

    DisplayString      FROM RFC1213-MIB




 
    ---

    ;


And of course, your MIB compiler should be able to find the file that
contains 'RFC1213-MIB'

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.