On 9 July 2012 04:47, Benix Vincent <benixvinc...@yahoo.com> wrote: > But in general, assuming that index is NOT a scalar and table grows > dynamically, how does the snmp manager (NMS) queries the table depth > (row count)?
Even if the table is indexed "non-predictably" (and is dynamic), you can still have a MIB object to report the size of the table. But to retrieve the _contents_ of the table, the NMS will need to walk the table - i.e. use GetNext to step from one row to the next. That's pretty much inherent in the fundamental design of SNMP. You could use the row-count object to determine the size of the table, and then issue a single GetBulk request for that many repetitions. This would pull down the whole table in one go. But in essence, it's still just a GetNext-based walk of the table (just without the overheads of separate request/response packets) Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users