[AGENT++] Configuring community strings

Gokul Poduval gokul.poduval at gmail.com
Wed Sep 14 10:07:15 CEST 2005


Hello,
We are running SNMP v3. Currently, neither are we calling 
snmp_community_mib::add_public(), nor are we configuring VACM tables. 
However, when we try GETs using SNMP v2c protocol, the only community string 
that works is public. Is it possible to change this ? 

On 9/10/05, Jochen Katz <katz at agentpp.com> wrote:
> 
> Hi,
> 
> > May I know where the community strings for read and read/write can be 
> set in
> > Agent++ ? We are using Agent++ 3.5.2.
> 
> if you have enabled SNMPv3 you have to configure some SNMP tables. You
> can call snmp_community_mib::add_public() [look into this code to see
> which MIB tables are involved] and then configure the VACM tables as
> seen in examples/proxy_forwarder/src/agent.cpp.
> 
> If you have disabled SNMPv3 you can use
> RequestList::set_read_community() and RequestList::set_write_community().
> 
> Regards,
> Jochen
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>



More information about the AGENTPP mailing list