This is a discussion on problem in set request for multiple indexes column! within the SNMP Coders forums, part of the Networking and Network Related category; --===============0477711393== Content-Type: multipart/alternative; boundary="----=_Part_42964_14604834.1181125150806" ------=_Part_42964_14604834.1181125150806 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0477711393==
Content-Type: multipart/alternative; boundary="----=_Part_42964_14604834.1181125150806" ------=_Part_42964_14604834.1181125150806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_42964_14604834.1181125150806 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi <br>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. <br><br>I did same process with single index table and it is working fine. <br><br>When i debug the code, it is coming in all the phases like RESERVE1, RESERVE2, SET-ACTION, COMMIT, DELETE_ROW(checked it using printf() ). <br><br>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.<br><br> 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.<br><br> <br>Regards<br>Awadhesh.<br> ------=_Part_42964_14604834.1181125150806-- --===============0477711393== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0477711393== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============0477711393==-- |