Retrieving table from external data (row identification?)
"Victor Palacio" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm coding a SNMP Agent which must generate a table with external data from a database. I'm trying to use table iterator from code skeleton generated with mib2c.iterate.conf. When I use snmptable on the agent, get_first_data_point function is executed every time one column is consulted, so I suppose I must load data for consulted row in data context. The problem is... How can I identify which row (index) is consulted from get_first_data_point, and use this to retrieve the correct data row from database? I have reviewed the only similar example, netSnmpHostTable_access.c, but I cannot retrieve anything from this table. Regards, PS: using NET-SNMP 5.1.2 -- ******************** Victor M. Palacio ******************** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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