Greetings, I'm having trouble writing a mib-module to extend the snmp agent.
I'm following the excellent instructions here: http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mib_module/index.html Everything seems to build fine, but when I go to test it: //start server # ./agent/snmpd -DnstAgentModuleObject -L -c /etc/snmp/snmpd.conf init_nstAgentModuleObject nstAgentModuleObject: Initializing the nstAgentModuleObject module nstAgentModuleObject: Initalizing nstAgentModuleObject scalar integer. Default value = 1 nstAgentModuleObject: Done initalizing nstAgentModuleObject module NET-SNMP version 5.0.9 // sanity check $ snmpget -c public -v 1 localhost SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysDescr.0 = STRING: Linux devel 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 // test new mib ext snmpget -c public -v 1 localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 // just to make sure I don't have something wrong with the local mib: ]$ snmpget -c public -v 1 localhost .1.3.6.1.4.1.8072.2.4.1.1.1.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-MIB::netSnmp.2.4.1.1.1.0 Any ideas why the object is not available? I also don't see it in a walk, but I assume its the same problem. Thanks for any assistance, Tim ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users