Hi Dave,

I attached my code.

I am getting the list when I use the oid up to column id.
snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.11456.3.3.1.2
snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.11456.3.3.1.3

I tried to get the sub-tree list of abcModule and abcTable.
snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.11456
SNMPv2-SMI::enterprises.11456 = No Such Object available on this agent at
this OID

snmptable -v 2c -c public -Os localhost ABC-MIB::abcTable
Was that a table? abcTable

please tell me where I am wrong.

Thanks.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, April 06, 2010 4:43 PM
To: PrakashRaju Meka
Cc: [email protected]
Subject: Re: Registering a Table

On 5 April 2010 12:03, Prakash <[email protected]> wrote:
> How to register a table in subagent.
> snmpwalk is not working for my table
>
> here is my code..

   If you wish assistance, can you please post (as an attachment),
the *full* text of your MIB module code file - not just fragments of it.

That way we can try compiling it into a working agent framework
and see what might be going wrong.

I don't have the time to try and re-create the bits that you
haven't bothered to include.

Dave

Attachment: abcTable.c
Description: Binary data

Attachment: abcTable.h
Description: Binary data

Attachment: Makefile
Description: Binary data

Attachment: snmp-subagent.c
Description: Binary data

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to