RE: -n CONTEXT set context name (e.g. bridge1)

"Alberstein Daniel-BDA037" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have problem with registration between snmpd (mater agent) and
snmptrap (agentx)
1. from snmpd.conf

   master agentx
   agentxSocket tcp:localhost:705 

2. from snmptapd.conf

   agentxSocket tcp:localhost:705

3. I run first from cmd (Windows)
  > snmpd -Dall
 wait to stop printing

4. And then
  > snmptrapd -Dall

I haven't any messages from snmpd with debbug mode. 


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, May 08, 2007 10:41 PM
To: Alberstein Daniel-BDA037
Cc: [email protected]
Subject: Re: -n CONTEXT set context name (e.g. bridge1)

On 08/05/07, Alberstein Daniel-BDA037 <[email protected]> wrote:
> I add to file snmpd.conf :
> rwuser Daniel

which allows access to the SNMPv3 user "Daniel"
in the default context.


> >snmpgetnext -v 3 -u Daniel -n "snmptrapd" .....

which is requests information using the SNMPv3 user "Daniel"
in the (non-default) context "snmptrapd".

If you don't have access control settings which authorise queries in the
context "snmptrapd", then the agent will reject such requests.



> Why snmpd doesn't refer to snmptrapd ?

Because you haven't told it to.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.