Hi
I am implementing the sub-agent using net-snmp 5.4.1 pre. I have created
code with mib2c with configuration mib2c.array-user.conf. The table object
defined in the mib has two index value. Initially i set the 10 rows with
some default column values. I am able to get the same value from mib browser
using GET-REQUEST or snmp get  command on Linux terminal. If i try to set
the particular column instances with some value, it sets properly as per
response (please note that , no error come) but If I read the same
instances(same column) it is giving the old value which i have initialized
earlier.

I did same process with single index table and it is working fine.

When i debug the code, it is coming in all the phases like RESERVE1,
RESERVE2, SET-ACTION, COMMIT, DELETE_ROW(checked it using printf() ).

Means, the problem come with 2 indexes (composite index) table. Could you
please tell me the solution of the problem. Why Net-SNMP framework is not
able to update the given instances of column in SET REQUEST.

Also how can i increase the TIMEOUT value of response time of SET/GET
command in net-snmp. Because If i use gdb debugger with my subagent to check
the problem, TIMEOUT response is coming.


Regards
Awadhesh.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to