Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
I ran into few problems when compiling my mib using mib2c.iterate.conf. Mentioned below is the sample of the table. 1. The data structure that got generated "sensorTable_entry" had problem. The sensorIndex was repeted twice. struct sensorTable_entry { /* Index values */ long

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
I ran into few problems when compiling my mib using mib2c.iterate.conf. Mentioned below is the sample of the table. 1. The data structure that got generated "sensorTable_entry" had problem. The sensorIndex was repeted twice. struct sensorTable_entry { /* Index values */ long

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
May be i've found the problem, given below is the code generated after mib2c netsnmp_variable_list * sensorTable_get_next_data_point(void **my_loop_context, void **my_data_context, netsnmp_variable_list * put_index_data,

Re: Problem with mib2c.iterate.conf

2006-05-19 Thread Sridhar Addagada
Attached is the dummy routine that i've written to populate the table, please take a look at it and tell me if it is sufficient. If i need to add these entries to the table iterator, can someone point me to an example. void populate_sensorTable(void) { struct sensorTable_entry sdr; struct

cross compiled snmpd is not responding

2006-05-19 Thread sreejith.kuttikrishnan
Title: cross compiled snmpd is not responding Hi all, I have to to rum  net-snmp on a powerpc board. The direct compilation on  board gives a fairly respondimg snmpd but when I cross-compile the same on a FC4 machine for powerpc target , the compilation is successful , but the  cross compiled

Why are not all columns of udpEndpointTable shown?

2006-05-19 Thread Anders Persson
Hi all, I was looking at udpEndpointTable in 5.3.0.1, and I noticed that the only column from the table that is being displayed is udpEndpointProcess. Does anyone know why not all columns are being extracted? Thanks, Anders --- Using Tomc

Re: Why are not all columns of udpEndpointTable shown?

2006-05-19 Thread Thomas Anders
Anders Persson wrote: I was looking at udpEndpointTable in 5.3.0.1, and I noticed that the only column from the table that is being displayed is udpEndpointProcess. Does anyone know why not all columns are being extracted? On what platform? +Thomas -- Thomas Anders (thomas.anders at blue-c

Re: Why are not all columns of udpEndpointTable shown?

2006-05-19 Thread Anders Persson
Thomas Anders wrote: On what platform? Well, this behavior appears to me to be platform independent, because in udpEndpointTable_constants.h the min and max columns are set as follows: #define UDPENDPOINTTABLE_MIN_COL COLUMN_UDPENDPOINTPROCESS #define UDPENDPOINTTABLE_MAX_COL COLUMN_UDPEN