Everything seems to work now. My extension agent also works. It didn't work yesterday because my init function name didn't comply with the init_FILENAME rule. Thank you so much.
Cheers /Pan > On 21/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote: >> > OK. >> > Just to confirm - does >> > "snmpgetnext -v 1 -c public localhost ip" >> > >> > still return a noSuchName error? >> >> This one seems to work. > > Good - that seems to be a change from earlier. > > What happens if you try to query your extension now? > > >> snmpget -v 1 -c public localhost ipForwarding.0 also works >> (but not the object ipForwarding. > > That's expected. > >> I also walked further to get some other objects such >> as ipDefaultTTL.0, ipInReceives.0... It seems they have >> a sub-identifier '.0' for each of the objects) > > Correct. > *All* MIB OIDs returned from an SNMP agent will > always have some form of "instance sub-identifier". > This will be the index values for table objects, > and .0 for scalars. > > > Now that the agent is returning information from > the IP-MIB, it's worth trying your extension MIB again. > > Dave > > PS: Please note that I may not be around much over > the next couple of weeks. This is the last day before > the University shuts for Christmas/New Year. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
