*Thanks Dave. Please see my access control inline below.
*
On Thu, Feb 17, 2011 at 12:34 AM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:
> On 16 February 2011 21:21, Zongjun <qizong...@gmail.com> wrote:
> > Interesting, there DOES exist a difference. It returns the following:
> > snmpgetnext localhost snmpEngine
> > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1."public" = STRING: public
>
> OK - so either the agent doesn't support these objects,
> or the access control settings are blocking access to them.
>
> What access control do you have in the snmpd.conf file.
>
> *rwuser public*
*com2sec public default public*
*group public v1 public*
*group public v2c public*
*group public usm public*
*view all included .1*
*access public "" any noauth exact all none none*
>
>
> > How so? I thought SNMPWALK will just call SNMPGETNEXT multiple times...
>
> Yes - but think about what is implied by "multiple" here.
>
> snmpwalk will sent GetNext requests until it decides to stop.
> It decides to stop when it receives a response that falls
> outside the desired range.
>
> So in this case,
> snmpwalk sends a GetNext request for snmpEngine (1.3.6.1.6.3.10.2.1)
> It receives a response containing vacmGroupName.1."public"
> (1.3.6.1.6.3.16.1.2.1.3....)
>
> This lies outside the snmpEngine subtree (1.3.6.1.6.3.16 vs 1.3.6.1.6.3.10)
> so it discards the response, and stops.
>
*Makes sense. *
>
> Dave
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/listinfo/net-snmp-users