Re: Advice for implementing table

2010-07-26 Thread Dave Shield
On 25 July 2010 19:54, Angela Perez wrote: >I haven't worked out how to get the snmp code to > fetch only the specific row from the database table (i.e. SELECT * > FROM DB_TABLE WHERE rowNum = snmpRequestedRowNum) I presume the difficulty here is in determining the appropriate val

Re: Advice for implementing table

2010-07-25 Thread Angela Perez
Hi Robert, Dave, and the rest of the list, Thanks for the additional information. I'm feeling that I'm starting to get to grips with NetSNMP. I found very helpful seeing the calls' flow by running snmpd -Dverbose:tableName -f and seeing how the agent obtains the data and then process it to answer

Re: Advice for implementing table

2010-07-20 Thread Dave Shield
On 13 July 2010 16:06, Robert Story wrote: > I'm sure Dave will chime in and defend some of the other options > real soon now. :-) Sorry for not chipping in earlier, and I'm glad to hear that you've managed to get things working.To echo Robert - yes, please do write up your experiences. We

Re: Advice for implementing table

2010-07-19 Thread Robert Story
On Sun, 18 Jul 2010 17:36:26 +0100 Angela wrote: AP> I have now managed to implement my table using MfD. It works fine and AP> I'm really pleased with it. In the beginning I was a bit daunted by AP> the MfD, but turns out it is really simple - hence the name I guess AP> :-) Yay! :-) AP> I also di

Re: Advice for implementing table

2010-07-18 Thread Angela Perez
Hi Robert, Thank you for your reply and advice. I have now managed to implement my table using MfD. It works fine and I'm really pleased with it. In the beginning I was a bit daunted by the MfD, but turns out it is really simple - hence the name I guess :-) I also did an alternative implementati

Re: Advice for implementing table

2010-07-13 Thread Robert Story
On Thu, 8 Jul 2010 19:54:50 +0100 Angela wrote: AP> (1). Data is external to the agent (lives in a database), caching is AP> desirable but not essential. several of the tables have the option to use the cache helper, which can also be easily added to those that don't. AP> (2). Ideally looking for

Advice for implementing table

2010-07-12 Thread Angela Perez
Dear NetSNMP Coders, I'm trying to implement a table in NetSNMP and was after some advice on which is the best option to go for. The requirements are: (1). Data is external to the agent (lives in a database), caching is desirable but not essential. (2). Ideally looking for an implementation that