Re: problem in set request for multiple indexes column!

2007-06-14 Thread Robert Story
On Tue, 12 Jun 2007 18:29:49 +0530 Awadhesh wrote: AK> I am creating row initially at startup. I am using following code in init AK> method of code. Ok, that looks ok.. AK> When i do SNMP set request, i am not creating any row, A call back AK> (gsomcGrpCfgTable_create_row) to create the row is ca

Re: problem in set request for multiple indexes column!

2007-06-13 Thread Awadhesh Kumar
Hi Robert, I am creating row initially at startup. I am using following code in init method of code. int init_gsomcGrpCfgTable(void){ netsnmp_index index; oid index_oid[2]; for(int indexVal = 0; indexVal< 5; indexVal++){ /*initialize the index value*/ index_oid[0] = indexVal; //first index value

Re: problem in set request for multiple indexes column!

2007-06-13 Thread Awadhesh Kumar
Hi Robert, Thanks for reply. I ran the agent in debug mode, no proper messgae is coming while debugging which shows error. If i do the SET request on OID .1.3.6.1.4.1.303.3.3.9.35.5.2.8.1.4.1.1 with value 3, it is showing the following output at linux console [EMAIL PROTECTED] socks]# agentx/mas

Re: problem in set request for multiple indexes column!

2007-06-12 Thread Robert Story
On Mon, 11 Jun 2007 16:48:19 +0530 Awadhesh wrote: AK> I have not written any code the ACTION and COMMIT phase of mib2c generated AK> code right now and same code is working if I use it for single index table. That's just odd. How are these rows created? By snmpset, or do you create them at startu

Re: problem in set request for multiple indexes column!

2007-06-07 Thread Robert Story
On Wed, 6 Jun 2007 15:49:10 +0530 Awadhesh wrote: A> [...] If i try to set A> the particular column instances with some value, it sets properly as per A> response (please note that , no error come) but If I read the same A> instances(same column) it is giving the old value which i have initialized