Re: How to set a table's field

2004-06-28 Thread Dave Shield
RG> snmpset SELTASYS-MIB::office.\"Rodolfo Giometti\" = "Colognora" MS> In the sample given, substitute the equals sign with the letter "s". Just so's you know, Mike - the "=" means "use whatever syntax is defined in the MIB file for this object" So as long as SELTASYS-MIB::office is d

Re: How to set a table's field

2004-06-25 Thread Rodolfo Giometti
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

Re: How to set a table's field

2004-06-25 Thread Rodolfo Giometti
On Fri, Jun 25, 2004 at 12:08:21PM -0400, [EMAIL PROTECTED] wrote: > In the sample given, substitute the equals sign with the letter "s". It gives the same result... I found I should use the string: \"Rodolfo\ Giometti\" > Please read the manual page for snmpset. I did it, but it didn't help

Re: How to set a table's field

2004-06-25 Thread David T. Perkins
HI, First, did you see the email on the specific syntax of net-snmp commands? 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 f

Re: How to set a table's field

2004-06-25 Thread slif
Rodolfo Giometti wrote: >On Thu, Jun 24, 2004 at 08:50:32PM +0200, Niels Baggesen wrote: > >>Which, given the net-snmp tools, would amount to >> >>snmpset SELTASYS-MIB::office.\"Rodolfo Giometti\" = "Colognora" In the sample given, substitute the equals sign with the letter "s". All the Bes

Re: How to set a table's field

2004-06-25 Thread Rodolfo Giometti
On Fri, Jun 25, 2004 at 05:55:36PM +0200, Rodolfo Giometti wrote: >[EMAIL PROTECTED]:~$ snmpset -v 2c -c public localhost: > SELTASYS-MIB::office.\"Rodolfo Giometti\" = "Colognora" >SELTASYS-MIB::office."Rodolfo: Bad object type: G > > with no requestes from the client to the server.

Re: How to set a table's field

2004-06-25 Thread Rodolfo Giometti
On Thu, Jun 24, 2004 at 08:50:32PM +0200, Niels Baggesen wrote: > Which, given the net-snmp tools, would amount to > > snmpset SELTASYS-MIB::office.\"Rodolfo Giometti\" = "Colognora" Here what I get: [EMAIL PROTECTED]:~$ snmpset -v 2c -c public localhost: SELTASYS-MIB::office.\"Rodo

Re: How to set a table's field

2004-06-25 Thread Rodolfo Giometti
On Thu, Jun 24, 2004 at 11:16:45AM -0700, David T. Perkins wrote: > The definition of the index object should have max-access value > of "not-accessible". But in this case how I can change field «name»? > A set to object office."Rodolfo Giometti" with value "Colognora" > should change it, assumin

Re: How to set a table's field

2004-06-24 Thread Niels Baggesen
On Thu, Jun 24, 2004 at 11:16:45AM -0700, David T. Perkins wrote: > A set to object office."Rodolfo Giometti" with value "Colognora" > should change it, assuming you have authorization to modify > values. Which, given the net-snmp tools, would amount to snmpset SELTASYS-MIB::office.\"Rodolfo

Re: How to set a table's field

2004-06-24 Thread David T. Perkins
HI, The definition of the index object should have max-access value of "not-accessible". A set to object office."Rodolfo Giometti" with value "Colognora" should change it, assuming you have authorization to modify values. At 06:32 PM 6/24/2004 +0200, Rodolfo Giometti wrote: >Hi, > >I defined a t

How to set a table's field

2004-06-24 Thread Rodolfo Giometti
Hi, I defined a table like this: infoTable OBJECT-TYPE SYNTAX SEQUENCE OF infoEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Staff members" ::= { staff 1 } infoRow OBJECT-TYPE SYNTAX infoEntry MAX-ACCESS not-a