On 28/08/07, <[EMAIL PROTECTED]> 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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders