Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

How can I solve "Parse error: expecting LOWER, found '0'" error while compiling a MIB?

0 votes
811 views
Thu Jul 31 10:31:58 CEST 2014 [INFO] Uploading IPV6-TC.mib
Thu Jul 31 10:31:58 CEST 2014 [INFO] File IPV6-TC.mib successfuly uploaded
Thu Jul 31 10:32:01 CEST 2014 [INFO] Parsing MIB file /opt/opennms/share/mibs/pending/IPV6-TC.mib
Thu Jul 31 10:32:01 CEST 2014 [INFO] MIB parsed successfuly.
Thu Jul 31 10:32:01 CEST 2014 [INFO] Renaming file IPV6-TC.mib to IPV6-TC.mib
Thu Jul 31 10:32:08 CEST 2014 [INFO] Parsing MIB file /opt/opennms/share/mibs/pending/FORTINET-FORTIGATE-MIB.mib
Thu Jul 31 10:32:09 CEST 2014 [ERROR] Problem found when compiling the MIB:
ERROR: Parse error: expecting LOWER, found '0', Source: FORTINET-FORTIGATE-MIB.mib, Row: 6805, Col: 27
    SYNTAX      INTEGER { 0(0), 1(1), 2(2), 3(3), 4(4) }
                          ^

 

OpenNMS version
asked Jul 31, 2014 by mfuhrmann (7,350 points)
I used the FORTINET-FORTIGATE-MIB.mib version 5.2.
5.2.1 is released and I could compile this file. Problem gone...

1 Answer

0 votes
Lower usually means the parser is expecting lower case in the MIB file.  see http://www.opennms.org/wiki/Tales_From_The_MIB
answered Aug 3, 2014 by Ken Eshelby (2,280 points)
Hey Ken,

thanks for your help. But a lower "0" ? :-)
yes, meaning it was expecting a lower case letter... I don't make the rules.
...