Bluehost.com Web Hosting $6.95

Re: how to return no such instance for delegated requests

This is a discussion on Re: how to return no such instance for delegated requests within the SNMP Coders forums, part of the Networking and Network Related category; On Thu, 24 Feb 2005 23:28:47 +0530 (IST) madanagopal wrote: M> I know that i will get ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2005
Robert Story
 
Posts: n/a
Default Re: how to return no such instance for delegated requests

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/tut...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
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 05:33 AM.


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