On Thu, Sep 10, 2009 at 01:20:11AM +0530, Hemant wrote: > Hello Sir, > I am new to net-snmp so please bear with me. This problem might be silly > for you. > I tried to extend snmp agent by running down the tutorial provided on > http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/ > This tutorial deals with the ifTable MIB. > I did all the steps listed in the tutorial as it is. > In the end while starting the agent i get the following error- > > [root@ localhost ifTable]# ./ifTable -f -L > NET-SNMP version 5.4.2.1 AgentX subagent connected > registering pdu failed: 263! > > So could you please help me in running the code successfully.And also > suggest me if i have to reinstall my master agent.
I'd guess that it means that the agent already implements ifTable and won't let you register another ifTable above the one already there. You would need to restart the master agent and tell it to not load the internal ifTable or change priority of your registration or register in some non default context or move the root of the registration (but then it wouldn't be the ifMib anymore) or just try with some other mib that the agent doesn't implement. /MF ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
