RE: possible bug in getnext implementation

2007-12-12 Thread Rotem Tzuk
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

Re: possible bug in getnext implementation

2007-12-11 Thread Dave Shield
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 your

RE: possible bug in getnext implementation

2007-12-11 Thread Rotem Tzuk
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 getnext

Re: possible bug in getnext implementation

2007-12-11 Thread Dave Shield
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

RE: possible bug in getnext implementation

2007-12-11 Thread Rotem Tzuk
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 row index string

RE: possible bug in getnext implementation

2007-12-11 Thread Rotem Tzuk
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 is Station1 (length 8

Re: possible bug in getnext implementation

2007-12-11 Thread Dave Shield
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

Getnext Implementation

2006-09-27 Thread somenath.pal
Hi all, It will be helpful for me if some one provide the following information. 1) What are the options for mib2c to create cache handler for one table. Thanks in advance. Regards, Somenath - Take

Re: Getnext Implementation

2006-09-27 Thread Dave Shield
On 27/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1)What are the options for mib2c to create cache handler for one table. -S cache=1 Dave - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to implement snmpgetnext even the agent does not contain the data. For example in a table where row can be created how it is possible to know the next index? The agent is reporting on the information that it knows about -

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
in advance. Regards, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 1:48 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 2:22 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Suppose we have one table having index's data type as integer. Suppose it has three rows with index 1, 2, 3. Then the agent needs to know this. Not just what the syntax of the indexing is, but what the currently valid indexes actually are.

Re: Getnext Implementation

2006-09-26 Thread Dave Shield
On 26/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The table does not have any row initially .The user need to create the row . How? Via an SNMP SET command? Or via some other control mechanism? The table may be created by another agent (for example http agent) Ok - so that's external

RE: Getnext Implementation

2006-09-26 Thread somenath.pal
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, September 26, 2006 3:04 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Getnext Implementation On 26/09/06

Getnext Implementation

2006-09-25 Thread somenath.pal
Hi All, Is it possible to implement snmpgetnext even the agent does not contain the data. For example in a table where row can be created how it is possible to know the next index? Regards, Somenath