[SNMP4J] own agent with own mib

Frank Fock fock at agentpp.com
Wed Dec 5 00:48:17 CET 2007


Hi Martin,

Martin Fischer wrote:
>> (b) that the OID of the scalar is in the MIB view of the user
>> (community) you are using to access the agent?
> 
> We added
> vacm.addViewTreeFamily(new OctetString("testReadView"), new OID(
> 		"1.3.6.1.3"), new OctetString(), VacmMIB.vacmViewIncluded,
> 		StorageType.nonVolatile);
> 
> to the addViews method. The OID of serverIP is 1.3.6.1.3.1.1.0. Is that
> sufficient?
>
Yes, if the user/community you are using with the request
is associated with this view.

Best regards,
Frank






More information about the SNMP4J mailing list