Hi,
I created 2 file table.c and table.h for my table using mib2c.
.c file conatins methods like init, 
intialize_table,table_createentry,table_removeentry, 
table_get_firts_data_point, table_get_next_data_point, table_handler.
My table structucre is like:
paramname<--index (OID: Enterprise:1.12.1.6.1)
paramdisplayname<--display string (Enterprise:1.12.1.6.2)
paramvalue<--display string (Enterprie: 1.12.1.6.3)I am filling values in OID 
1.12.1.6.2 and 1.12.1.6.3 durign intialization.
as
1.12.1.6.2.displayname1 1.12.1.6.3.value1
1.12.1.6.2 displayname2 1.12.1.6.3.value2
1.12.1.6.2.displayname3 1.12.1.6.3.value3
Whenever I make a get on table using MibBrowser my agent is issuing getNext 
request on OID 1.12.1.6.4 also this is resulting in wrong code execution.
Sometime it return only 1 row in result 
I can see a message after running my agent in debug mode "Enterprise:1.12.1.6.4 
= Variable has a bad type..."
Is there any issue in storing MIB OID or caching ..please look into this.thanks 
and regards 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to