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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|