Topic
4 replies Latest Post - ‏2013-07-02T13:57:53Z by Znagy
SystemAdmin
SystemAdmin
13279 Posts
ACCEPTED ANSWER

Pinned topic Error Compilation MIB Cisco UCS on IBM Director 6.3.2

‏2013-02-13T19:59:14Z |
Hi,

I have an IBM Director 6.3.2 on a Windows Server 2008R2.
I try to install the MIB for manage Cisco UCS C-460.

I downloaded the mib file on ftp://ftp.cisco.com/pub/mibs/supportlists/ucs/ucs-C-supportlist.html#MIBs_Supported_for_Cisco_UCS_Cseries_141 on the section MIBs Supported for Cisco UCS C-series software release 1.4(3) and later releases.

The files' extension was .my, I change it to .mib. For the moment I success to import theses files (installed in the enumerate order)
CISCO-SMI.mibdata
CISCO-TC.mibdata
INET-ADDRESS-MIB.mibdata
ITU-ALARM-TC-MIB.mibdata
CISCO-UNIFIED-COMPUTING-MIB.mibdata
SNMPv2-CONF.mibdata
SNMPv2-MIB.mibdata
SNMPv2-SMI.mibdata
SNMPv2-TC.mibdata

But When I try to install CISCO-UNIFIED-COMPUTING-TC-MIB.MIB, I have got this error :

2013-02-13 14:19:29
FINE: Lancement de la compilation de la base de données MIB pour D:\Program Files\IBM\Director\tempdata\CISCO-UNIFIED-COMPUTING-TC-MIB.MIB.
2013-02-13 14:19:29
FINE: (120, 16) Avertissement : Le numéro nommé doit commencer par la valeur 1. Voir RFC 1155 : "3.2.1.1. Guidelines for Enumerated INTEGERs"
2013-02-13 14:19:29
FINE: com.ibm.director.server.snmp.mib.ParseException: Encountered "{" at line 128, column 27.
Was expecting one of:
"END" ...
"OBJECT-TYPE" ...
"TRAP-TYPE" ...
"MODULE-IDENTITY" ...
"OBJECT-IDENTITY" ...
"NOTIFICATION-TYPE" ...
"TEXTUAL-CONVENTION" ...
"MODULE-COMPLIANCE" ...
"AGENT-CAPABILITIES" ...
"OBJECT-GROUP" ...
"NOTIFICATION-GROUP" ...
<VALUETEXT> ...
<TYPETEXT> ...
"Counter" ...
"Counter32" ...
"Counter64" ...
"Gauge" ...
"Gauge32" ...
"IpAddress" ...
"NetworkAddress" ...
"Opaque" ...
"TimeTicks" ...
"UInteger32" ...
"Unsigned32" ...
"(" ...

2013-02-13 14:19:29
FINE: Echec de la compilation de la base de données MIB pour : D:\Program Files\IBM\Director\tempdata\CISCO-UNIFIED-COMPUTING-TC-MIB.MIB

How can I fix this issue ?
Updated on 2013-02-20T15:44:55Z at 2013-02-20T15:44:55Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    13279 Posts
    ACCEPTED ANSWER

    Re: Error Compilation MIB Cisco UCS on IBM Director 6.3.2

    ‏2013-02-20T01:25:18Z  in response to SystemAdmin
    Well... I can't read the language of the error message, but it appears there is a syntax error in the MIB (which is not uncommon). Specifically, it looks like a violation of RFC 1155. Basically, it found a '{' character before one of the other required values.

    ----
    Craig Elliott
    IBM Advanced Technical Skills
    • SystemAdmin
      SystemAdmin
      13279 Posts
      ACCEPTED ANSWER

      Re: Error Compilation MIB Cisco UCS on IBM Director 6.3.2

      ‏2013-02-20T13:59:13Z  in response to SystemAdmin
      Hi,

      You understood the error.

      I translate this with google trad for you :

      2013-02-13 14:19:29
      FINE: Launch of the compilation of the MIB for D:\Program Files\IBM\Director\tempdata\CISCO-UNIFIED-COMPUTING-TC-MIB.MIB.
      2013-02-13 14:19:29
      FINE: (120, 16) Warning: The number called must begin with the value. SeeRFC 1155 : "3.2.1.1. Guidelines for Enumerated INTEGERs"
      2013-02-13 14:19:29
      FINE: com.ibm.director.server.snmp.mib.ParseException: Encountered "{" at line 128, column 27.
      Was expecting one of:
      "END" ...
      "OBJECT-TYPE" ...
      "TRAP-TYPE" ...
      "MODULE-IDENTITY" ...
      "OBJECT-IDENTITY" ...
      "NOTIFICATION-TYPE" ...
      "TEXTUAL-CONVENTION" ...
      "MODULE-COMPLIANCE" ...
      "AGENT-CAPABILITIES" ...
      "OBJECT-GROUP" ...
      "NOTIFICATION-GROUP" ...
      <VALUETEXT> ...
      <TYPETEXT> ...
      "Counter" ...
      "Counter32" ...
      "Counter64" ...
      "Gauge" ...
      "Gauge32" ...
      "IpAddress" ...
      "NetworkAddress" ...
      "Opaque" ...
      "TimeTicks" ...
      "UInteger32" ...
      "Unsigned32" ...
      "(" ...

      2013-02-13 14:19:29
      FINE: Failed to compile the MIB for: D:\Program Files\IBM\Director\tempdata\CISCO-UNIFIED-COMPUTING-TC-MIB.MIB
      • SystemAdmin
        SystemAdmin
        13279 Posts
        ACCEPTED ANSWER

        Re: Error Compilation MIB Cisco UCS on IBM Director 6.3.2

        ‏2013-02-20T15:44:55Z  in response to SystemAdmin
        Since it is a syntax error in the MIB, Cisco will need to correct it.

        ----
        Craig Elliott
        IBM Advanced Technical Skills
        • Znagy
          Znagy
          1 Post
          ACCEPTED ANSWER

          Re: Error Compilation MIB Cisco UCS on IBM Director 6.3.2

          ‏2013-07-02T13:57:53Z  in response to SystemAdmin

          Hello,

          I have also error with this MIB file. Not in IBM Systems Director, I try to load CISCO-UNIFIED-COMPUTING-TC-MIB.my to IBM Tivoli Monitoring Agent Builder 6.2.3.1

          I get this error message:

          KQZ0022E Unexpected error parsing MIB file C:\Documents and Settings\tivadm\workspace\.metadata\.plugins\com.ibm.tivoli.monitoring.agentkit\mibs\CISCO-UNIFIED-COMPUTING-TC-MIB.my.
            KQZ0022E Unexpected error parsing MIB file C:\Documents and Settings\tivadm\workspace\.metadata\.plugins\com.ibm.tivoli.monitoring.agentkit\mibs\CISCO-UNIFIED-COMPUTING-TC-MIB.my.
            com.tivoli.snmp.metadata.ParseException: Encountered " "{" "{ "" at line 127, column 27.
          Was expecting:
              "END" ...
              
          I think it is not a file syntax problem. At this line you can find "Gauge32" and when you change variable type to INTEGER the compiler accepts this line. You can find many "Gauge32" variable type and changing this is not a good solution as you also know, but I haven't got a solution. Any ideas?

          Regards,

          Zoltan Nagy

          IBM Tivoli System Engineer