On 20 October 2011 09:39, Ravi Kumar wrote:
> Code is similar to below
OK - so you are still forcing me to guess.
The only thing I can spot that looks wrong is the
handling of suffices (i.e. the index values)
> suffix = requests->requestvb->name + reginfo->rootoid_len + 1;
> s
Code is similar to below
void
initialize_table_XXXTable(void)
{
static u_long XXXTable_oid[] = { 1, 3, 6, 1, 4, 1, 38070, 3, 1, 24, 4
};
netsnmp_table_registration_info *table_info;
netsnmp_handler_registration *my_handler;
netsnmp_variable_list *index_vb;
table_info
On 20 October 2011 08:07, Ravi Kumar wrote:
> I have registered my table with netsnmp_register_table to implement
> my own getnext.
> Every thing seems to be working fine except snmpgetnext request with
> multiple oid returns only first oid and its value in response PDU.
> Any guesses ?
I'm sorr
I have registered my table with netsnmp_register_table to implement my own
getnext.
Every thing seems to be working fine except snmpgetnext request with
multiple oid returns
only first oid and its value in response PDU. Any guesses ? my code loops
over
for (request = requests; request; request =
On 19 October 2011 08:57, Ravi Kumar wrote:
> Can you please point me the function or code where this conversion is
> happening with respect to netSnmpHostsTable.
This is probably handled within 'netsnmp_table_iterator_helper_handler'
(agent/helpers/table_iterator.c).That's at the heart of th
Can you please point me the function or code where this conversion is
happening with
respect to netSnmpHostsTable . what if some one wants to implement his own
getnext functionality ?
Thanks.
On Wed, Oct 19, 2011 at 1:05 PM, Dave Shield wrote:
> On 19 October 2011 07:53, Ravi K
On 19 October 2011 07:53, Ravi Kumar wrote:
> I was going though netSnmpHostsTable table implementation based
> on mib2c.iterate_access.conf.
> I could no find a GETNEXT handling in netSnmpHostsTable_handler from the
> code looks like only get and set are handled.
That's correct.
Most of the tabl
Hi,
I was going though netSnmpHostsTable table implementation based
on mib2c.iterate_access.conf.
I could no find a GETNEXT handling in netSnmpHostsTable_handler from the
code looks like only
get and set are handled. But while querying the table getnext is working
fine as well. Can any body tell m