Meanwhile, I recompiled the agent without any additional module, and tried to retrieve an existing object value (system.sysDescr.0). The response I got now was Timeout. Before installing this package, I had net-snmp 5.0.6 on my machine, and had no such problems. I'm running RH9 2.4.20-8 under windows virtual machine. Is there any problem with that? Liat.
-----Original Message----- From: Mack Hooper [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 2:56 PM To: Liat Appel Cc: [EMAIL PROTECTED] Subject: Re: writing a net-snmp module When you compiled the agent did you add --with-mib-modules='examples/ucdDemoPublic examples/example' to your configure command? This is necessary to compile the code for the example modules. Regards, Mack Liat Appel wrote: > Hi, > I'm trying to write a net-snmp MIB module using the example found in > net-snmp.org. > When I try to get the object value by issuing the cmd > > snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 > I get the following error: > > NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0: Unknown object > identifier > > What am I missing? > > Thanks, > Liat. > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
