2010/4/5 X Z <b...@live.com>:
> Sorry for the typo. I modified the MIB text so that the index and table name
> are easy to read, but I forgot to change this Index name, it should be
> MyIndex.

No - it should be "myIndex".
MIB object names must start with a lower-case letter.



> I got rid of the index out of range error by defining index to be a smaller
> range. It seems 4294967295 is too big for unsigned32.

Hmmm...
That should be OK.

I can certainly query entries in the DisMan Event-MIB mteObjectsTable,
which has an index of syntax "Unsigned32 (1..4294967295)"



>                                                                              
> But now I got a
> different error saying that "no such instance currently exists at this oid".

Note that this is an error from the agent-side,
The range error will be coming from the "snmpget" tool,
which probably never even sent a request to the agent.
   (You can check this by adding the '-d' flag, to display a
raw dump of the request and response packets).


> I can do snmpwalk on the same table. So I wonder if it's related
> to the iterator MIB table implementation?

Please post the full text of your MIB module code (as an attachment),
so we can investigate properly.


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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to