On Tue, Jul 31, 2012 at 5:53 PM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:
> On 31 July 2012 13:14, Madhu Sudhana Rao <madhu...@gmail.com> wrote: > > It is not part of the standard agent, I added this proprietary table. > > > > Copied .c and .h files of myifTable from (agent/mibgroup), which is > working > > properly (both snmpget & snmpwalk) in version 5.2.1 to version 5.6.2 but > in > > latest version only snmpget is working but snmpwalk is giving "no such > > object". I didn't change anything related to .c and .h files. > > Hmmm.... > > Things to check: > - is your table getting registered correctly? > (try walking the nsModuleTable and look for your OIDs) > - are GetNext requests being passed to your handler routine? > (try turning on any debugging within the handler) > > What does the code of your MIB table look like? > > I think table is registering correctly, as I am getting snmpget output looks correct only problem is with snmpwalk and getnext, I am not sure though. I tried snmpwalk on nsModuleTable but I endup getting "no such object for this OID" even though I added agent_mibs.h for --with-mib-modules option. I gave few more details in the attachment please check and give your suggestions/comments. -Thanks, Madhu. Dave > -- Thanks & Regards... Madhu
my_table_details.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders