No subject
David Duville
duville____ipanematech.com
Wed Sep 20 11:06:27 CEST 2000
Hi Franck,
Thank you for your response about my firs question on Agent +++.
I have a new one : I have Counter64 type in my MIB module but when I try to my MIB module I have an error during the loading time of my MIB the error message is :
Loading MIB file [\.\SNMPv2-SMI.mib]...parsed, done.
Loaded SNMPv2-SMI
Loading MIB file [\.\SNMPv2-TC.mib]...parsed, done.
Loaded SNMPv2-TC which imports from SNMPv2-SMI
Loading MIB file [\.\ipm.mib]...parsedjava.lang.NumberFormatException: 18446744073709551615
at java.lang.Long.parseLong(Unknown Source)
at com.agentpp.smiparser.SMI.parseLongConstant(SMI.java:205)
at com.agentpp.mib.MIBRange.<init>(MIBRange.java:24)
at com.agentpp.smiparser.SMI2Java.readRange(SMI2Java.java:332)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:528)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.smiparser.SimpleNode.childrenAccept(SimpleNode.java:64)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:564)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.smiparser.SimpleNode.childrenAccept(SimpleNode.java:64)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:564)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.smiparser.SimpleNode.childrenAccept(SimpleNode.java:64)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:564)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.smiparser.SimpleNode.childrenAccept(SimpleNode.java:64)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:564)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.smiparser.SimpleNode.childrenAccept(SimpleNode.java:64)
at com.agentpp.smiparser.SMI2Java.visit(SMI2Java.java:564)
at com.agentpp.smiparser.SimpleNode.jjtAccept(SimpleNode.java:56)
at com.agentpp.repository.DefaultRepositoryManager.updateRepository(DefaultRepositoryManager.
java:75)
at com.agentpp.repository.DefaultRepositoryManager.addModules(DefaultRepositoryManager.java:1
47)
at com.agentpp.agentgen.AgentGenConsole.<init>(AgentGenConsole.java:91)
at com.agentpp.agentgen.AgentGenConsole.main(AgentGenConsole.java:295)
com.agentpp.smiparser.SMIParseException: 18446744073709551615
at com.agentpp.repository.DefaultRepositoryManager.addModules(DefaultRepositoryManager.java:1
55)
at com.agentpp.agentgen.AgentGenConsole.<init>(AgentGenConsole.java:91)
at com.agentpp.agentgen.AgentGenConsole.main(AgentGenConsole.java:295)
Reason: Unknown error.
I Also try to change the bound of my Counter64 a put a lower limit. Everything goes well and a can generate but the problem is that in my .cpp file my counters are SnmpInt32() and a read the Agent ++ documentation carefully and I don't found SnmpIn64 or something like that whitdh can make me think that the Counter64 is implemented in the library.
Can you please telle me how to do to get Counter64 allowed in my MIB Module.
regards
David DUVILLE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20000920/485c2743/attachment.htm
More information about the AGENTPP
mailing list