RE: Cannot find an adquest mib2c configuration file for travesing

This is a discussion on RE: Cannot find an adquest mib2c configuration file for travesing within the SNMP Coders forums, part of the Networking and Network Related category; I have tried snmpget to query a get request and snmpwalk for getNext. Shuki -----Original Message----- From: Dave Shield [mailto:...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-07-2005
sasson, shuki
 
Posts: n/a
Default RE: Cannot find an adquest mib2c configuration file for travesing

I have tried snmpget to query a get request and snmpwalk for getNext.

Shuki

-----Original Message-----
From: Dave Shield [mailto:D.T.Shield@csc.liv.ac.uk]
Sent: Friday, October 07, 2005 11:44 AM
To: sasson, shuki
Cc: net-snmp-coders@lists.sourceforge.net
Subject: RE: Cannot find an adquest mib2c configuration file for travesing
large tables. --- Does Net-SNMP fit to real time environment?

On Fri, 2005-10-07 at 11:23 -0400, sasson, shuki wrote:

> I have tried to apply the netsnmp_register_table() as you suggested in
> previous email.
> However the table_handler was not called for any Get Request for a table
> entity.... I'll be thankful if you can
> verify that this is working on your side using a simple table.


I can confirm that a table registered with 'netsnmp_register_table()'
*does* invoke the handler with MODE_GET when queried using 'snmpget',
and with MODE_GETNEXT when queried using 'snmpwalk' or 'snmpgetnext'.
Exactly as expected.

What command did you use to query the table?



> It was called for a GetNext with a junk request.


Remember that when walking a table, the user will typically start
from the root of the table - i.e. not including any index values.
It's up to the handler to recognise this situation, and return
the first entry in the table.

The specialist table helpers will handle this for you. But if
you're working with the "raw" table, then you need to do this
yourself. That's part of the simplicity/efficiency tradeoff
I was talking about.


Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 10:49 PM.


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