iterate option
Rohini V <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi I am a new entry for Net-SNMP APIs. I need to develop a solution for a MIB, which posses tables. I felt iterate shall be a better option, and tried the same on a sample MIB which posses a single table with 3 columns. But, I have stored all the values in a .txt file, as oid and value pair. For example : .1.3.6.1.3.50.2.1.1.1 1 .1.3.6.1.3.50.2.1.2.1 test11 .1.3.6.1.3.50.2.1.1.2 2 .1.3.6.1.3.50.2.1.2.2 test22 In the example provided for netSnmpHostsTable_access.c; its specified that we need to read the contents from the file and update it using snmp_set_var_value. This concept results in huge IO operations for every GET Request. Please help, how can I further continue ? Thanx in advance. Regards, Rohini ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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