RE: Index of table in SNMP Agent

2013-01-16 Thread Zheng, Wenjie (Barclay)
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 On 17 December 2012 01:18

Re: Index of table in SNMP Agent

2013-01-16 Thread Dave Shield
On 16 January 2013 08:31, Zheng, Wenjie (Barclay) barclay.zh...@alcatel-lucent.com 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

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) barclay.zh...@alcatel-lucent.com wrote: I spend some time to study the iterator helper to retrieve external data outside from SNMP agent. I found that iterator uses

RE: Index of table in SNMP Agent

2012-12-19 Thread Zheng, Wenjie (Barclay)
[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) barclay.zh...@alcatel-lucent.com

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
On 17 December 2012 01:18, Zheng, Wenjie (Barclay) barclay.zh...@alcatel-lucent.com 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

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

Re: Index of table in SNMP Agent

2012-12-17 Thread Dave Shield
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

RE: Index of table in SNMP Agent

2012-12-16 Thread Zheng, Wenjie (Barclay)
, 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) barclay.zh...@alcatel-lucent.com wrote: I am trying to setup a SNMP Agent to manage data from outside of SNMP

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 from outside of SNMP

Re: Index of table in SNMP Agent

2012-12-14 Thread Dave Shield
On 14 December 2012 06:45, Zheng, Wenjie (Barclay) barclay.zh...@alcatel-lucent.com 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,

Index of table in SNMP Agent

2012-12-13 Thread Zheng, Wenjie (Barclay)
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 keep a index list of the table data, but as my data is from out side of

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 keep