[SNMP4J] Configure SampleAgent for v1

Frank Fock fock at agentpp.com
Tue May 13 09:35:22 CEST 2008


Sorry, I missed that line during copy&paste:

snmp4j.agent.cfg.index.1.3.6.1.6.3.16.1.4.1.2={o}10.'v1v2cgroup'.0.1.1

Best regards,
Frank

Guenter Wildmann wrote:
> Hello Frank!
> 
> What is the value for
> snmp4j.agent.cfg.index.1.3.6.1.6.3.16.1.4.1.2=
> 
> I am sorry, but i can not figure it out.
> Thank you in advance.
> 
> Ciao, Guenter
> 
> On Fri, 9 May 2008, Frank Fock wrote:
> 
>> Hello Guenter,
>>
>> You can change the two lines after the comment #
>> and then add the following lines:
>>
>> # security2Group
>> snmp4j.agent.cfg.oid.1.3.6.1.6.3.16.1.2.1=3:3
>> snmp4j.agent.cfg.index.1.3.6.1.6.3.16.1.2.1.2={o}1.6.'public'
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.2.1.2.0={s}v1v2cgroup
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.2.1.2.1={i}4
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.2.1.2.2={i}1
>>
>> # access
>> snmp4j.agent.cfg.oid.1.3.6.1.6.3.16.1.4.1=3:6
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.4.1.2.1={s}unrestrictedReadView
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.4.1.2.2={s}unrestrictedWriteView
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.4.1.2.3={s}unrestrictedNotifyView
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.4.1.2.4={i}4
>> snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.4.1.2.5={i}1
>>
>> Best regards,
>> Frank
>>
>> Guenter Wildmann wrote:
>>> Hello!
>>>
>>> Has anyone successfully configured SampleAgent to handle v1 requests and
>>> what are the right entries in SampleAgentConfig.properties?
>>> If I make an v1 GET i receive an
>>>
>>> java.lang.Exception: Error 'Authorization error' generated at: 1.3.6 = Null
>>>
>>> Exception.
>>>
>>> Ciao, Guenter
>>>
>>>
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>> --
>> AGENT++
>> http://www.agentpp.com
>> http://www.mibexplorer.com
>> http://www.mibdesigner.com
>>
>>

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com



More information about the SNMP4J mailing list