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

How can I solve "ERROR: Parse error: expecting "DEFINITIONS"" error while MIB compiling?

0 votes

I got some MIBs for Siemens HiPath Systems. Unfortunately I can't compile the MIB file.


Wed Sep 17 08:40:06 CEST 2014 [INFO] Parsing MIB file /opt/opennms/share/mibs/pending/hipath4000.mib
Wed Sep 17 08:40:06 CEST 2014 [ERROR] Problem found when compiling the MIB:
ERROR: Parse error: expecting "DEFINITIONS", found '{', Source: hipath4000.mib, Row: 10, Col: 16
SIEMENS-PN-MIB { iso org(3)	dod(6) internet(1) private(4) enterprises(1)


OpenNMS version
Operating system
CentOS 6.5 x64
asked Sep 17, 2014 by mfuhrmann (6,850 points)

1 Answer

0 votes
Best answer
The MIB is not fully compatible. Remove the parts that are problematic from the MIB and try again.
answered Oct 15, 2014 by DerTak (5,420 points)
selected Oct 17, 2014 by mfuhrmann
A friend fixed it using http://www.simpleweb.org/ietf/mibs/validate/
I could create the event files: http://issues.opennms.org/browse/NMS-7027