I would guess that you do not have a copy of RFC1213-MIB.txt in
/usr/share/snmp/mibs or your MIB path for some reason does not include
/usr/share/snmp/mibs.

- Max

On Fri, Mar 19, 2010 at 10:51 AM, Martz, Peter
<peter_ma...@cable.comcast.com> wrote:
> 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:fulko....@gmail.com]
> Sent: Friday, March 19, 2010 10:43 AM
> To: Martz, Peter
> Cc: net-snmp-users@lists.sourceforge.net
> Subject: Re: mib file configuration issue
>
>
>
>
>
> On Fri, Mar 19, 2010 at 10:28 AM, Martz, Peter
> <peter_ma...@cable.comcast.com> 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
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to