string as index of a table

2014-10-16 Thread sarath azad
Hello, Could you please if it is advisable to use a string eg. name of item as a table index? The table is yet to be defined, need defined and added to a MIB file. The table will contain info of different items and our requirement is if we can get the info of a particular item by doing snmpget

Re: string as index of a table

2014-10-16 Thread Niels Baggesen
On Thu, Oct 16, 2014 at 11:04:54PM +0800, sarath azad wrote: I have tested it, it is feasible, but while giving the OID in snmpget, we needed to give the item name string index by dot separated ascii values of each character in the name. eg. OID of the table .1.column no..5.65.66.67.68.69

Re: string as index of a table

2014-10-16 Thread Joel Hansell
Hi, I've seen this technique used by a major telecom vendor, so it's certainly technically doable. They included DateAndTime and a name string as part of the index on trap varbinds. I would advise you to find a different way, though, just for the reasons you mention. It's not human-readable at