MIB compiler doesn't work
rjain____iwv.com
rjain____iwv.com
Tue Nov 19 22:38:08 CET 2002
Hi all,
This appears to be a very basic problem , not sure what is going wrong
with my attempts ...
I am trying to compile a user defined MIB, before that I need to
add SNMPv2-SMI to the MIB repository.
But adding the SNMPv2-SMI MIB always fails with following log :
-----
[rjain at stream1 mibs]$ stagent.sh ~/mibrepo add /tmp/SNMPv2-SMI.txt
AgentGen Standard v1.5 Copyright (C) Frank Fock, All rights reserved
Not for use in a commercial environment
Loading MIB file [/tmp/SNMPv2-SMI.txt]...Encountered: "MODULE-IDENTITY"
at line 55, column 1:
Was expecting one of:
"END" ...
<UPPERCASENAME> ...
<LOWERCASENAME> ...
at com.agentpp.smiparser.SMIParser.generateParseException
(SMIParser.java
:4952)
at com.agentpp.smiparser.SMIParser._$68770(SMIParser.java:4830)
at com.agentpp.smiparser.SMIParser.Def(SMIParser.java:153)
at com.agentpp.smiparser.SMIParser.Input(SMIParser.java:56)
at com.agentpp.repository.DefaultRepositoryManager.addModules
(DefaultRep
ositoryManager.java:253)
at com.agentpp.agentgen.AgentGenConsole.<init>
(AgentGenConsole.java:71)
at com.agentpp.agentgen.AgentGenConsole.main
(AgentGenConsole.java:297)
failed.
Reason: Syntax error: Encountered: "MODULE-IDENTITY" at line 55,
column 1:
Was expecting one of:
"END" ...
<UPPERCASENAME> ...
<LOWERCASENAME> ...
------------
Any hints / suggestions will be greatly helpful here.
-Rahul
More information about the AGENTPP
mailing list