table_data2 questions

2005-07-21 Thread Robert Story
Dave, turn-about is fair play, right? :-) I was moving the notification_log mib stuff into the agent library today, and the cvs main version is based on table_dataset2. I've got 2 questions. The data2 structure has the table container netsnmp_index and it's own index_oid/index_oid_len (which is

Re: Array-User questions

2005-07-21 Thread Robert Story
On Thu, 21 Jul 2005 14:44:29 +0100 Dave wrote: DS> On Thu, 2005-07-21 at 09:07 -0400, Robert Story wrote: DS> > DS> The first relates to the return value of the 'delete_row' DS> > DS> routine. This is defined as returning a 'netsnmp_index*', DS> DS> > Yep. And the return value is hard-coded to NU

deleting table rows

2005-07-21 Thread Torben Surmer
Hallo, can somebody tell me, how I can delete a table row, that I have created using net_snmp_create_table_data_row(). Thank you. _ Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig im Web, Ihren E-Mai

Re: Array-User questions

2005-07-21 Thread Dave Shield
On Thu, 2005-07-21 at 09:07 -0400, Robert Story wrote: > On Wed, 20 Jul 2005 17:02:24 +0100 Dave wrote: > DS> I've been doing a bit more work with the 'array-user' framework, > > Yeah, I noticed the cvs activity and knew what section of the book you were > working on. :-) Shucks. And there w

Re: Is there a way to log all snmp get/set from external source?

2005-07-21 Thread Robert Story
On Wed, 20 Jul 2005 14:39:28 -0700 Tony wrote: TL> Is there a way to log all snmp get/set from external source? Yes. Run the agent with "-d -Ddump". -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert S

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-21 Thread Emi . Yanagi
Robert, It's easy to reproduce the problem in two steps: 1. Generate mib2c template for etherStatsTable using mib2c.mfd.conf , mib2c -c mib2c.mfd.conf etherStatsTable 2. The only change is to add the following lines in etherStatsTable_cache_load( ) oid etherStatsDataSource[] = {1

Re: Net-snmp for 64bit Linux

2005-07-21 Thread Robert Story
On Tue, 19 Jul 2005 15:01:24 +0530 Nithin wrote: NKP>I would like to know,whether any using net-snmp for 64-bit linux AMD NKP> platform.i m using net-snmp ver 5.1 in 64-bit linux,while giving snmpd NKP> command its showing some errors. We can't help you if you don't show us the errors. There a

Re: Array-User questions

2005-07-21 Thread Robert Story
On Wed, 20 Jul 2005 17:02:24 +0100 Dave wrote: DS> I've been doing a bit more work with the 'array-user' framework, Yeah, I noticed the cvs activity and knew what section of the book you were working on. :-) DS> The first relates to the return value of the 'delete_row' DS> routine. This is

Re: mib2c for oid type cause segmentation fault, e.g. etherStatsDataSource

2005-07-21 Thread Robert Story
On Wed, 20 Jul 2005 10:47:33 -0500 [EMAIL PROTECTED] wrote: EYC> This is hard-coded just as the piece of code I copy&pasted in my email. Ok, where is it? What function? EYC> RMON-MIB::etherStatsDataSource = Wrong Type (should be OBJECT IDENTIFIER): EYC> Variable has bad type Which is odd, since

Re: link error for g++ net-snmp

2005-07-21 Thread Robert Story
On Tue, 19 Jul 2005 23:02:19 -0400 Deepak wrote: DA> Thanks for everyone's help. right now i am able to compile my net-snmp DA> stack using g++, had to make inline function to non inline. What platform/compiler are you using? I've fixed a lot of problems in CVS, and the main branch now compiles f