[SNMP4J] TestAgent and SNMPv3
Jochen Katz
katz at agentpp.com
Wed Dec 20 21:40:25 CET 2006
Hi
> The packages I've downloaded don't contain tools/ subdir, only agent/, and
> I've downloaded all sources from the website. Perhaps I should fetch from a
> CVS/SVN repository?
feel free to use the daily snapshots from
http://agentpp.org/~katzwww/snapshot/
Frank already added a new option to SnmpRequest class to set the local
snmp engine id.
> What's the SNMPv3 command line you use for testing the TestAgent? I must be
> doing something quite stupid and obscure, so with some sane defaults (a
> working command line and fresh sources) I think I can discover what's wrong
> here.
I used the following two command lines:
java -cp
dist/lib/SNMP4J-agent.jar:../SNMP4J/dist/lib/SNMP4J.jar:lib/log4j-1.2.9.jar
org.snmp4j.agent.test.TestAgent 0.0.0.0/10161
java -classpath ../SNMP4JAgent/lib/log4j-1.2.9.jar -classpath
dist/lib/SNMP4J.jar org.snmp4j.tools.console.SnmpRequest -a SHA -A
SHAAuthPassword -u SHA -p GETNEXT 127.0.0.1/10161 1.3.6
Regards,
Jochen
More information about the SNMP4J
mailing list