Re: OCTET-STRING index Problem

2004-06-24 Thread Dave Shield
> My target is to define a table in which the user can insert new entry using > "set" command and with string index field > Is it possible ? Yes. > If yes, in which way ? Have a look at 'agent/mibgroup/agent/nsDebug.c' which does exactly this (using a RowStatus column object). The 'nsLogging

Re: OCTET-STRING index Problem

2004-06-23 Thread Maurizio RUBINI
\"process1\" The example explained previously tries to make this. Is it possible ? If yes, in which way ? Regards From: "David T. Perkins" <[EMAIL PROTECTED]> To: "Maurizio RUBINI" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: OCTET-STRING index Prob

Re: OCTET-STRING index Problem

2004-06-21 Thread Niels Baggesen
On Fri, Jun 18, 2004 at 06:00:33PM +0200, Maurizio RUBINI wrote: > When i type the command : > > snmpget -v2c -c public localhost procEnabledName.\"process3\" > > the result is : > procEnabledName."process1": Unknown Object Identifier (Index out of range: > "process1 (procEnabledIndex)) > > and

Re: OCTET-STRING index Problem

2004-06-18 Thread Coders
On Fri, 18 Jun 2004 18:00:33 +0200 Maurizio wrote: MR> I have implemented the table with array-users.conf and i managed the index MR> in the following way: MR> MR> char idxList[] ={"process1", "process2", "process3"} I hope that's a typo. It should be a "char *". MR>/*First value

Re: OCTET-STRING index Problem

2004-06-18 Thread David T. Perkins
HI, First, fix your object definitions Index objects cannot have max access of "read-create". They should be "not-accessible". The other writable objects in the table should be "read-create" and not "read-write". At 06:00 PM 6/18/2004 +0200, Maurizio RUBINI wrote: >Hi, > >I have a problem wi

OCTET-STRING index Problem

2004-06-18 Thread Maurizio RUBINI
Hi, I have a problem with OCTET-STRING index.(Net-snmp rel. 5.1) My MIB is : procEnabledTableOBJECT-TYPE SYNTAX SEQUENCE OF ProcEnabledEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION