2009/3/6 anand chandragandhi <[email protected]>: > I want to get the oid alone from response packet in string format > eg:1.3.6.1.2.1.1.1.0
Use the '-On' flag to the SNMP commands. > Please let me know if any API is available in netsnmp to get the oid in > above format. If you are working with the C libraries, then you probably need to set the internal library flag appropriately. See snmplib/mib.c for where the '-On' option is handled, and use the same code statement in your application. Dave ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
