On Fri, 27 Feb 2015 11:11:47 -0000 Tim wrote:
TC> The subagent will need to connect to a mail server, issue a
TC> command and retrieve the data output from the command and use
TC> that to populate rows in my data tables.
TC> 
TC> Each row in the table will represent a separate instance of a
TC> smtpd server, running on a different ip address on the same
TC> host.
TC> 
TC> The ip address of the smtpd server will be used as the row
TC> index.
TC> 
TC> In the tool I'm given the following options for gathering data:
TC> 
TC> 1) container : [DEFAULT]  This access method
TC> uses a netsnmp_container to store all row data in memory. 
TC> ...
TC>   2) container-cached : This access method uses a
TC> netsnmp_container to keep track of the indexes (and data,
TC> usually) for each row.
TC> ...
TC>   3) unsorted-external : This access method iterates over all
TC> of your data to find the row with the appropriate index.
TC> ...
TC> I'm confused as to what  method I should use.

This is an old message, so you've probably already figure this out,
but I wanted to respond for the archives.

TC> I'm assuming as my data is retrieved from an external source
TC> that I should choose either 2 or 3.

Yes. I generally recommend cached (2) for external data. The
container can be loaded on demand, as requests come in, or
periodically, to keep data fresher. The cache timer should be as
long as you are comfortable with, taking into account likely
polling frequency.

TC> But what is meant by unsorted data?

Unsorted data is data that isn't in the order needed by the table.
For example, if you mail server query came back sorted by DNS name,
but your MIB table is sorted by IP address. The agent would have to
search through the data to find the right row when processing a
query.

Robert

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to