Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Brocade MIB Import Failing

Brocade MIB Import Failing

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 49.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    Tursiops
    wrote on last edited by
    #1

    Hi all,

    I have an issue with a number of Brocade MIBs. When I try to import them I get errors like this one:

    BROCADE-LLDP-EXT-DOT3-CAPABILITY-MIB: ERROR 001: Import symbol "brocadeAgentCapability" unresolved
    

    Based on that particular MIB, it tries to import that particular symbol from the Brocade REG-MIB:

    IMPORTS
        brocadeAgentCapability
            FROM Brocade-REG-MIB
    

    Clearly something is not being imported or referenced right, but I'm no MIB expert and can't tell what's wrong. Contents of the Brocade-REG-MIB below:

    Brocade-REG-MIB DEFINITIONS ::= BEGIN
    
    IMPORTS
        MODULE-IDENTITY,
        OBJECT-IDENTITY,
        enterprises                     FROM SNMPv2-SMI;
    
    bcsi MODULE-IDENTITY
            LAST-UPDATED        "201202030000Z"
            ORGANIZATION        " Brocade Communications Systems, Inc."
            CONTACT-INFO
                    "Brocade Communications Systems, Inc.
                     Postal: 130 Holger Way
                     San Jose, CA 95134
                     U.S.A
                     Tel: +1-408-333-8000
                     E-mail: [email protected]
                     web: www.brocade.com."
            DESCRIPTION
                    "This MIB module defines Structure of Management
                    Information for the Brocade enterprise and serves as
                    central repository of all the OIDs under Brocade
                    enterprise OID tree."
    
            REVISION        "201202030000Z"
            DESCRIPTION
                    "Initial version of this MIB module."
            ::= { enterprises 1588 }        -- assigned by IANA
    
    commDev OBJECT-IDENTITY
        STATUS  current
        DESCRIPTION
            "The root OID sub-tree for Communication devices of Brocade."
        ::= { bcsi 2 }
    
    fibrechannel   OBJECT-IDENTITY
        STATUS  current
        DESCRIPTION
            "The root OID sub-tree for Fibre Channel Devices of Brocade."
        ::= { commDev 1 }
    
    nos OBJECT-IDENTITY
        STATUS  current
            DESCRIPTION
                    "The root OID sub-tree for Brocade's NOS products."
            ::= { commDev 2 }
    
    fcSwitch OBJECT-IDENTITY
        STATUS  current
        DESCRIPTION
            "The root OID sub-tree for Fibre Channel Switches of Brocade."
        ::= { fibrechannel 1 }
    
    bcsiReg OBJECT-IDENTITY
        STATUS  current
        DESCRIPTION
            "The root OID sub-tree for Brocade Global Registry."
        ::= { bcsi 3 }
    
    bcsiModules OBJECT-IDENTITY
        STATUS  current
        DESCRIPTION
            "The root OID sub-tree for all the Brocade management MIBs."
        ::= { bcsiReg 1 }
    
    brocadeAgentCapability OBJECT-IDENTITY
            STATUS  current
            DESCRIPTION
                    "This provides a root object identifier from which
            AGENT-CAPABILITIES values may be assigned."
            ::= { bcsiReg 2 }
    END
    

    Any pointers?

    1 Reply Last reply
    0
    • G
      G
      gmonk63
      wrote on last edited by
      #2

      Some MIBS have dependencies so Im guessing you will also need to add Brocade-REG-MIB into the mibs folder as well and recompile

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

        Hi,

        The Brocade-REG-MIB is already in the folder and doesn't throw any errors by itself.
        Hence I posted the contents of the Brocade-REG-MIB, hoping someone might be able to help me work out why that particular MIB doesn't throw errors, but a second MIB that depends on it does - with a reference to an object that is defined in the compiled Brocade-REG-MIB.

        I'm at a loss, as that really doesn't make much sense to me.

        Cheers

        1 Reply Last reply
        0
        • G
          G
          gmonk63
          wrote on last edited by
          #4

          Compiled fine for me.. Try the attached mibs..  Also one thing ive noticed is the mibs wont get picked up if they dont have the .txt extension I doubt that was your issue though


          BROCADE-LLDP-EXT-DOT3-CAPABILITY-MIB.mib.txt

          BROCADE-REG-MIB.mib.txt

          Screenshot.png

          1 Reply Last reply
          0
          • T
            T
            Tursiops
            wrote on last edited by
            #5

            Still not working for me. Wondering if there is something else in my MIBs folder that's messing with the Brocade ones (I have a handful of Brocade ones that don't compile, I just picked the LLDP-EXT one as an example as it was the first that failed).
            The MIB files all have .txt file extensions.

            I've attached the contents of my mibs folder. Any chance you could try to compile that "as is" at your end? I am curious to see if that will work (in which case something else on my system must be causing the issue) or if the compile will fail (in which case there is "something" in that folder that's breaking it.


            MIBs.tar.gz

            1 Reply Last reply
            0
            • G
              G
              gmonk63
              wrote on last edited by
              #6

              ok so i took your mibs folder created a seperate folder inside and moved each troubled mib in untill it compiled without errors so basically for what ever reason these mibs are causeing issues not sure if you need these but BRCD_REG looks like a duplicate...

              BRCD_NOS_PRODUCTS.txt  BRCD_REG.txt  FOUNDRY-SN-NOTIFICATION.txt

              1 Reply Last reply
              0
              • T
                T
                Tursiops
                wrote on last edited by
                #7

                That was it. BRCD-REG was a different version of the same MIB.
                Found another one as well, SW.txt and SW-MIB.txt. Same thing, different versions.

                I shall look for duplicates next time I run into one of these.

                Thanks!

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups