Hello, Using mib2c, and with lots of help from #net-snmp, I've implemented a module that I intend to implement part of one of our MIBs, specifically, mitelAppTable.
.iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).mitel(1027).mitelPro prietary(4).mitelPropApplications(1).mitelAppCommon(2).mitelAppCmnObjects(1).mit elAppTable(1) The table has no defined index, so it uses a simple integer. It's members are mitelAppTableEntry(1), indexed by mitelAppTblProductOid at .iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).mitel(1027).mitelPro prietary(4).mitelPropApplications(1).mitelAppCommon(2).mitelAppCmnObjects(1).mit elAppTable(1).mitelAppTableEntry(1).mitelAppTblProductOid(1) One of the members of mitelAppTableEntry is mitelAppTblProductManufacturer(2). If I wanted to query this at a particular product oid index, I believe the correct syntax is as follows: .1.3.6.1.4.1.1027.4.1.2.1.1.1.2 plus the index, which is the product oid in this case. Is that correct? When I try this... snmpget -v 2c -c public localhost .1.3.6.1.4.1.1027.4.1.2.1.1.1.2.1.3.6.1.4.1.1027.1.7.1 The snmpd logs show some odd results. results: MITEL-APPCMN-MIB::mitelAppTblProductManufacturer.1.3 = No Such Instance currently exists at this OID Why is it that the entire index is not shown? The index here is .1.3.6.1.4.1.1027.1.7.1, but the logs only show .1.3. Help? Mike -- Michael P. Soulier <[EMAIL PROTECTED]>, 613-592-2122 x2522 6000/6010/60* Development, Mitel Corporation "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix ------------------------------------------------------- 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
