[SNMP4J] Setting up Agent communities
Earle, Erik
Erik.Earle at dig.com
Thu Apr 13 00:42:00 CEST 2006
What little snmp agent experience I have is with net-snmp so I am just
trying ³to build a bridge² from that to snmp4j agent. Net-snmp defines 4
vacm configuration directives. I see member methods on the VacmMIB class
that mirror 3 of the 4 in snmp4j. The only one I don¹t see is com2sec¹
which is where one would define a community.
It appears that to add a ³public² community for v1 security model types, the
following from the TestAgent class (line 89 in 1.0-beta1) takes care of
this:
vacm.addGroup(SecurityModel.SECURITY_MODEL_SNMPv1,
new OctetString("public"),
new OctetString("v1v2group"),
StorageType.nonVolatile);
Is this true?
More information about the SNMP4J
mailing list