[AGENT++] Configuring community strings

Jochen Katz katz at agentpp.com
Sat Sep 10 14:24:57 CEST 2005


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



More information about the AGENTPP mailing list