[SNMP4J] Configure SampleAgent for v1

Frank Fock fock at agentpp.com
Fri May 9 20:00:16 CEST 2008


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



More information about the SNMP4J mailing list