thanks for your response.
The OID is my own, and it is nothing to do with OS. It is a very simple integer 
value from  my MIB tree. 

--- On Wed, 12/9/09, Dave Shield <d.t.shi...@liverpool.ac.uk> wrote:

> From: Dave Shield <d.t.shi...@liverpool.ac.uk>
> Subject: Re: snmpset fails on MIPS
> To: "nathan" <nitha_2...@yahoo.com>
> Cc: "netsnmp coders" <net-snmp-coders@lists.sourceforge.net>
> Received: Wednesday, December 9, 2009, 8:43 AM
> 2009/12/9 nathan <nitha_2...@yahoo.com>:
> > I am calling snmpset on an OID like this...snmpset
> -v2c -cpublic <IP> <OID> i 23.
> > In x86 platform, the agent gets this message and the
> value 23, executes fine.
> > Then I cross compiled for MIPS, the same code, and
> issued  the same cmd..
> > now the agent is running on MIPS. Now the value
> received by the agent is 0
> > instead of 23....
> 
> Which OID are you trying to set?
> 
> 
> > I do not understnad why the same code is boken in
> MIPS
> 
> The role of the SNMP agent is to retrieve information from
> the
> underlying system, and report it back to the manager
> application
> in a standard manner.   This means that it
> is working very closely
> with the underlying operating system.
>    Different systems will support different
> mechanisms for
> providing access to the same basic data, so the MIB module
> code can often be very system-specific.
>    This means that is it not unusual to have
> bugs in a section
> of code, that only affect a particular operating
> system.   It's
> also common to have MIB objects that are implemented in
> one environment, but not in another.
> 
> Without knowing which OID you are referring to, it's
> impossible
> to say what might be going wrong here.
> 
> Dave
> 


      __________________________________________________________________
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to 
http://ca.promos.yahoo.com/jacko/

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to