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
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
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,
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
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
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
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
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