On 20 March 2012 16:23, Francois Bouchard <[email protected]> wrote: > Is there also a way to known the table length (in number of rows) ?
In general, no. Depending on how the table is represented internally, the agent may not have access to this information at all (e.g. if you're using the iterator approach and pulling the data from some external source). If you've got an internally cached version of the table, then that information is clearly available, but how you calculate it will depend on how the table is stored. Probably the simplest approach, particularly if you're using the cache helper, would be for the cache load routine to count the number of rows as it loads the table, and store this information in a file-scoped variable. Dave ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ 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
