Hello Daniel,
Currently you cannot use the snapshots created
by MIB Explorer with the SnapshotAgent or
SNMP4J, because those snapshots contain more
information.
Using snapshots from SNMP4J within MIB Explorer Pro
is not problem.
I will provide a conversion tool that will convert
MIB Explorer Pro snapshots to SNMP4J ones and
integrate it in the 3.0 version.
For 2.x users I will provide a separate tool.
Best regards,
Frank
[email protected] wrote:
Hello,
I want to use the SnapshotAgent and generated a Snapshot with the MibExlorer
Pro. When I started the Agent a ClassNotFoundException is thrown as you can see
below:
789 [main] ERROR org.snmp4j.agent.test.SnapshotAgent - Error while
reading snapshot file
'test1.sf':com.agentpp.snmp.SerializableMIBInstance
java.lang.ClassNotFoundException:
com.agentpp.snmp.SerializableMIBInstance
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
org.snmp4j.agent.test.SnapshotAgent.registerManagedObjects(SnapshotAgent.java:247)
at org.snmp4j.agent.BaseAgent.registerSnmpMIBs(BaseAgent.java:222)
at org.snmp4j.agent.BaseAgent.init(BaseAgent.java:179)
at org.snmp4j.agent.test.SnapshotAgent.main(SnapshotAgent.java:359)
Does anyone know where I can find those packages?
With kind regards,
Daniel
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j