Re: Setting multiple table rows in one set operation

2008-01-18 Thread vsaavedra
and now everything is working fine! Thank you very much for your support. - Original Message - From: "Dave Shield" <[EMAIL PROTECTED]> To: "vsaavedra" <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 17, 2008 3:34 PM Subject: Re: Setting multiple

RE: Setting multiple table rows in one set operation

2008-01-17 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield > Sent: Thursday, January 17, 2008 1:22 AM > I'd probably offer slightly different advice. >It doesn't really matter whether the MIB says that this is or isn't > supported. > What is important is whether the *co

Re: Setting multiple table rows in one set operation

2008-01-17 Thread Dave Shield
On 17/01/2008, vsaavedra <[EMAIL PROTECTED]> wrote: > Am I still making some kind of error in the MIB SMI definition? Well > name OBJECT-TYPE > SYNTAX OCTET STRING > MAX-ACCESS read-write > STATUS current > DESCRIPTION >

Re: Setting multiple table rows in one set operation

2008-01-17 Thread vsaavedra
Thank you very much for your answers. After reading your answers, I tried a simple example, and create a simple MIB, with only one table, and try to do multiple set operations in one snmpset operation. The MIB definition is very simple, and I followed your advise and put the MAX-ACCESS clause

Re: Setting multiple table rows in one set operation

2008-01-17 Thread Dave Shield
On 17/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > I would strongly recommend against creating multiple rows in a single PDU > despite the fact that, by spec, it should work, unless the MIB specifies that > this is a supported operation. I'd probably offer slightly different advice. I would s

RE: Setting multiple table rows in one set operation

2008-01-16 Thread Mike Ayers
i.e., setting multiple table > rows in one > set operation? It is important to remember that all the SNMP RFCs refer to "conceptual rows". This is because there is no inherent organization of OIDs, only that which we externally impose. To state it clearly: rows do not e

Re: Setting multiple table rows in one set operation

2008-01-16 Thread Dave Shield
On 15/01/2008, vsaavedra <[EMAIL PROTECTED]> wrote: > Is it possible to do a SET BULK, i.e., setting multiple table rows in one > set operation? Yes. (Though this isn't "SET BULK" - it's simply "SET"). There's nothing in the SET processing tha

Setting multiple table rows in one set operation

2008-01-15 Thread vsaavedra
Is it possible to do a SET BULK, i.e., setting multiple table rows in one set operation? When I tried I do the following command : snmpset -v 2c -c public localhost IDX.1 i 1 Name.1 s "Name 1" IDX.2 i 2 Name.2 s "Name 2" The Output was: MY-MIB::IDX.1 = INTEG