Hey, >> Put this line back to the way it was before export PATH=/sbin:/usr/sbin:/bin:/usr/bin
Agh ! Did it, ok nice so now the restart is working /etc/init.d/snmpd restart Then : snmptranslate -M+. -mNET-SNMP-TUTORIAL-MIB -Tp -IR nstAgentModuleObject => +-- -RW- Integer32 nstAgentModuleObject(1) snmpget -v 2c -c Dialog localhost .1.3.6.1.4.1.2021.2.1.2.2 => UCD-SNMP-MIB::prNames.2 = STRING: ntalkd snmpget -v2c -c Dialog localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 => NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = No Such Object available on this agent at this OID That's not solved the problem :s Cordialement, Jérôme BELLEGARDE --------------------------------------------------------------------------- -----Message d'origine----- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : mardi 15 mai 2012 16:53 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing a MIB On 15 May 2012 15:25, Jérôme BELLEGARDE <j.bellega...@alpha-direct-services.com> wrote: > Now the file is like this : > export PATH=/usr/local/sbin Argh! That's why you're having problems. You only needed to change the references to /usr/sbin/snmpd to read /usr/local/sbin/snmpd (and similarly for snmptrapd). You shouldn't have changed the PATH setting. Now the script is *only* looking in /usr/local/sbin and hence can't find any of the usual Linux commands. Put this line back to the way it was before export PATH=/sbin:/usr/sbin:/bin:/usr/bin and try again Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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