Re: Agentx subagent registering

oknets10 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello Dave,



Got it working both in the master and in the subagent.



Thanks a lot for your help.



Omri


On Thu, Feb 28, 2008 at 11:30 AM, Dave Shield <[email protected]>
wrote:

> On 27/02/2008, oknets10 <[email protected]> wrote:
> > Isn't the fact that I'm getting a response from the agent, is indicating
> > that I have the required mapping ?
>
> No.
>
>
> > Anyway, following is the relevant mapping from my snmpd.conf:
>
> [snip]
>
>
> > rocommunity mas-public
> > rwcommunity mas-privae
> > rocommunity sub-public
> > rwcommunity sub-privae
> >
> > com2sec mas-Sec-Ro default mas-public
> > com2sec mas-Sec-Rw default mas-private
> > com2sec sub-Sec-Ro default sub-public
> > com2sec sub-Sec-Rw default sub-private
>
> Use EITHER "r[ow]community" OR "com2sec".
> Not both.   In this case, you need to use "com2sec".
>
> You do *not* have anything that maps the community
> "sub-public" into the context "sub1".
>
> Please re-read the documentation for "com2sec".
>
> Dave
>

-------------------------------------------------------------------------
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.