Hi all, I'm using mib2c with the mib2c.mfd.conf file to create a subagent in c.
The subagent will need to connect to a mail server, issue a command and retrieve the data output from the command and use that to populate rows in my data tables. Each row in the table will represent a separate instance of a smtpd server, running on a different ip address on the same host. The ip address of the smtpd server will be used as the row index. In the tool I'm given the following options for gathering data: Which method would you like to use to gather data about available rows? 1) container : [DEFAULT] This access method uses a netsnmp_container to store all row data in memory. This method is best for: - Internal data (maintained by the agent) - Access speed is important - Sufficient memory exists to contain all rows 2) container-cached : This access method uses a netsnmp_container to keep track of the indexes (and data, usually) for each row. This method is best for: - External data (maintained by another process/the kernel) - Access speed is important - Sufficient memory exists to contain all indexes 3) unsorted-external : This access method iterates over all of your data to find the row with the appropriate index. This method is good for - External data (maintained by another process/the kernel) - Using less memory is much more important than access speed I'm confused as to what method I should use. I'm assuming as my data is retrieved from an external source that I should choose either 2 or 3. But what is meant by unsorted data? I've attached a copy of the mib file used with mib2c. I'd appreciate if somebody could explain which method I should choose. Regards, Tim
OWM-rg-mib
Description: Binary data
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders