Re: array-user snmpbulkwalk worked for a table not entire mib

This is a discussion on Re: array-user snmpbulkwalk worked for a table not entire mib within the SNMP Users forums, part of the Networking and Network Related category; --EXCITEBOUNDARY_000__75a1c6857a29b9c615bd1ff1d30802 99 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Dave, Thanks again. Could ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-26-2005
jntdino@excite.com
 
Posts: n/a
Default Re: array-user snmpbulkwalk worked for a table not entire mib




--EXCITEBOUNDARY_000__75a1c6857a29b9c615bd1ff1d30802 99
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Dave,



Thanks again. Could you possibly explain why an snmpbulkwalk

command would work on my MIB when the non-repeater value is set to 1

and fail when not set at all? As my original email specified, if a

snmpbulkwalk is done on one of my tables I get:



No more variables left in this MIB View (It is past the end of the MIB tree)



If the -Cn1 is set then no such problem. The real problem is

trying to walk multiple tables in one snmpbulkwalk, as it can't go

from one to another if it receives the "No more" after the first.



- John







--- On Thu 05/26, Dave Shield wrote:

From: Dave Shield [mailto: D.T.Shield@csc.liv.ac.uk]

To: jntdino@excite.com

Cc: net-snmp-users@lists.sourceforge.net

Date: Thu, 26 May 2005 16:11:47 +0100

Subject: Re: array-user snmpbulkwalk worked for a table not entire mib



On Thu, 2005-05-26 at 15:48, jntdino@excite.com wrote:> does setting the > non-repeater value to 1 have a similar functional effect to the a > command as the max-repetitions?No - the two fields have completely different purposes.A single GetBulk request is basically equivalent to oneGetNext request (with "non-repeater" varbinds) followedby "max-repetitions" GetNext requests (each containingthe remaining varbinds).So GetBulk( non=2, max=3) A B C D Eis equivalent to: GetNext A B GetNext C D E GetNext C' D' E' GetNext C" D" E"If max=1, then this becomes GetNext A B GetNext C D Ewhich is exactly equivalent to GetNext A B C D EIt's the max-repetitions field that really distinguishesGetBulk from GetNext requests. Hence setting this to 1is pointless.Dave

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

--EXCITEBOUNDARY_000__75a1c6857a29b9c615bd1ff1d30802 99
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Dave,



Thanks again. Could you possibly explain why an snmpbulkwalk

command would work on my MIB when the non-repeater value is set to 1

and fail when not set at all? As my original email specified, if a

snmpbulkwalk is done on one of my tables I get:



No more variables left in this MIB View (It is past the end of the MIB tree)



If the -Cn1 is set then no such problem. The real problem is

trying to walk multiple tables in one snmpbulkwalk, as it can't go

from one to another if it receives the "No more" after the first.



- John



<br>

<br>

--- On Thu 05/26, Dave Shield < D.T.Shield@csc.liv.ac.uk > wrote:

From: Dave Shield [mailto: D.T.Shield@csc.liv.ac.uk]

To: jntdino@excite.com

Cc: net-snmp-users@lists.sourceforge.net

Date: Thu, 26 May 2005 16:11:47 +0100

Subject: Re: array-user snmpbulkwalk worked for a table not entire mib



On Thu, 2005-05-26 at 15:48, jntdino@excite.com wrote:<br><br>> does setting the <br>> non-repeater value to 1 have a similar functional effect to the a <br>> command as the max-repetitions?<br><br><br>No - the two fields have completely different purposes.<br><br>A single GetBulk request is basically equivalent to one<br>GetNext request (with "non-repeater" varbinds) followed<br>by "max-repetitions" GetNext requests (each containing<br>the remaining varbinds).<br><br>So<br> GetBulk( non=2, max=3) A B C D E<br><br>is equivalent to:<br><br> GetNext A B<br> GetNext C D E<br> GetNext C' D' E'<br> GetNext C" D" E"<br><br><br>If max=1, then this becomes<br><br> GetNext A B<br> GetNext C D E<br><br>which is exactly equivalent to<br><br> GetNext A B C D E<br><br>It's the max-repetitions field that really distinguishes<br>GetBulk from GetNext requests. Hence setting this to 1<br>is
pointless.<br><br>Dave<br><br><p><hr><font size=2 face=geneva><b>Join Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>

--EXCITEBOUNDARY_000__75a1c6857a29b9c615bd1ff1d30802 99--




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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:56 PM.


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