On Mon, 2005-08-01 at 12:51 +0200, Cicerone Vincenzo wrote: > I've a static table with read-write elements > I've used the 'mib2c.iterate.conf' configuration file to generate the > 'C' mib module > When I query the Agent to SET Element.2 i receive the following answer: > > Error Indication in response: There is no such instance in this MIB. > Object ID: .1.3.6.1.4.1.3034.9.1.1.1.1.2.2 > NULLOBJ: NULL
What happens if you try a GET request on the same instance? > Is there a configuration file that allows to access every single element > in a table? The iterator config will do this, if you've got suitable 'get_first' and 'get_next' hooks to walk through the rows of the table. What do these two routines look like? Alternatively you could use the 'table_data' or 'table_container' configuration files. The agent would need to hold a list of which rows were valid (either maintained internally, or refreshed regularly using the cache helper), but the contents of a particular row could be retrieved from your external subsystem when the request is processed. And I'm sure that the MfD framework could be used in a similar way. *ALL* MIB implementation frameworks will provide access to every element in a table. It's pretty much a fundamental necessity for implementing a MIB table. Dave ------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
