Re: is it possible to set the community from a subagent
"William Hegardt" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Feb 18, 2008 1:49 PM, Dave Shield wrote: > On 18/02/2008, William Hegardt wrote: > > I'm using V5.3.1 and trying to get the read and read-write community > string > > from an AgentX subagent. > > It's not clear exactly what you are trying to do, but AgentX doesn't > work that way, > > The Access Control checks are applied by the master agent, *before* a > request > is passed on to an AgentX subagent. The AgentX request PDU structure > does > not include any of this authentication/administrative information. > > So the AgentX subagent will not see a community string, and wouldn't do > anything with it anyway. All of this is handled by the master agent. > > What are you actually trying to do? My subagent needs to be able to configure the community settings for the master agent. Rather than modify snmpd.conf, I was looking for an API that would let me change this from the subagent. It would not be changed very often, but when the end-user wants to set specific community strings, it would be easier if the subagent application could do it directly. Sorry this wasn't clearer - I hope it is now. Modifying snmpd.conf would work fine, but if I want the change to take affect immediately, I'd need to get the agent to reload snmpd.conf too. ------------------------------------------------------------------------- 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