Re: fail to access first row in the table
Evgeny Mugerman <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Dave, you were right.
I had the limitation for index value in it's "SYNTAX" line in my mib file.
SYNTAX Integer32 (1..2147483647) <------
When I changed it to start from zero - I got access to first line (index 0)
Thank you very much.
On Sat, Apr 30, 2011 at 2:31 PM, Dave Shield <[email protected]>wrote:
> 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