[SNMP4J] SnapshotAgent Question
Matt Bailey
mattcbailey at gmail.com
Mon Mar 10 15:07:53 CET 2014
java -jar /Users/mattbailey/Downloads/snmp4j-clt-2.0/snmp4j-clt.jar -L "30
a1 30 da ae 6d cb fe" "LuzCt68C" -v 2c -c public create-snapshot
/tmp/mibdump.sf 10.218.155.62/161 1.3.6.1
I need some help understanding how to use the SnapshotAgent.
I created a snapshot using the following:
java -jar SNMP4J-CLT.jar -v 2c -c public create-snapshot /tmp/mibdump.sf
<device_ip>/161 1.3.6
The device is a remote SNMP agent. The dump was created in the tmp
directory.
I then tried to run the snmp4j agent using that dump:
java -cp <snmp4j files> org.snmp4j.agent.test.SnapshotAgent /tmp/mibdump.sf
0.0.0.0/4700
The agent starts but it conflicts with entries already registers and gives
this warning:
"228 [main] WARN org.snmp4j.agent.test.SnapshotAgent - Could not register
snapshot subtree '1.3.6.1' with <all the oids I am trying to register
listed here>".
I just want to record a snapshot of a remote device and then start an agent
using it as a seed. Is this possible?
Thanks
More information about the SNMP4J
mailing list