[SNMP4J] About SNMP4J
Jochen Katz
katz at agentpp.com
Fri Mar 4 19:24:51 CET 2005
Hi,
> I've tryied to modify the code so that I can send SNMPv3 Traps with
> SNMP4J to net-snmp. I modified the MPv3.createLocalEngineID(), with
> another engineID created like this:
> byte[] tt={1,2,3,4};
> USM usm = new USM(SecurityProtocols.getInstance(),
> new OctetString(tt), 0);
> Both in listen() and createSnmpSession(). Am I doing something wrong?
these changes are ok (I thought about these two changes). Did you verify
that the NetSNMP trapd really uses the configuration from the config
file and not some saved values from /var/lib/net-snmp/? What
report/error do you get?
Regards,
Jochen
More information about the SNMP4J
mailing list