On Fri, 4 Mar 2005 21:34:56 -0500 Michael wrote: MPS> .iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).mitel(1027).m MPS> itelPro MPS> prietary(4).mitelPropApplications(1).mitelAppCommon(2).mitelAppCmnObjects MPS> (1).mit elAppTable(1) MPS> MPS> The table has no defined index, so it uses a simple integer.
err, the Table and TableEntry are part of the same table, and only the Entry has an index. MPS> It's members are mitelAppTableEntry(1), indexed by mitelAppTblProductOid MPS> [...] MPS> One of the members of mitelAppTableEntry is MPS> mitelAppTblProductManufacturer(2). If I wanted to query this at a MPS> particular product oid index, I believe the correct syntax is as MPS> follows: MPS> MPS> .1.3.6.1.4.1.1027.4.1.2.1.1.1.2 MPS> MPS> plus the index, which is the product oid in this case. Is that correct? Yes.. MPS> When I try this... MPS> MPS> snmpget -v 2c -c public localhost MPS> .1.3.6.1.4.1.1027.4.1.2.1.1.1.2.1.3.6.1.4.1.1027.1.7.1 MPS> MPS> The snmpd logs show some odd results. MPS> MPS> results: MITEL-APPCMN-MIB::mitelAppTblProductManufacturer.1.3 = No Such MPS> Instance currently exists at this OID MPS> MPS> Why is it that the entire index is not shown? The index here is MPS> .1.3.6.1.4.1.1027.1.7.1, but the logs only show .1.3. Because an OID index, unless it is defines as an IMPLIED index, must contain a length. So the first sub-oid, '1', is interpreted as the length. Try adding in the length: .1.3.6.1.4.1.1027.4.1.2.1.1.1.2.10.1.3.6.1.4.1.1027.1.7.1 -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
