Actually, I did add it to the 3rd party vendor file (my snipit).

Yes I do have 2 files for this.

 

It looks like the 3rd party copied parts of other files (RFC1213 and
others) - which I can kinda understand (long story).

But this is the only error I get with the 3rd party vendor file, which
is what I find strange.

 

From: Fulko Hew [mailto:fulko....@gmail.com] 
Sent: Friday, March 19, 2010 12:06 PM
To: Martz, Peter
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: mib file configuration issue

 

 

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;


... snip ...

No.  I said add the import to your 3rd party MIB.  What you show above
was that
you added it to RFC1213  ('RFC1213-MIB DEFFINITIONS ::= BEGIN' gives
that away)
(Turning it into sort of an infinite include loop.)

what you should have are 2 files:

Your '3rd party' file that looks like this:


THIRD-PARTY-MIB DEFINITIONS ::= BEGIN
...
   IMPORTS
      DisplayString FROM RFC1213-MIB;
...
   myvar OBJECT-TYPE
      SYNTAX DisplayString
...

And you also have a file for rfc1213 (which actually does contain):

          RFC1213-MIB DEFINITIONS ::= BEGIN

...

          DisplayString ::=

              OCTET STRING

          -- This data type is used to model textual information taken




 
          -- from the NVT ASCII character set.  By convention, objects

          -- with this syntax are declared as having

          --

          --      SIZE (0..255)

...




 
------------------------------------------------------------------------------
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