is it possible to set the community from a subagent

"William Hegardt" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm using V5.3.1 and trying to get the read and read-write community string
from an AgentX subagent. A google search  found
suggestions that I try netsnmp_config("rocommunity public") or
vacm_parse_rocommunity("rocommunity", "public"), but neither of those ideas
worked for me. When I try netsnmp_config() it complains that rocommunity is
an unknown token. I'm calling netsnmp_config after my subagent has called
init_agent() and init_snmp().

Worst case, I could modify snmpd.conf and restart everything, but I am
looking for an easier way.

Thanks for any advice

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.