Re: Help on Index out of range error ‏

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2010/3/30 X Z <[email protected]>:
> I implemented a table using iterator, and I can do snmpwalk on the table.
> But snmpget gave the Index out of range error. Table index starts from 1.

What is the exact command you used?
What does the MIB file look like.



> Here is related the code piece, can anyone point out where I did wrong?

"Index out of range" is an error from the snmpget command.
The agent-side code is not relevant here.

Dave

------------------------------------------------------------------------------
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.