string as index of a table

sarath azad <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
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 query passing the item name string as index. 
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"  where the item name is "ABCDE". 

But from usage perspective it is not looking good that we need to manually calculate the ascii values of the characters in the item name and provide them in the snmpget query.
Is there any other way of doing this so that we can directly give the item name and not the ascii values?
Some thing like: <OID of the table> .1.<column
no.>.5."ABCD" or <OID of the table> .1.<column no.>.5."A.B.C.D"

thanks and regards
S Sarath

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.