RE: walk on one column in a table

This is a discussion on RE: walk on one column in a table within the SNMP Coders forums, part of the Networking and Network Related category; DS> No - that's not what I said. I suggested tweaking the 'name' parameter if there were no *rows* ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-14-2005
Fong Tsui
 
Posts: n/a
Default RE: walk on one column in a table


DS> No - that's not what I said. I suggested tweaking the 'name'
parameter
if there were no *rows* in the table - if it was completely empty.
The idea was to skip calling the same handler 50 times, each of which
returned an empty column.

DS> Note that the agent can't assume that a failure in one column will
automatically mean a failure in the other columns - it's quite possible
to have a "sparse" table, where individual values are missing.
Or even for a particular column object not to be implemented at all.

DS> he agent can't know whether to skip to the end of the table - only
your code knows that.

DS> Now I'm not too surprised if this doesn't actually work - as Robert
says, such behaviour was regarded as "evil". But it was worth a try.
I suspect that you may need to switch to using the v5 handler-based
API if you want to be able to do this.

Can v5 handler-based API do that? Could you tell me where to start?

Thanks,=20

FT



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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
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 09:25 PM.


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