Hi Dave,
Thanks again for the response. I wasn't sure if I would I interpret the instructions right, so I just did more and here is what I tried. rCount is the scalar after the previous table and before the next table.
62 =>./snmpgetnext -v 2c -c P-public localhost MY-MIB::rCount
MY-MIB::rCount.0 = INTEGER: 3
63 =>
63 =>./snmpgetnext -v 2c -c P-public localhost MY-MIB::rCount.0
MY-MIB::rCount.0 = INTEGER: 0
64=>
64 =>./snmpbulkget -Cr1 -v 2c -c P-public localhost MY-MIB::rCount
MY-MIB::rCount.0 = INTEGER: 3
65 =>
65 =>./snmpbulkget -Cr1 -v 2c -c P-public localhost MY-MIB::rCount.0
MY-MIB::rCount.0 = INTEGER: 0
66 =>
66 =>./snmpbulkget -Cr2 -v 2c -c P-public localhost MY-MIB::rCount
MY-MIB::rCount.0 = INTEGER: 3
MY-MIB::boardId.0 = INTEGER: 0
67 =>
67 =>./snmpbulkget -Cr2 -v 2c -c P-public localhost MY-MIB::rCount.0
MY-MIB::boardId.0 = INTEGER: 0
MY-MIB::boardId.1 = INTEGER: 1
I am thinking that I will spend a little time decreasing the size of my MIB and just have a small sample to see if this is reproducible with array-user without a lot of extras involved(I have varying scalar counts between tables, with about 10 tables).
- John
--- On Fri 06/03, Dave Shield < [EMAIL PROTECTED] > wrote:
From: Dave Shield [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: net-snmp-users@lists.sourceforge.net
Date: Fri, 03 Jun 2005 09:36:10 +0100
Subject: Re: array-user snmpbulkwalk worked for a table not entire mib
On Fri, 2005-05-27 at 15:15, [EMAIL PROTECTED] wrote:
> If I put the non-repeater value to anything 1 and higher it works
> fine.
If you're running 'snmpbulkwalk', then presumably you're only
supplying a single OID to work with?
In which case, setting a non-repeater value of 1 (or more),
means that you're not actually using the bulk retrieval aspect
of the GetBulk request. If you're querying for a single OID,
and saying "don't repeat this OID", then that's equivalent
to a straight GetNext-based walk.
> Then to get the entire table with a snmpbulkget I set -Cr to that
> number(33). It worked fine, no "no more variables". When I increased
> the number to 34, again it works fine, got a scalar object that is in
> the next object group as well. But, when I increased it to 35, that is
> when I saw the "no more variables".
Hmmm...
What happens if you run a single "snmpgetnext" request on the
scalar instance
OID ?
What about a "snmpbulkget -Cr 1 " on the scalar instance OID?
What about a "snmpbulkget -Cr 2 " on the scalar *object* OID?
Dave
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
- Re: array-user snmpbulkwalk worked for a table not entir... [EMAIL PROTECTED]
- Re: array-user snmpbulkwalk worked for a table not ... Dave Shield
- Re: array-user snmpbulkwalk worked for a table not ... Robert Story
- Re: array-user snmpbulkwalk worked for a table not ... [EMAIL PROTECTED]