[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mibble-users] Error parsing MIB NET-SNMP-AGENT-MIB.txt
From: |
Karl Weber |
Subject: |
[Mibble-users] Error parsing MIB NET-SNMP-AGENT-MIB.txt |
Date: |
Sat, 5 Apr 2008 16:00:10 +0200 |
User-agent: |
KMail/1.9.5 |
Hi,
mibble2.8 reports an error parsing the MIB NET-SNMP-AGENT-MIB.txt from the
net-snmp project.
The error message is:
Error: in ...../net-snmp-5.3.2/mibs/NET-SNMP-AGENT-MIB.txt: line 76:
unexpected token "::=", expected "}"
::= { nsCache 1 }
^
The content of the MIB around line 76 is:
nsCacheDefaultTimeout OBJECT-TYPE
SYNTAX INTEGER -- ???
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Default cache timeout value (unless overridden
for a particular cache entry)."
DEFVAL { 5 --seconds-- }
::= { nsCache 1 }
The error disappears if the comment "--seconds--" is removed.
Moving the comment out of the braced block also works, i.e. using
DEFVAL { 5 } -- seconds --
I am no ASN.1 expert, but for all I understand, the comment should be legal
ASN.1, so the error ought to be attributed to the parser, not the MIB.
Is this correct?
-Karl
- [Mibble-users] Error parsing MIB NET-SNMP-AGENT-MIB.txt,
Karl Weber <=