Re: fail to access first row in the table

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2011/4/29 Boris Zweimüller <[email protected]>:
> Integer Indices start always at 1 in snmp.

That's not strictly true.

The *convention* is for arbitrary integer indexes to start at 1,
but there's nothing inherent within SNMP that enforces this.
It is perfectly possible to have an integer index of 0,
if a particular MIB table is defined that way.



>>  MTYPE-MIB::mtypeTable.1.2.0: Unknown Object Identifier (Index out of range: 0 (Idx))

That error implies to me that the MIB definition for this particular
table probably includes a range of valid indexes (which does not
include 0).   But since this seems to be a private MIB, it's difficult
to verify this assumption.

Dave

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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.