On Fri, Jun 25, 2004 at 09:09:29AM -0700, David T. Perkins wrote:
> First, did you see the email on the specific syntax of net-snmp
> commands?

Sorry. I tried to search something useful on snmpset but with poor
results. Maybe I used wrong words in searching.

Can you please give me its URL?

> You _CAN_NOT_ change the value of an index. Say, you have an
> index column that is called ic1, and it is writable, and there
> is an instance (a row) that exists with index value 9.
> A set with varbind of (ic1.9, 23) will fail with a badValue.
> 
> To change the value of instance of a "name" object in your table,
> you must create a new row with the new value and delete the
> old row. That is
>    get values for all columns of the row
>    change value of name
>    set values for all columns (creating new row), and in the
>      same set request, delete the old row
> 
> Alternatively you can create a table with another column used
> as an index.

Thanks a lot for your suggestions.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    [EMAIL PROTECTED]
Linux Device Driver                             [EMAIL PROTECTED]
Embedded Systems                     home page: giometti.enneenne.com
UNIX programming                     phone:     +39 349 2432127

Attachment: signature.asc
Description: Digital signature

Reply via email to