Re: Passing context name and Engine ID in Request

This is a discussion on Re: Passing context name and Engine ID in Request within the SNMP Users forums, part of the Networking and Network Related category; On 28/08/07, <gauravmeh2004@indiatimes.com> wrote: > Do we need to configure "context Name" ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2007
Dave Shield
 
Posts: n/a
Default Re: Passing context name and Engine ID in Request

On 28/08/07, <gauravmeh2004@indiatimes.com> wrote:
> Do we need to configure "context Name" and "context Engine" somewhere
> in snmpd.conf or it is automatically done for snmpv3 by Net-SNMP


If you want to use a non-default context, then yes - this needs to be
configured.

See the FAQ entry
How can I register a MIB module in a different (SNMPv3) context?
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_22

and the Wiki page
http://www.net-snmp.org/wiki/index.php/Snmpd_proxy

for details.



> I have added following lines in snmpd.conf for authentication :
> defSecurityName abc
> defAuthType MD5
> defSecurityLevel authPriv
> defAuthPassphrase mysecretpass
> defPrivType DES
> defPrivPassphrase mypassphrase
> defVersion 3
> defContextName context


Those lines belong in the file 'snmp.conf'
They are used for *client* side configuration, not the agent.



> and it works fine through command line when i give following :
>
> snmpwalk -v3 -u abc -l authPriv -a MD5 -A mysecretpass -x DES
> -X mypassphrase localhost


Which is supplying most of these values explicitly, and does *not*
specify a context. So you'll be using the default (blank) context.


> but through a MIB Browser(Mibbel GUI) it ask for "context Name" and "Context Engine" ;
> -- if i keep it empty i get a response


Exactly as above


> -- If i enter something(context) i get a response : Timeout


Because you haven't configured anything for this context.



> do anything to be done in access specifiers in snmpd.conf
>
> I had searched a lot on this .. but was unable to find it
> Could u please help in this


Bottom line - why are you trying to use contexts anyway?
It's not necessary in most cases.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0