On Thu, 24 Feb 2005 23:28:47 +0530 (IST) madanagopal wrote:
M> I know that i will get queries for only certain columns which will be 
M> always walks.

No, you don't know that. You may know that *your* management application will
only send walks for columns, but you have no idea what some other user who has
access to your agent will do. Thus breaking the SNMP specs is a bad idea.

M> At the end of the walk even though next column values can be 
M> obtained through remote communication, i want to avoid this due to the 
M> time taken.

If this is your goal, there are other options. Add an object that returns the
number of rows in the table. The manager can get this object, then issue a
GETBULK for the column, and specify the exact number of rows to get. That
should prevent the extra get-next w/out breaking the agent for other apps.

Also, depending on how you get your data, caching can be a big help, even if it
is for a short time. If you are trying to optimize for periodic walks, you can
cache for just long enough to complete the walk (1 sec, 5 sec?).

M> Same case with requests for which responses are not received 
M> within a certain time. Anyway the manager would have timed out and so i 
M> don't want to have another request given by the agent for the next 
M> mibtree.

What if the manager increases it's timeout? Again, guessing what users will do
usually ends up getting you in trouble when they do something you don't expect.

M> > That's not necessarily true. With a little work you can use caching
M> > to work with array-user. If you upgrade to 5.2.1, you can use the new mfd
M> > helper too.
M> 
M> Can i get some documentation and examples for mfd helper?

        http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/

M> Does it support contexts and delegation?

Not yet, but it should. But I can work with you to get it working if you are
interested.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to