Re: Using a string as a table index

2008-06-09 Thread Thomas Anders
Alejandro Islas wrote: > Thanks!!! Now its working, I'll include my code to the generated files > and test it, I'll let you know what happens. Could you please send me a > repository address from which I can download version 5.4.x from > synaptic?? I just can't find it... Pick up the 5.4.x SVN sna

Re: Using a string as a table index

2008-06-06 Thread Alejandro Islas
Thanks!!! Now its working, I'll include my code to the generated files and test it, I'll let you know what happens. Could you please send me a repository address from which I can download version 5.4.x from synaptic?? I just can't find it... Alejandro On Fri, Jun 6, 2008 at 10:59 AM, Dave Shield

Re: Using a string as a table index

2008-06-06 Thread Alejandro Islas
HIthanks for the suggestions, you were right I didn't declare the IdThread column as not accessible, it doesn't get listed twice now. I also made the changes to the MIB...here is how it looks now: monThreadsTable OBJECT-TYPE SYNTAX SEQUENCE OF MonThreadsEntry

Re: Using a string as a table index

2008-06-06 Thread Dave Shield
I've just realised that your object names are invalid. You need to tweak the names to conform to the SMI specification. Alejandro Islas wrote: > MonThreadsTable OBJECT-TYPE This must start with a lower-case letter - "monThreadsTable" > SYNTAX SEQUENCE OF monThreads

Using a string as a table index

2008-06-05 Thread Alejandro Islas
Hi, I would like to use a string as a table index for my private mib (so its easier to identify each row of the table from opennms). I'm declaring the mib as follows... MonThreadsTable OBJECT-TYPE SYNTAX SEQUENCE OF monThreadsEntry MAX-ACCES

RE: Using a string as a table index

2005-09-26 Thread Dave Shield
On Thu, 2005-09-22 at 11:16 -0400, Brennan, Thomas J wrote: > I've been wondering: so string indexing _can_ be done; but if we were to > implement it , is it much used by managers or supported by NMSs? Pass. Our client-side tools support string indexes, and it's been used in the core SNMPv3 co

RE: Using a string as a table index

2005-09-23 Thread Brennan, Thomas J
> >Is this even possible to implement? >Yes - several of the tables in the Net-SNMP agent are index >(wholly or partially) by string values. I've been wondering: so string indexing _can_ be done; but if we were to implement it (eg, the DISMAN MIBs), is it much used by managers or supported by

Re: Using a string as a table index

2005-09-22 Thread Dave Shield
On Wed, 2005-09-21 at 10:41 -0700, Toth, Gregory S wrote: > We wish to use a string as the second index to a > two dimensional table in our agent. Fair enough. > Is this even possible to implement? Yes - several of the tables in the Net-SNMP agent are index (wholly or partially) by string valu

Using a string as a table index

2005-09-21 Thread Toth, Gregory S
We wish to use a string as the second index to a two dimensional table in our agent. We have created a mib with the following table defined: fooTable OBJECT-TYPE SYNTAX SEQUENCE OF FooEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION ""