[EMAIL PROTECTED] wrote: > Hi, > > In MIB I have a table defined with three index of type > integer.MacAddress.integer. > > I had generated code using mib2c.create-dataset.conf ( version > : net-snmp-5.2.1 in Linux ). When I am sending snmpget as > myColumn.1.6.170.170.170.170.170.170.1 in agent/helper/table.c snmpd log > prints index as 1 , AA AA AA AA AA AA and 1, but if I send as > myColumn.1.170.170.170.170.170.170.1 in agent/helper/table.c snmpd > prints 1, " " and 1. > > In the second case ( 1.170.170.170.170.170.170.1 , with out giving the > index length ) table handler is not called and for the snmpget request I > getting reply as "No Such Instance currently exists at this OID" > > As per my understanding for fixed string index ( MacAddress is > OCTECT-STRING of type 6 ), no need to give the length ( 6) as prefix. If
this is correct (assume you mean SIZE(6))... it may be a bug in mib2c not to handle fixed length instance identifier components... -G ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
