> 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
\"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
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
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
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
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