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. binding error to new mib file

binding error to new mib file

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 31.6k 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
    terry
    wrote on last edited by
    #1

    Hello,

    I have a question about binding error.

    When I binding a new MIB file, I met the bellow error.

    ..\var\mibs\WS-CC-RF-MIB.txt: ERROR 003: Parser error - syntax error, unexpected
     COMMA_SYM, expecting RIGHT_BRACE_SYM in line 1245

    The line 1245 of mib file is as the belows;
          -- 1.3.6.1.4.1.388.14.3.2.1.11.5.1.12
          wsCcRfRadioBasicRates OBJECT-TYPE
            SYNTAX TransmitRate
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "List of basic rates for the radio."
            DEFVAL { {rate1Mb}, {rate2Mb}, {rate5pt5Mb}, {rate11Mb} }  <== Here is the line 1245
            ::= { wsCcRfRadioEntry 12 }

    And, TransmotRate is defined as the belows;

          TransmitRate ::= BITS
            {
            rate1Mb(0),
            rate2Mb(1),
            rate5pt5Mb(2),
            rate6Mb(3),
            rate9Mb(4),
            rate11Mb(5),
            rate12Mb(6),
            rate18Mb(7),
            rate22Mb(,
            rate24Mb(9),
            rate36Mb(10),
            rate48Mb(11),
            rate54Mb(12)
            }

    In the RFC1902, the value of the DEFVAL clause can define as the belows;

        ObjectSyntax      DEFVAL clause
        ----------------  ------------
        Integer32          DEFVAL { 1 }
                            -- same for Gauge32, TimeTicks, Unsigned32
        INTEGER            DEFVAL { valid } -- enumerated value
        OCTET STRING      DEFVAL { 'ffffffffffff'H }
        OBJECT IDENTIFIER  DEFVAL { sysDescr }
        BITS              DEFVAL { { primary, secondary } }  <=== Here
                            -- enumerated values that are set
        IpAddress          DEFVAL { 'c0210415'H } -- 192.33.4.21

    I want to know what's wrong?

    Please help me as soon as possible.
    I attach the mib file.

    Best Regards,

    • Terry

    WS-CC-RF-MIB.txt

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hello!

      Looks like a bug in MIB compiler. As a workaround, just comment out or delete entire DEFVAL line - it is not used by compiler anyway.

      Best regards,
      Victor

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

        Thank you very much.

        I comment out those related lines.
        So, I can bind.

        Now, I want to know the schedule to fix the bug.

        Best Regards,

        • Terry
        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Hello!

          It's fixed in 0.2.21.

          Best regards,
          Victor

          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