Re: SNMPWALK works for the table, but SNMPGET doesn't work

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Mon, 5 Apr 2010 16:37:22 -0400, X Z <[email protected]> said:

XZ> Yes, I did use snmpget for individual entry in the table. E.g. 
XZ> I did snmpwalk to get the following:

XZ> MY-MIB::myTableEntry1.1=1
XZ> MY-MIB::myTableEntry2.1=xxx
XZ> ...
XZ> MY-MIB::myTableEntry1.2=2
XZ> MY-MIB::myTableEntry2.2=yyy


XZ> Then I use snmpget for MY-MIB::myTableEntry1.1, it gave me 
XZ> "no such instance currently exists at this oid" error.

If that's the case then there is something wrong with the code for your
table.  And to help you diagnosis it further you'd need to either submit
the code or at a minimum tell us what type of handler code style you're
using.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
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-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.