Re: some problem

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 9 Sep 2009 10:52:08 +0530, Darshan Ghumare <[email protected]> said:

DG> 1) Where in NET-SNMP code snmpd.conf  file is parse, So that I can make this
DG> code also refer to my config structure?

snmplib/read_config.c

DG> 2) In my case the data that I have exposed through MIB will be refreshed per
DG> request. But in this case for snmptable (which is composed of
DG> snmpgetnext(s)) data will be refreshed for each snmpgetnext. So how can I
DG> rectify this?

Add a caching mechanism to the code so that it's not refreshed per
request but refreshed per X number of seconds.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.