2009/2/9 Venkatrangan G <[email protected]>: > We have used net-SNMP (release: 5.4.2.1) for implementation at > our end. When using snmpbulkget the following happens > > > > snmpbulkget -v2c -c public -C r11 10.128.20.2 > 1.3.6.1.4.1.9344.100.101.1.5.1.7 > > SNMPv2-SMI::enterprises.9344.100.101.1.5.1.7.1 = STRING: "REPEATER_A$$" > SNMPv2-SMI::enterprises.9344.100.101.1.5.1.7.2 = STRING: "REPEATER_C**_BSEL" > SNMPv2-SMI::enterprises.9344.100.101.1.5.1.7.3 = STRING: "REPEATER_B**" > SNMPv2-SMI::enterprises.9344.100.101.1.5.1.8.1 = STRING: > "abcdefghijklmnopqrstuvwxyz <snip> > SNMPv2-SMI::enterprises.9344.100.101.1.5.1.10.2 = STRING: "0"
Yes - that looks correct. > I had requested for an OID which has just three rows No - you had requested the 11 instances (-Cr11) following the specified OID. Which is exactly what the agent has given you. > but has requested for 11 rows instead of failing, the command returns the > values from the next OID. Yes. This is the defined behaviour of the BULKGET request, as per the SNMP specs. The basic SNMP protocol requests do not know anything about the structure of the MIB files - they just ask for individual OIDs. There is nothing to say that they should stop at the end of a column, or the end of a table. > Is there anything I am missing in the table implementation at my end? No - your code seems to be working correctly. Dave ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
