=?windows-1256?Q?RE:_Help_o?= =?windows-1256?Q?n_Index_ou?= =?windows-1256?Q?t_of_range?= =?windows-1256?Q?_error_=FE?=

X Z <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>


> Date: Tue, 30 Mar 2010 08:07:47 +0100
> Subject: Re: Help on Index out of range error أ¾
> From: [email protected]
> To: [email protected]
> CC: [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.
> 
snmpget -v2c -c public localhost MY-MIB::myStatus.1
MY-MIB::status.1: Unknown Object Identifier (Index out of range: 1 (Index))
Index OBJECT-TYPE    SYNTAX          Unsigned32 (1..4294967295)    MAX-ACCESS   not-accessible    STATUS          current

myStatus OBJECT-TYPE    SYNTAX          INTEGER     MAX-ACCESS      read-only    STATUS          current
> 
> 
> > 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
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoftآ’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850552/direct/01/

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