Re: Help required on net-snmp multiple varbind get-next generic error problem

"srinivas pippiri" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Dave.
The table contains 6 rows and i am using the standard MIB tables
1st case
index is two dimensional say suppose (Mib1.1.1).
Here i am performing the Get-Next on the last index for all the MIB objects
in the table in multiple varbind. In this case it is returning Generic
error. If i take the index out of range also the same error we are getting.

But if i do Get-Next on the other indexes of the table then we are getting
the correct response in multiple varbind case.

2nd case
If we perform the Get-next on the last index for all the MIB objects in the
table in multiple varbind which has a single index(Mib1.1) it is working.

Even if we take the out of range indexes also we are getting the correct
response.

Thanks and Regards,
Srinivas


On 1/21/08, Dave Shield <[email protected]> wrote:
>
> On 21/01/2008, srinivas pippiri <[email protected]> wrote:
> >  I tried upgrading to 5.3.2 and still the problem remains.
>
> >  But if i include more than one MIB object including the last MIB object
> of
> > the table, we are getting the problem of Generic error.
>
> I've just tried a similar query with one of the standard
> iterator-based MIB tables,
> and it works fine.   I'm more and more coming to the conclusion that this
> is probably a bug in your particular MIB module, rather that the iterator
> helper itself.
>
>
> >                 In debug mode i have
> > seen there is a big loop going on(say suppose if i include all the 6 MIB
> > objects of the table get_next_data_point from our MIB module is getting
> > called 28000 times).
>
> How many rows are there in this table?
> Note that the iterator helper is know to be relatively inefficient.
> If you've got a large table, then you might be better off using one
> of the other MIB helpers.
>
> How are the underlying contents of the table stored and retrieved?
> What do the 'get_first'/'get_next' hook routines look like?
>
> Dave
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.