Re: string as index of a table

2014-10-17 Thread Fulko Hew
On Fri, Oct 17, 2014 at 10:38 AM, sarath azad wrote: > Hi Niels, > > But using a query like: snmpwalk $host table>.1..\"ABCDE\" > is not working also. Below are the test results : > > snmpget $host table>.1..10."66.67.68.69.70.71.72.73.74.75" > .1.."BCDEFGHIJK" = INTEGER: 0 > snmpget $host

Re: string as index of a table

2014-10-17 Thread sarath azad
Hi Niels, But using a query like: snmpwalk $host .1..\"ABCDE\" is not working also. Below are the test results : snmpget $host .1..10."66.67.68.69.70.71.72.73.74.75" .1.."BCDEFGHIJK" = INTEGER: 0 snmpget $host .1..10.\"ABCDEFGHIJ\" .1..10."ABCDEFGHIJ": Unknown Object Identifier (Index o

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 all

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. .1. no.>.5."65.66.67.68.69" where the item nam

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