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

problem in set request for multiple indexes column!

2007-06-06 Thread Awadhesh
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 brows

Re: Problem in Set(IpForwarding)

2005-11-28 Thread Robert Story
On 28 Nov 2005 09:11:28 - madhan wrote: MR> I am using Net-Snmp 5.3 in my Router. I am able to set all the MR> values in IP group except IpForwarding(.1.3.6.1.2.1.4.1).The error is MR> NoSuchName. Kindly help me regarding this. First of all, there is no release 5.3. Are you using one

Problem in Set(IpForwarding)

2005-11-28 Thread madhan raj
  Dear All,         I am using Net-Snmp 5.3 in my Router. I am able to set all the values in IP group except IpForwarding(.1.3.6.1.2.1.4.1).The error is NoSuchName. Kindly help me regarding this. -Madhan

Re: Problem in Set

2005-11-17 Thread Thomas Anders
The Net-SNMP 5.3.x Release Manager wrote: If this is a linux host, re-configure with --enable-mfd-rewrites and try again. Or try 5.3.pre2. Or 5.3.pre3 if you prefer to test the *latest* pre-release ;-) +Thomas --- This SF.Net email is spon

Re: Problem in Set

2005-11-17 Thread Robert Story
On 16 Nov 2005 07:30:12 - madhan wrote: MR> I am using net-snmp-5.2.1.2 in my router. All the snmp MR> commands are working fine except "snmpset". The error message which I MR> got while setting is as follows: MR> MR> # snmpset -v2c -c salauddin localhost MR> interfaces.ifTable.

Re: Problem in Set

2005-11-17 Thread Wes Hardaker
> On 16 Nov 2005 07:30:12 -, "madhan raj" <[EMAIL PROTECTED]> said: madhan> I am using net-snmp-5.2.1.2 in my router. All the snmp madhan> commands are working fine except "snmpset". The error message which I madhan> got while setting is as follows: It means that variable isn't writab

Problem in Set

2005-11-16 Thread madhan raj
  Dear All,           I am using net-snmp-5.2.1.2 in my router. All the snmp commands are working fine except "snmpset". The error message which I got while setting is as follows: # snmpset -v2c -c salauddin localhost interfaces.ifTable.ifEntry.ifAdminStatus.1 i 1 Error in packet. Rea