Re: SNMPGET....
rakesh zingade <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 16, 2010 at 5:53 PM, <[email protected]> wrote: > hi, > > i have extended the agent by compling nstagentmodule into the agent. > (i am using windows xp + netsnmp5.5+ visual studio 2008) > > i reconfigured the agent using snmpconf command > > now snmptranslate is working > > but when i tried to run snmpget and snmpset,they are not working properly. > > c:\usr\bin>snmptranslate -On -IR nstAgentModuelObject > .1.3.6.1.4.1.8072.2.4.1.1.1 > > > c:\usr\bin>snmpget -c public -v 2c localhost > NET-SNMP-TUTORIAL-MIB::nstAgentModuelObject.0 > NET-SNMP-TUTORIAL-MIB::nstAgentModuelObject.0 no such object is availble on > this agent at this oid > > c:\usr\bin>snmpset -c priavte -v 2c localhost > NET-SNMP-TUTORIAL-MIB::nstAgentModuelObject.0 i 999 > Error in packet: > Reason not writable (that object doesnot support modification) > Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuelObject.0 > > > Kindly find the attachments(snmpd.conf and snmp.conf) > > Thank you > > > with reagards > ganesh y > > > > > > Confidentiality Notice > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of > the addressee(s) and may contain confidential or privileged > information. If you are not the intended recipient, please notify > the sender at Bharat Electronics or [email protected] immediately > and destroy all copies of this message and any attachments. > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-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 > > What you exactly did? have you extended NET-SNMP-TUTORIAL-MIB added nstAgentModuelObject as 4th child of netSnmpExamples? Have you registered this object OID to net-snmp agent's framework? The error that you showed explains OID is not registered to snmp agent's codebase. The agent is not able to find OID handling method calls. --Rakesh P. Zingade +919420626099 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-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