why this mib can't compile

javalist javalist____21cn.com
Fri Apr 28 12:09:28 CEST 2000


Hello Agent++ Users:

    AIMC-MIB DEFINITIONS ::= BEGIN
 
        IMPORTS  

            OBJECT-TYPE, OBJECT-IDENTITY, enterprises
                FROM SNMPv2-SMI;

    
        
        asiainfo OBJECT IDENTIFIER ::= { enterprises 2000 }

        software OBJECT IDENTIFIER ::= { asiainfo 1 }

        aimc OBJECT IDENTIFIER ::= { software 1 }

        aimcModules OBJECT-IDENTITY
            STATUS current
            DESCRIPTION
                "all aimc module is in this sub-tree"
            ::= { aimc 2 }


END


saying

AIMC-MIB.txt: Syntax error: Encountered: "aimcModules OBJECT-IDENTITY" at line 16, column 9:
Was expecting one of: 
  <LOWERCASENAME> "OBJECT-TYPE" ...
  <LOWERCASENAME> "TRAP-TYPE" ...
  <UPPERCASENAME> ...
  <LOWERCASENAME> <OBJID> ...
  "Gauge32" ...
  "Unsigned32" ...
  "UInteger32" ...
  "Integer32" ...
  "Counter64" ...
  "Counter32" ...



Best Regards
                               mailto:javalist at 21cn.com





More information about the AGENTPP mailing list