Thanks a lot
This was very helpful
Rotem
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, December 11, 2007 7:03 PM
To: Rotem Tzuk
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: possible bug in getnext implementation
On
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> I'm trying to use snmpset to set values in table.
> I use snmpset ... MyMIB::MyVal.1 = newVal
> For now this does not work.
> Is this the correct way to do it?
If you are using string-valued indexes, then no - this won't work.
You must use the
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> I expected the index to refer to the number of rows in my table.
That sounds more like an integer-based index.
With an integer index, the rows will typically be
myObject.1
myObject.2
:
myObject.N
With a string index, the r
ember 11, 2007 5:47 PM
To: Rotem Tzuk
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: possible bug in getnext implementation
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> it's indexed by string value.
> I use a name as index
In which case, if the row index string i
Sent: Tuesday, December 11, 2007 5:47 PM
To: Rotem Tzuk
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: possible bug in getnext implementation
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> it's indexed by string value.
> I use a name as index
In which case, if the
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> it's indexed by string value.
> I use a name as index
In which case, if the row index string is "Station1" (length 8),
then a GETNEXT request for someColumn.9 would indeed move
on to the next column.
The OID of this instance would be
s
it's indexed by string value.
I use a name as index
Rotem
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, December 11, 2007 5:15 PM
To: Rotem Tzuk
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: possible bug in ge
On 11/12/2007, Rotem Tzuk <[EMAIL PROTECTED]> wrote:
> Calling snmpgetnext -v2c - c public localhost MyMIB::MyOID.1 to get index
> no. 1 works fine.
> It works fine for indexes up to 8.
> Trying snmpgetnext -v2c - c public localhost MyMIB::MyOID.9 resulted in
> skipping to the next column.
How is