Re: OpenNMS MIB Compiler Error

David Albrecht <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <CAD-EOiD75cMC8=V-281Sz3GwhzyYtHw6e++2Eb-TrnQADn=FEA@mail.gmail.com>
Michael (and the rest of the list),

Thanks for your help.  You were right on the money - I had the wrong
SNMPv2-TC.my file loaded.  The issue is resolved.  Thanks!

On Wed, Jan 3, 2018 at 1:16 AM, Seibold, Michael <[email protected]>
wrote:

> Hi David,
>
>
>
> it seems that you have to install other mibs first. If you look into the
> mib you will see
>
>
>
>
>
> IMPORTS
>
>     MODULE-IDENTITY,
>
>     Gauge32,
>
>     Integer32,
>
>     Unsigned32,
>
>     Counter64
>
>         FROM SNMPv2-SMI
>
>     TEXTUAL-CONVENTION
>
>         FROM SNMPv2-TC
>
>     ciscoModules
>
>         FROM CISCO-SMI;
>
>
>
> Your error message was:
>
> RROR: Cannot find imported symbol TEXTUAL-CONVENTION in module /usr/share/opennms/share/mibs/pending/CISCO-TC.my, Source: CISCO-TC.my, Row: 20, Col: 5
>
>     TEXTUAL-CONVENTION
>
>     ^
>
> So the definition for TEXTUAL-CONVENTION is not known to opennms at this
> moment. It should be in the mib SNMPv2-TC which should be imported first:
>
>
>
> ftp://ftp.cisco.com/pub/mibs/v2/SNMPv2-TC.my
>
>
>
> -- definition of textual conventions
>
> DisplayString ::= TEXTUAL-CONVENTION
>
>
>
>
>
> I’m a bit astonished as OpenNMS normally checks which mib’s are required?
>
>
>
> -Michael
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>



-- 
David

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
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.