Re:

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12 November 2010 13:17, Mahesh Chaudhari <[email protected]> wrote:
> i've added my (simple read only scalar variable) MIB to net-snmp agent.
> snmpget is getting a response from agent when queried on the newly implemented object ,
> but also it shows following error
>
> Error in packet
> Reason: (noSuchName) There is no such variable name in this MIB.
> Failed object: MY-MIB::MyVar
>
> can someone suggest what might b d problem ?


There are probably two problems here:

  a)  I suspect you've forgotten the .0 instance subidentifier on the request

  b)  You have definitely forgotten to report the exact command that you
       issued -  meaning we have to try and read your mind.

Try issuing a query for  MY-MIB::MyVar.0
If that fails, please read the FAQ entry
   Why doesn't my new MIB module report anything?
        http://www.net-snmp.org/wiki/index.php/FAQ:Coding_12

and follow the suggestions there.

Dave
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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.