Hi Dave <How rapidly is the data changing? <If you took two snapshots, say 5 seconds apart, how likely is it that <they would be different? <What about 2 seconds?
We use SNMP Agent to report and retrieve alarm events, alarm will be raised to SNMP manager side by trap event,alarm could be happened any time. And SNMP manager will use getbulk to re-sync all alarms if needed. SNMP Agent will get all the active alarms from another process. And SNMP manager should be able to retrieve all the alarms any time. Thanks, Barclay -----Original Message----- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2012年12月18日 14:39 To: Zheng, Wenjie (Barclay) Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 18 December 2012 05:53, Zheng, Wenjie (Barclay) <barclay.zh...@alcatel-lucent.com> wrote: > We have concern to keep a cache of index, we might need audit to detect > the mismatch between cache and external data. How rapidly is the data changing? If you took two snapshots, say 5 seconds apart, how likely is it that they would be different? What about 2 seconds? It depends on the size and complexity of the table (and the exact approach you use to implement the table), but it's not implausible that walking an external table "directly" might actually end up *more* likely to have the underlying data change during the course of traversing the table, leading to inconsistent information. At least with a cache, the admin knows (or can be reasonably confident) that the information received is consistent. The other question is how often are rows added/deleted? If the number and indexing of rows is relatively static (and it's just the data values that change rapidly), then you could keep a local cache of the row indexes (and use a more efficient approach to detecting which row(s) were required), and then retrieve the current live data from within the handler itself. Just a thought. Dave ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ 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