Re: Net-snmp time out issue for snmp walk request

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZ6XyQ1MK+_pRZ0CGRcQ66qhpfX0SYW3qz7iw279HBwSQ@mail.gmail.com>
On 16 April 2012 10:56, Suresh kumar <[email protected]> wrote:
>                                              Since in our case it
> takes around 5-10 minutes to populate complete table,

Five to ten *minutes*?
No - that is WAY too long to deal with using an "on-demand" model!

I'd suggest that your best approach would be to periodically dump
the contents of the CORBA service into a text file or local database,
using a mechanism *external* to the SNMP agent.
   The MIB module can then report the information from that
"external cache" (with minimal delay), rather than having to wait
for the (internal) cache loading mechanisms to retrieve it on demand.

You'll always have to strike a balance between the overheads of
populating a data cache, with the time you keep this cache valid for
(and hence how out-of-date the information is).   That holds whether
the cache is held within the agent or externally.
   But I'd suggest that running a cron job to dump the data once or
twice an hour (or something similar), would be a reasonable starting
point, given the length of time you say it takes to load.

Dave

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.