RE: Index of table in SNMP Agent

2013-01-16 Thread Zheng, Wenjie (Barclay)
; net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 16 January 2013 08:31, Zheng, Wenjie (Barclay) wrote: > I spend some time to study the iterator helper to retrieve external data > outside from SNMP agent. > I found that iterator uses a 'get first&

Re: Index of table in SNMP Agent

2013-01-16 Thread Dave Shield
On 16 January 2013 08:31, Zheng, Wenjie (Barclay) wrote: > I spend some time to study the iterator helper to retrieve external data > outside from SNMP agent. > I found that iterator uses a 'get first' and 'get next' way for get and > getbulk requests. The iterator uses 'get_first' and 'get_nex

RE: Index of table in SNMP Agent

2013-01-16 Thread Zheng, Wenjie (Barclay)
y! Barclay -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2012年12月17日 16:28 To: Zheng, Wenjie (Barclay) Cc: net-snmp-us...@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent

RE: Index of table in SNMP Agent

2012-12-19 Thread Zheng, Wenjie (Barclay)
Hi Dave mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2012年12月18日 14:39 To: Zheng, Wenjie (Barclay) Cc: net-snmp-us...@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 18 December 2012 05:53, Zheng, Wenjie (Barclay) wrote

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
On 18 December 2012 05:53, Zheng, Wenjie (Barclay) 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

RE: Index of table in SNMP Agent

2012-12-17 Thread Zheng, Wenjie (Barclay)
to. Thanks, Barclay -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: 2012年12月17日 16:28 To: Zheng, Wenjie (Barclay) Cc: net-snmp-us...@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
On 17 December 2012 01:18, Zheng, Wenjie (Barclay) wrote: > Thanks for your response, it's really helps. > Is there an example I can refer that SNNP can retrieve data from outside? Hmmm... there are probably not many examples of using the iterator to walk through external data. As I indica

RE: Index of table in SNMP Agent

2012-12-16 Thread Zheng, Wenjie (Barclay)
Zheng, Wenjie (Barclay) Cc: net-snmp-us...@lists.sourceforge.net; net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On 14 December 2012 06:45, Zheng, Wenjie (Barclay) wrote: > I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent. > I

Re: Index of table in SNMP Agent

2012-12-14 Thread Dave Shield
On 14 December 2012 06:45, Zheng, Wenjie (Barclay) wrote: > I am trying to setup a SNMP Agent to manage data from outside of SNMP Agent. > I try to use mib2c.iterate.conf to generate code, I found that the table > handler need > to keep a index list of the table data, but as my data is from out s

RE: Index of table in SNMP Agent

2012-12-14 Thread Zheng, Wenjie (Barclay)
, Wenjie (Barclay) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Index of table in SNMP Agent On Fri, 2012-12-14 at 07:45 +0100, Zheng, Wenjie (Barclay) wrote: > Hi Everyone > > I have a question for SNMP table handler. > I am trying to setup a SNMP Agent to manage data fro

Re: Index of table in SNMP Agent

2012-12-13 Thread Magnus Fromreide
On Fri, 2012-12-14 at 07:45 +0100, Zheng, Wenjie (Barclay) wrote: > Hi Everyone > > I have a question for SNMP table handler. > I am trying to setup a SNMP Agent to manage data from outside of SNMP > Agent. I try to use mib2c.iterate.conf to generate code, I found that > the table handler need to