Ending tables

This is a discussion on Ending tables within the SNMP Users forums, part of the Networking and Network Related category; I've implemented a new MIB and am having trouble walking some of the tables. After successfully walking the whole ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
John Hardin
 
Posts: n/a
Default Ending tables

I've implemented a new MIB and am having trouble walking
some of the tables. After successfully walking the whole table,
the client reports an error or timeout. This new MIB is broken up
into multiple source files, each implementing a portion of the
MIB and registering its branch of the MIB independently.
I've traced this with Ethereal and found that when a GET-NEXT
is received for the last row of the last column of a table and I can
then respond with the first row of the first column of the next table,
the client recognizes the end of the MIB. When it's my last table,
I see no response to the last request. The client resends it several
times then quits the walk with an error.

Each var_tablename(...) function in my code returns NULL on the
last call. This is where header_simple_table returns MATCH_FAILED.
(I'm using the old UCD interface and Net-SNMP 5.2.)

Does this sound familiar to anyone? Am I supposed to do something
special after the last row of the last column of the table is returned?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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
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

vB 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 11:18 AM.


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