On 13/06/07, Goodshirly <[EMAIL PROTECTED]> wrote: > Secondly,I entered the commands in the terminal as follows: > # export MIBS=ALL > # ./configure --with-mib-modules="nstAgentModuleObject" > # make > # make install
> but when i asked for a snmpget command,it gave me the result: > # snmpget -v 2c -c xzpublic localhost NET-SNMP-TUTORIAL- > MIB::nstAgentModuleObject.0 > NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0=No Such Object available > on this agent at this OID > > > Why? Did you actually *run* the snmpd agent that you compiled? "make install" just installs the software - it doesn't automatically start the agent. > Oh,one more question,what's the difference between the /usr/local/ > share/snmp/snmpd.conf file and the /ect/snmp/snmpd.conf file? /etc/snmp/snmpd.conf will typically apply to the vendor-supplied agent. /usr/local/share/snmp/snmpd.conf will apply to the version you compiled. You need to make sure that you start the correct one, and that the other version isn't already running. It's safest to uninstall the vendor-supplied version altogether. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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
