Hello everybody I’ve been trying for two days without success to get a working table in my net-snmp implementation, but I can’t quite grasp the way the API works. All I want is a simple table that looks like this
Table_oid.1.1.102 = 102 Table_oid.1.2.102 = 3 Table_oid.1.1.103 = 103 Table_oid.1.2.103 = 2 Table_oid.1.1.105 = 105 Table_oid.1.2.105 = 4 So - two columns, both are ASN_INTEGER, first column is also index (I need it this way to work with a 3rd party application). There can be gaps and also there could appear some changes in the rows (such as insertion or deletion). The index is sored somewhere in a structure that is more or less available to me, but I cannot hardcode the values, so the index should be built with runtime values. I've tried using an example that I've found on a blog [1], but I can't seem to understand what "datamatted" means and also there is an iterator and a custom handler which I can't seem to access. I don't know when get_first_data_point is called (when it builds the index? Each time I receive a SNMP get on a table row?) and why is it so complicated to have something that has so many "helpers". What I need to have, in the end, is the SNMP interface providind the above table when I do a "walk" on it (and each time I do a walk on it)? I am available with whatever details you might need. Best regards, Vlad Cananau [1] http://people.proekspert.ee/janno/blog/2007/03/30/simple-easy-net-snmp-table-example/ ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders