[SNMP4J] MIBDesigner reports syntax...
Jozsef Lazar
jlazar at netavis.hu
Mon Oct 28 09:20:29 CET 2013
Hi,
I'm running MIBDesigner v3.2 which sends the following syntax errors:
1. construct in my MIB:
o2StorageStatus OBJECT-TYPE
SYNTAX INTEGER {
OK(1),
Error(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Accessibility information."
-- 1.3.6.1.4.1.33687.1.1.1.2.1.8 -- ::= { o2StorageTableEntry 8 }
for which the designer sends the following syntax error.
#1: [1000] Syntax error: Encountered "OK" at line 284, column 25:
Was expecting one of:
"obsolete" ...
"optional" ...
"deprecated" ...
"mandatory" ...
"current" ...
...
2. construct in the MIB:
o2VPUptime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time (in UNIX seconds) since the NETAVIS
video platform has been started."
-- 1.3.6.1.4.1.33687.1.1.2.8 -- ::= { o2VideoPlatform 8 }
then a reference to it in the group:
o2BasicGroup OBJECT-GROUP
OBJECTS {
...
o2VPUptime,
... }
STATUS current
DESCRIPTION
"Basic objects."
-- 1.3.6.1.4.1.33687.1.3.1.1 -- ::= { o2Groups 1 }
message from designer:
#8: [1700] Object reference with wrong type: o2VPUptime at line 949, column 17,
expected type was OBJECT-TYPE, but found OBJECT IDENTIFIER instead
Please help me, what am I doing (understanding) wrong?
Josef
More information about the SNMP4J
mailing list